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.

Assign a symbol property to a spice subckt parameter in Mentor Graphics Expedition

Status
Not open for further replies.

serterius

Newbie level 3
Joined
Aug 31, 2010
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,299
Hello to everyone,
I've a problem with a subckt in Mentor Graphics Expedition. In particular I've created a symbol for a DC Voltage Source (v_dc.1) and then I wrote the following sourcesim.lib file:

.SUBCKT VDC P N
V1 P N DC(5)
.ENDS VDC

In Library Manager I created a part VDC whith v_dc symbol and sourcesim:VDC assigned.

Everything works correctly... In fact, I created a scheme and the generator is working properly.

The thing I want to do is to add the property "DCVAL" to the symbol in order to change the voltage directly on the diagram. The property I added but I do not know how to bind it to subckt.

I proved:

.SUBCKT VDC P N
V1 P N DC($DCVAL)
.ENDS VDC

but appear the message: "@dcval is an undefined parameter."

Can anyone help me, please?
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top