Q'slew behavior with a discontinuous Q

From: ZHICHAO DENG <zhichaodeng@gmail.com>
Date: Mon Sep 10 2012 - 10:18:53 PDT
Hi all,

I have come across with an issue related to the correct behavior of Q'slew
in VHDL-AMS standard.

For the following pseudo example,
quantity Q, Q2 real :=0.0;
if (xxx)
    Q == 1.0;
else
    Q == 2.0;

Q2 == Q'slew(100, -100);

Suppose, quantity Q has an immediate jump at t0 from 1.0 to 2.0;

xxx: some digital condition.
Q, Q2 are quantities.

The attached doc contains my interpretation of the LRM behavior with
illustrated figure. I also explain what may be the should-be behavior in
this case and another option to deal with this if my interpretation of LRM
is accurate.

Please share your thoughts on this issue.

Regards,
Zhichao

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.





To unsubscribe to the vhdl-ams mailing list:
mailto:Majordomo@eda.org?subject=Unsubscribe&body=unsubscribe%20vhdl-ams
Received on Mon Sep 10 10:19:17 2012

This archive was generated by hypermail 2.1.8 : Mon Sep 10 2012 - 10:19:52 PDT