generic ROM memory help

Discussion in 'VHDL' started by Zorjak, Oct 19, 2006.

  1. Zorjak

    Zorjak Guest

    Hi. I am trying to write generic VHDL code of ROM (read only memory).
    Values that shoud be writen in the memory need to be determined before
    compilation (from some file). I am working with Altera QuartusII
    software and I have seen there that Some mif or hex files were used for

    rom and ram initialization. How do I write VHDL code which will read
    that kind of file and its values write in ROM. Can anyone help me

    Thanks
    Zorjak, Oct 19, 2006
    #1
    1. Advertising

  2. Zorjak schrieb:

    > Hi. I am trying to write generic VHDL code of ROM (read only memory).
    > Values that shoud be writen in the memory need to be determined before
    > compilation (from some file). I am working with Altera QuartusII
    > software and I have seen there that Some mif or hex files were used for
    >
    > rom and ram initialization. How do I write VHDL code which will read
    > that kind of file and its values write in ROM. Can anyone help me



    Look into to manual!

    ROM and RAM are provided as configurable components, that can be
    instanced within your design. Generic parameters allow to choose the bit
    width, address width, if inputs or outputs have to be registered and
    finally an initialisiation file for the contents.

    Ralf
    Ralf Hildebrandt, Oct 19, 2006
    #2
    1. Advertising

  3. Zorjak

    zoran

    Joined:
    Oct 19, 2006
    Messages:
    2
    Thanks Ralf.

    I'll see that
    Peace
    zoran, Oct 19, 2006
    #3
  4. Zorjak

    zoran

    Joined:
    Oct 19, 2006
    Messages:
    2
    thanks Ralf
    I'll try something like that
    zoran, Oct 19, 2006
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Murat Tasan
    Replies:
    1
    Views:
    8,009
    Chaitanya
    Feb 3, 2009
  2. Replies:
    2
    Views:
    407
  3. abc1010

    help!(rom code)

    abc1010, Dec 22, 2007, in forum: VHDL
    Replies:
    0
    Views:
    606
    abc1010
    Dec 22, 2007
  4. hangeonos
    Replies:
    0
    Views:
    749
    hangeonos
    May 24, 2009
  5. frznchckn
    Replies:
    0
    Views:
    650
    frznchckn
    Jul 20, 2010
Loading...

Share This Page