Forum Discussion
Altera_Forum
Honored Contributor
18 years agoLPM rom
hi, im new in quartus and vhdl. im trying to use the rom from the megafunction for my project. can i store real number in the rom? or it has to be hex? if it has to be hex, is it hav to be the ieee h...
Altera_Forum
Honored Contributor
14 years agoThe numbers in the MIF file is an unsigned binary number. That number has a signed equivolent, which is what you mean. You have to work out what the signed number is and in the mif file you put the unsigned equivolent. In the hardware it can mean whatever you want (because its just a load of bits).
Its easier just to create a constant and write behavioural VHDL to instantiate the ROM, then you can write it however you want.