Home > Community > Forums > Custom IC Design > fallTime function - Documentation error ?

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 fallTime function - Documentation error ? 

Last post Tue, Feb 19 2013 3:40 AM by The Setlaz. 4 replies.
Started by The Setlaz 19 Feb 2013 02:00 AM. Topic has 4 replies and 570 views
Page 1 of 1 (5 items)
Sort Posts:
  • Tue, Feb 19 2013 2:00 AM

    • The Setlaz
    • Top 500 Contributor
    • Joined on Wed, Dec 5 2012
    • Saggart, Dublin
    • Posts 35
    • Points 500
    fallTime function - Documentation error ? Reply

    Hi,

     

    I just noticed when I used the fallTime function as described in the OCEAN documentation 6.1.5 - January 2012, it actually returns me the value of the riseTime.

    The example in the documentation is pretty clear though :

    ------------------

    fallTime( v( "/net8" ) 9 nil 1 nil 10 90 )

    Computes the fall time for the waveform representing the voltage of "/net8" from 9 to 1.

    -----------------

     

    It seems to actually compute the rise time on my waveform. If I want the falltime, either I have to swap '9 nil 1' to '1 nil 9' or swap '10 90' to '90 10'

     

    Is that "normal" ?

     

    Thanks a lot,

    Damien

    • Post Points: 20
  • Tue, Feb 19 2013 2:12 AM

    Re: fallTime function - Documentation error ? Reply

    Damien,

    Which precise subversion are you using? There were some issues with fallTime/riseTime in certain ISRs of IC615.

    Regards,

    Andrew.

    • Post Points: 20
  • Tue, Feb 19 2013 2:19 AM

    • The Setlaz
    • Top 500 Contributor
    • Joined on Wed, Dec 5 2012
    • Saggart, Dublin
    • Posts 35
    • Points 500
    Re: fallTime function - Documentation error ? Reply

    Hi Andew,

     

    My current subversion is : IC6.1.5-64b.500.9  (64-bit addresses)

     

    Could you tell me a bit more about the issue and in which subversion it was fixed and the best workaround while waiting for an update on my side ?

     

    Thanks a lot,

    Damien

    • Post Points: 20
  • Tue, Feb 19 2013 3:35 AM

    Re: fallTime function - Documentation error ? Reply

    Damien,

    It was broken in ISR8 - something changed which meant that the order of the arguments was different from what it said (if you specify the high value then the low value, then it should be 10 90 as the first threshold is 10 percent of the way between the high and the low, and the second threshold is 90 percent between the high and the low). 

    It was fixed in ISR12 (may have been ISR11, but I see an integration notice for ISR12 too). This was as a result of CCR 972729. There's another related CCR because we weren't really happy about the fact that riseTime and fallTime would actually detect the opposite if the arguments were specified the other way around - they are essentially doing the same thing at the end of the day. I believe it's more clearly documented from ISR12 onwards (I didn't check just now as I'm on vacation today and only taking a brief look).

    In the affected versions, you could use the attached code. Use:

    load("fixedFallTime.ile" "992136_v3")

    (the file is password encrypted, and the second argument is the password). Only use this in IC615 ISR8-ISR11, after which it is unnecessary.

    Regards,

    Andrew

    • Post Points: 20
  • Tue, Feb 19 2013 3:40 AM

    • The Setlaz
    • Top 500 Contributor
    • Joined on Wed, Dec 5 2012
    • Saggart, Dublin
    • Posts 35
    • Points 500
    Re: fallTime function - Documentation error ? Reply

     Hi Andrew,

     

    Thanks a million for the explanations and the SKILL fix !

     

    Have a great day,

    Damien

    • Post Points: 5
Page 1 of 1 (5 items)
Sort Posts:
Started by The Setlaz at 19 Feb 2013 02:00 AM. Topic has 4 replies.