Vhdl Binary To Integer Converter
Vhdl Integer Type
This is really getting nowhere. The easiest way to do 'byte' to 'bcd expansion' is a simple case statement with all 255 options explicitlyy defined. The operation is then a basic boolean 8-bit lut function per each output bitNOTE: you will need to specify a 'no rom extract' synthesis attribute to stop quartus or xst inferring a ROM block.the following will reduce to a 31 LUT implementation in the FPGA a V5,S6,V6,Arria or Stratix etc.e.g.case (inbyte) iswhen x'00' = val val val.