Rules | Recent posts | topic RSS | Search | Register  | Log in

Problem with NC-SIM

 
Post new topic  Reply to topic    EDAboard.com Forum Index -> Software Problems, Hints and Reviews
Author Message
elektor



Joined: 19 Mar 2002
Posts: 67
Helped: 1


Post28 Aug 2003 9:30   Problem with NC-SIM

Hi,

I using NCSIM v3.4 Linux
How can I insert parameter in my verilog core ( example : CLKPERIOD = 40 instead of 20 ) in elaborate process just like in vhdl core I can insert generic with the aid as option : ncelab (...) -generic CLKPERIOD=>40 ....

Regards

Elektor
Back to top
cactus_studio



Joined: 27 Jan 2003
Posts: 25


Post28 Aug 2003 9:46   Try this

Maybe you can use 'parameter' or 'defparam' to defind new parameter in your code body instead of using ncelab options.
An advantage of this method is you can change your parameter freely indepent of the programm you choosing, say ,NC-sim or modelsim or other.


cactus
Back to top
elektor



Joined: 19 Mar 2002
Posts: 67
Helped: 1


Post29 Aug 2003 7:20   Re: Try this

cactus_studio wrote:
Maybe you can use 'parameter' or 'defparam' to defind new parameter in your code body instead of using ncelab options.
An advantage of this method is you can change your parameter freely indepent of the programm you choosing, say ,NC-sim or modelsim or other.

cactus


Yes, but I have parameter in my code body. The problem is when I must change value this parameter without change my code... My tests use parameter PERIOD = 40 , but a few use PERIOD = 20 . In VHDL I use ncelab -generic PERIOD=20 and it is ok.. How I can do this in NCVerilog

Regards
Elektor
Back to top
Post new topic  Reply to topic    EDAboard.com Forum Index -> Software Problems, Hints and Reviews
Page 1 of 1 All times are GMT + 1 Hour


Abuse
Administrator
Moderators
topic RSS 
sitemap