william_luo
Junior Member level 2
- Joined
- Mar 25, 2013
- Messages
- 23
- Helped
- 1
- Reputation
- 2
- Reaction score
- 1
- Trophy points
- 1,283
- Activity points
- 1,465
Hi all,
I had a problem when I did a simulation with Ocean Script. I designed a circuit by virtuoso and extracted the spectre netlist, then I remove some vsource statements in this netlist and make some new stimulus files as input variables containing new vsource statements. By using vpulse in this way, I can get good result. But when vpwl was used, I always got error.
the vpulse statements are all like below and works well:
V0 (net6 0) vsource type=pulse dc=1.800000e+00 val0=0 val1=1.800000e+00 period=28n delay=14n rise=100p fall=100p width=14n
the vpwl statements are all like below:
V0 (net6 0) vsource type=pwl wave=\[ 0 0 100n 0 ]
I used these two kinds of generator to the same circuit. It is weird that vpulse works well and vpwl can't work.
----the error message when vpwl is used:
ERROR (SFE-1025): "/homes/cadence/lab2/spi/tb_1.txt" 131:
Instance `V0': Unexpected value `0' - all required positional
parameters have already been specified.
ERROR (SFE-1025): "/homes/cadence/lab2/spi/tb_1.txt" 131:
Instance `V0': Unexpected value `0' - all required positional
parameters have already been specified.
ERROR (SFE-1025): "/homes/cadence/lab2/spi/tb_1.txt" 131:
Instance `V0': Unexpected value `1e-07' - all required positional
parameters have already been specified.
ERROR (SFE-1025): "/homes/cadence/lab2/spi/tb_1.txt" 131:
Instance `V0': Unexpected value `0' - all required positional
parameters have already been specified.
---------------------------
I checked all the code but didn't know the reason. I already delete the old vsource statements in the netlist but the ocean always show the message "have already been specified".
Can someone help me ? Thanks in advance.
Regards,
Wayne,
I had a problem when I did a simulation with Ocean Script. I designed a circuit by virtuoso and extracted the spectre netlist, then I remove some vsource statements in this netlist and make some new stimulus files as input variables containing new vsource statements. By using vpulse in this way, I can get good result. But when vpwl was used, I always got error.
the vpulse statements are all like below and works well:
V0 (net6 0) vsource type=pulse dc=1.800000e+00 val0=0 val1=1.800000e+00 period=28n delay=14n rise=100p fall=100p width=14n
the vpwl statements are all like below:
V0 (net6 0) vsource type=pwl wave=\[ 0 0 100n 0 ]
I used these two kinds of generator to the same circuit. It is weird that vpulse works well and vpwl can't work.
----the error message when vpwl is used:
ERROR (SFE-1025): "/homes/cadence/lab2/spi/tb_1.txt" 131:
Instance `V0': Unexpected value `0' - all required positional
parameters have already been specified.
ERROR (SFE-1025): "/homes/cadence/lab2/spi/tb_1.txt" 131:
Instance `V0': Unexpected value `0' - all required positional
parameters have already been specified.
ERROR (SFE-1025): "/homes/cadence/lab2/spi/tb_1.txt" 131:
Instance `V0': Unexpected value `1e-07' - all required positional
parameters have already been specified.
ERROR (SFE-1025): "/homes/cadence/lab2/spi/tb_1.txt" 131:
Instance `V0': Unexpected value `0' - all required positional
parameters have already been specified.
---------------------------
I checked all the code but didn't know the reason. I already delete the old vsource statements in the netlist but the ocean always show the message "have already been specified".
Can someone help me ? Thanks in advance.
Regards,
Wayne,