Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
18 years ago

LPM 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 hex format?

12 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    thanks for the reply !

    but if i have to use hex? is it the same? by the way, wats the different between hex and mif file?

    u mean unsigned decimal input...does that refer to integer only? what about real number with fraction??

    and the address to the rom..is it compulsory to be 16bit (4 hex)?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    When you create the MIF (Memory initialization file) for the ROM, you will need to enter unsigned decimal numbers.