serterius
Newbie level 3
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?
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?