Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[Need help]Verilog simulation models problem

Status
Not open for further replies.

cheelgo

Member level 5
Joined
Nov 23, 2004
Messages
82
Helped
4
Reputation
8
Reaction score
1
Trophy points
1,288
Activity points
488
Hi,
I am not that familar verilog simulation models,

------
padlib.v
------
module padlib (...);
input ...;
output ..;

wire ...;

...

...

`ifdef cve
buf #0.001 (...);
`else
or #0.001 (...);
`endif

endmodule

Question:
if I only wanna force this model use cve part, HOW can I configure,
can I use set cve true

somebody can help.
thanks in advance?
Cheelgo
 

Any simulator has the optional of "+define+macro...". You can find the detail information of the vcs/ncverilog/ncsim/modelsim/... -help.
 

Hi,

I did not quite understand your question. But if you are trying to configure
the verilog module, use compiler primitives like "#define cve".

RP,
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top