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.

Veriloga library definition error

Status
Not open for further replies.

femystika08

Newbie level 5
Newbie level 5
Joined
Dec 10, 2012
Messages
8
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Visit site
Activity points
1,330
Hi guys,

I created a module in veriloga where I used some resistors and capacitors etc..
Code:
cap #(.c(1)) Cx(x, gnd);
res #(.r(1T)) Raux(x, gnd);
res #(.r(Rofff)) Roff(aux, minus);
vdc #(.vdc()) Emem(plus,aux);
idc #(.idc()) Gx(gnd, x);

when I save the file I get this log from the CIW saying the components used are bound to the analogLib
Code:
Structure summary for module "test1"
 
    child          bound to (library view)
    --------------------------------------
    Cx             (analogLib - view symbol)
    Raux           (analogLib - view symbol)
    Roff           (analogLib - view symbol)
    Emem           (analogLib - view symbol)
    Gx             (analogLib - view symbol)
******************************************

but when I try to simulate I get this error messages
Code:
Error found by spectre in `sim_test1', during circuit read-in.
    ERROR (SFE-23): "/home/olumodeji/veriloga.va" 33: Cx is an instance of an undefined model cap.
    ERROR (SFE-23): "/home/olumodeji/veriloga.va" 34: Raux is an instance of an undefined model res.
    ERROR (SFE-23): "/home/olumodeji/veriloga.va" 35: Roff is an instance of an undefined model res.
    ERROR (SFE-23): "/home/olumodeji/veriloga.va" 36: Emem is an instance of an undefined model vdc.
    ERROR (SFE-23): "/home/olumodeji/veriloga.va" 37: Gx is an instance of an undefined model idc.

I changed
cap #(.c(1)) Cx(x, gnd); to capacitor #(.c(1)) Cx(x, gnd);
res #(.r(1T)) Raux(x, gnd); to resistor #(.r(1T)) Raux(x, gnd);

and on the CIW window this is the log I get
Code:
Structure summary for module "test1"
 
    child          bound to (library view)
    --------------------------------------
    Cx             (undefined)
    Raux           (undefined)
    Roff           (undefined)
    Emem           (analogLib - view symbol)
    Gx             (analogLib - view symbol)
******************************************

Any thoughts?
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top