LMC implementation in ghdl