Compilation order of verilog files in NCVerilog/VCS simulator to choose the dealy mode

Discussion in 'Cadence' started by kesava.talupuru, Feb 21, 2006.

  1. Hi..

    Recently, I started learning to do timing simulation using NCVerilog
    and VCS simulator. I have the following problem of specifying the
    correct delay mode compiler directive..

    In the testbench, I specified `delay_mode_distributed and
    in the DUT (design under test) I specified `delay_mode_path (The sdf
    file is called using $sdf_annotate in DUT)...

    With this set up , my understanding is that, the testbench should
    execute under distributed delay;
    and the DUT should execute under path delay;

    If that is true, then I have the following strange observation:

    During compilation of verilog file, If I first compile testbench; and
    then compile DUT....Then there is no problem..The testbench is executed
    with distributed delay; and DUT with path delay...

    But, if we compile, DUT first; and then Testbench...In this case, the
    DUT is also executed under distributed mode instead of path mode...This
    is kind of wierd...

    If anyone of you know the solution for this..please do let me know..It
    will be of great help...

    Please, let me know if I need to provide any other information..

    Thanks,
    Kesav..
     
    kesava.talupuru, Feb 21, 2006
    #1
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.