init RAM with .rif

Discussion in 'VHDL' started by bhb, Jan 27, 2004.

  1. bhb

    bhb Guest

    Hi,

    I would like to use a file. rif in a functional Simulation (VHDL) with
    ModelSim-Altera Software.
    (RAM initialisation).

    Does anyone have information, or better an example to use this file ?.

    Thanks.

    H.
     
    bhb, Jan 27, 2004
    #1
    1. Advertisements

  2. bhb wrote:

    > I would like to use a file. rif in a functional Simulation (VHDL) with
    > ModelSim-Altera Software.
    > (RAM initialisation).
    >
    > Does anyone have information, or better an example to use this file ?.


    That's an altera.com question.

    Why might I want to init a RAM during download?
    There are two possible reasons.

    1. I really need a rom, and should consider using a vhdl
    constant array of vectors to infer the ROM from
    block RAM without worrying about vendor specific files.

    2. I have a local or external controller that
    will do read and write cylces to this block ram.
    In this case, consider inferring the RAM from
    a template and init it (if need be) using the controller.

    -- Mike Treseler
     
    Mike Treseler, Jan 30, 2004
    #2
    1. Advertisements

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. Robert Posey
    Replies:
    0
    Views:
    888
    Robert Posey
    Nov 26, 2003
  2. Tony Cheng
    Replies:
    1
    Views:
    8,592
    Juan T. Llibre
    Feb 24, 2006
  3. Replies:
    2
    Views:
    360
    Peter Hansen
    Mar 31, 2005
  4. ashu
    Replies:
    1
    Views:
    696
  5. ashu
    Replies:
    2
    Views:
    859
    mysticlol
    Nov 6, 2006
  6. Replies:
    1
    Views:
    860
    Jules
    Aug 18, 2005
  7. Xin Xiao

    Block RAM Distributed RAM

    Xin Xiao, Jan 7, 2008, in forum: VHDL
    Replies:
    8
    Views:
    1,880
    Duane Clark
    Jan 7, 2008
  8. hilal

    Init RAM component

    hilal, Mar 13, 2008, in forum: VHDL
    Replies:
    3
    Views:
    1,146
    jeppe
    Mar 14, 2008
Loading...