The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl Design >> Analog Design >> linear time-based events in verilog-ams https://designers-guide.org/forum/YaBB.pl?num=1132746188 Message started by steve_mac on Nov 23rd, 2005, 3:42am |
Title: linear time-based events in verilog-ams Post by steve_mac on Nov 23rd, 2005, 3:42am hi i'm new with verilog-a and i'd like to ask how do i model a linear time-based event ? example: a linear voltage drop : V = -3.4545 * time + Vdd How do i put the "time" here in verilog-a syntax? Thanks, appreciate the help. |
Title: Re: linear time-based events in verilog-ams Post by Jess Chen on Nov 23rd, 2005, 9:57am Try V = -3.4545*$abstime + Vdd. If you want incremental time, you can use t = idt(1,0,assrt). When assrt is nonzero, t remains at zero. When assrt is zero, t = incremental time. The only caution is that depending on the application, you may have to use conservative numerical options. -Jess |
Title: Re: linear time-based events in verilog-ams Post by steve_mac on Nov 23rd, 2005, 6:44pm Hi Jess, Thanks :) |
The Designer's Guide Community Forum » Powered by YaBB 2.2.2! YaBB © 2000-2008. All Rights Reserved. |