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.

Verilog-XL simulation error

Status
Not open for further replies.

lahaha

Junior Member level 1
Joined
Feb 2, 2006
Messages
15
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,405
When I tried to simulate a invertor with Verilog-XL, I got an two errors
(1)
Module or primitive (nmos3) not defined "ihnl/cds0/netlist", 19:nmos3 MN0(.D(Out),.G(In),.S(cds_globals.gnd-));
(2)
is similar to (1), but it is pmos3

I am using gpdk for this simulation. Is it the setting problem?
Please help!
 

have you include the primitive file?
 

How to include it?
Please help!
 

Verilog-XL is a gate(cell) level simulator, not for transistor-level simulation.

If you want to simulate your invertor in SPICE, then you can
-1) change nmos3 to "nmos", and pmos3 to "pmos"
(nmos and pmos is Verilog pre-defined model.)

-2) Define your nmos3 and pmos3 modeling, ex: primitive

primitive your_mux (Y, A, B, S);
output Y;
input A, B, S;
table

// A B S : Y
//
1 ? 0 : 1 ;
0 ? 0 : 0 ;
? 1 1 : 1 ;
? 0 1 : 0 ;
0 0 x : 0 ;
1 1 x : 1 ;
endtable
endprimitive // your_mux
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top