look up table: file read

Discussion in 'Cadence' started by ebers-moll, Oct 29, 2004.

  1. ebers-moll

    ebers-moll Guest

    Hi,
    I am working on a veriloga code. In this code, I want to read some
    values from an external *.txt (or similar) file to create a look up
    table. However, I could not find a command to do this operation.

    Now, the question is how I can realize this operation.

    Thanks,

    ebersmoll
     
    ebers-moll, Oct 29, 2004
    #1
  2. ebers-moll

    Erik Wanta Guest

    There is a function called $table_model. See the following for an example:
    tools/dfII/samples/artist/bmslib/tmodel1/verilogams/verilog.vams
     
    Erik Wanta, Oct 30, 2004
    #2
Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.