Jul 1, 2008 #1 B bajji_boy Newbie Joined Oct 13, 2006 Messages 3 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Activity points 1,306 Hi everyone I was wondering if there was a way to model a floating node in verilog-a. I was actually working on a simple model for a switch (including its on-resistance). What is wish to do is to 'float' the output node when the switch is off... Cheers Nihit
Hi everyone I was wondering if there was a way to model a floating node in verilog-a. I was actually working on a simple model for a switch (including its on-resistance). What is wish to do is to 'float' the output node when the switch is off... Cheers Nihit
Jul 2, 2008 #2 solidstate Member level 3 Joined Apr 15, 2007 Messages 54 Helped 10 Reputation 20 Reaction score 8 Trophy points 1,288 Location Delft, the Netherlands Activity points 1,575 You can do two things, either a large Roff or open switch. I prefer the first for simulation converging. So when you have V(in,out) <+ I(in,out) * Ron; in the on state, you would have either V(in,out) <+ I(in,out) * Roff; or I(in,out) <+ 0; Hope this helps.
You can do two things, either a large Roff or open switch. I prefer the first for simulation converging. So when you have V(in,out) <+ I(in,out) * Ron; in the on state, you would have either V(in,out) <+ I(in,out) * Roff; or I(in,out) <+ 0; Hope this helps.
Jul 2, 2008 #3 B bajji_boy Newbie Joined Oct 13, 2006 Messages 3 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Activity points 1,306 Thanks for the response solidstate I tried the latter, I(in, out) <+ 0, but as you guessed, it gave me convergence issues since V(out) was connected in a feedback loop. I will be probably try the first model and get back to you... Cheers
Thanks for the response solidstate I tried the latter, I(in, out) <+ 0, but as you guessed, it gave me convergence issues since V(out) was connected in a feedback loop. I will be probably try the first model and get back to you... Cheers