measure current of a wire in virtuos

Status
Not open for further replies.

harian

Junior Member level 1
Joined
Jan 13, 2015
Messages
16
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
137
i am trying to measure current in a simple circuit consisting a voltage source and a resistor. I have written a simple verilog-a code that shorts the voltage output port to resistor input port. while simulation with spectre a error: that the branches form a loop of rigid branches (shorts) when
added to the circuit..
Code:
module(in,out)
I(out) <+ I(in);

it is not allowed. Is there any way to do this measurement with verilo-a module.
I know ,i can read the the value with simple spectre simulation. I am willing to do this with veriloga module.
thanks
here is the schematic:
 
Last edited:

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…