The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl
Modeling >> Behavioral Models >> temperature detector with hysteresis in Verilog-A
https://designers-guide.org/forum/YaBB.pl?num=1215521075

Message started by boa on Jul 8th, 2008, 5:44am

Title: temperature detector with hysteresis in Verilog-A
Post by boa on Jul 8th, 2008, 5:44am

Hi,

I need to make a Verilog-A model for temperature protection block and it should have temperature hysteresis: i.e. output should switch from zero to one at one treshhold temperature when temperature is rising and at different one when the temperature is following. Normally for comparator with hysteresis  I would use 2 cross statements with +1 and -1 direction, but it seems that cross works only for transient and I need smth that will work with DC sweep.

Is there any way to implement it?

Title: Re: temperature detector with hysteresis in Verilog-A
Post by Geoffrey_Coram on Jul 10th, 2008, 10:33am

LRM 2.2 added the "above" event, which works like cross in transient, but also acts during dc.  You'll have to check if your simulator has implemented it yet.

The Designer's Guide Community Forum » Powered by YaBB 2.2.2!
YaBB © 2000-2008. All Rights Reserved.