-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can OSVVM offer also a decrement procedure in TbUtilPkg? #54
Comments
Yes. Do you have a use for it? Completeness is good and will go on the "some day list". Items with use models get priority. Currently I am using Increment for handshaking and transaction tracking - which always add 1. |
In some cases you might want to count down instead of count up. Also incrementing by N might be required by some usecases. It could be solved with an optional parameter and default value In OSVVM models I saw, integers are incremented on both sides of a transaction FIFO, so:
So maybe we are both looking for a |
'event or 'transaction. Something like:
However, to facilitate modularization, we need to access these parameters in subprograms. For nested subprograms and subprograms declared in a sequential declarative region, rules 1 and 2 are repeated until rule 1 is applied. 'event then could be a short hand for SB'transaction'event Maybe we should move this discussion to the WG issues list. |
Currently OSVVM offers a TbUtilPkg with an
Increment
andWaitFOrToggle
procedures.Currently no
Decrement
is offered. Is it possible to add this missing feature for completeness?Current API for integer value passing based on toggle events:
The text was updated successfully, but these errors were encountered: