accessing the current through the inout pin

Status
Not open for further replies.

Aforak

Newbie level 5
Newbie level 5
Joined
May 16, 2013
Messages
8
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
1,325
Hi all,

In my verilog-A code there is an inout pin A1 ,when I try to access the current through that pin
by say I(A1) it gives me the following error '"Following devices form a loop of dc short"

I dont understand why?
Can anyone help ?

thanks
 

I think with I(A1) the simulator can't decide upon which current is meant: input or output current?

Try to connect an output load, or an input Vsource (perhaps with DC=0V) and measure the current outside the I/O pad.
 
  • Like
Reactions: Aforak

    Aforak

    Points: 2
    Helpful Answer Positive Rating
My problem has got solved
ie when ever I wana use voltage or current of the inout pin, first transfer that value to a variable say ia , ie I(A) = ia, now use ia where ever
u want to use I(A).

Thanks
aforak
 
  • Like
Reactions: erikl

    erikl

    Points: 2
    Helpful Answer Positive Rating
Thank you for reporting back! May be this helps other users.
 

Status
Not open for further replies.