TWiki
>
P1076/Ballots Web
>
Vhdl2019CollectedRequirements
>
WaitLevel
(2020-02-17,
JimLewis
)
(raw view)
E
dit
A
ttach
---+ Level Sensitive Wait %TOC% ---++ Proposal Information * Current Owner: Main.JimLewis, ... * Contributors: Main.JimLewis, ... * Date Proposed: 2014-June-22 * Date Last Updated: 2014-June-22 * Priority: * Complexity: * Focus: Testbench * Related Issues: None * Competing Issues: None ---++ Requirement Summary Level Sensitive Wait See ISAC [[http://www.eda.org/isac/IRs-VHDL-2002/IR2108.txt][IR2108]] The [[WaitRepeat]] proposes modifying the language syntax of the wait statement. ---++ A Code Solution This can easily be accomplished with the code <verbatim> if A /= Level then wait until A = Level ; end if; </verbatim> However, what is being sought is a more concise solution. ---++ Encapsulation with a Procedure If the following worked, it would be an acceptable solution. However while a signal input to an entity allows expressions with VHDL-2008, a signal input to a parameter of a subprogram does not. <verbatim>procedure WaitLevel ( signal condition : in boolean ) is begin if not condition then wait until condition ; end if ; end procedure WaitLevel ; </verbatim> General support issues: When an expression is passed as input signal parameter, it would have the default value of the type (here false) until a delta cycle passes. Here that works just fine. ---++ Language Based Solution TBD. ---++ Comments -- Main.JimLewis - 2014-06-22 Personally I am not excited about a language based solutoin as it would potentially make the wait statement even more complex. ---+++ Arguments Against ---++ Supporters
E
dit
|
A
ttach
|
P
rint version
|
H
istory
: r4
<
r3
<
r2
<
r1
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r4 - 2020-02-17 - 15:35:02 -
JimLewis
P1076/Ballots
Log In
or
Register
P1076/Ballots Web
Create New Topic
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
Webs
Main
P1076
Ballots
LCS2016_080
P10761
P1647
P16661
P1685
P1734
P1735
P1778
P1800
P1801
Sandbox
TWiki
VIP
VerilogAMS
Copyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback