Quantcast
Channel: Cadence Functional Verification Forum
Viewing all articles
Browse latest Browse all 1069

Running "small environment" on specview

$
0
0

Hi all,

I'm new in the functional verification "world" and I'm trying to create a small environment where i can test my code easily.

For that i wrote a simple code, where I generate a clock for my simulation.

Important to mention - I'm not connected to a DUT at this point because i want to create an easy "playground".

The problem is I'm receiving the next message:

"

*** Warning: ERR_TE_NOSIM: No simulator is attached.
Therefore, '@sim' and 'delay' temporal expressions will never occur.

"

The following is the code:

<'

extend sys {


event clk;
tcm_test() @clk is {
     print sys.time;
     wait [10]*cycle;
     print sys.time;
};


gen_clk() @sys.any is {
      while TRUE{
            message(LOW,"Wait delay");
            wait delay(4*(1 ns)); 
            emit clk;
            };
};

run() is also {
      print ("hello");
      start tcm_test();
};

run() is also {
      start gen_clk();
};


};

'>

Thank you for your help,

Nir


Viewing all articles
Browse latest Browse all 1069

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>