TWiki
>
P1076/Ballots Web
>
Vhdl2019CollectedRequirements
>
ConditionalCompilation
>
VHDLCompilationPragmas
(2011-09-21,
JohnShields
)
(raw view)
E
dit
A
ttach
This approach is to standardize on a set of pragmas(simple tool directive) that today are a proprietary pragma definition or structured comment in the VHDL language. The syntax may be something like: --synthesis compile on ... --synthesis compile off or a richer variation like: --vhdl_comp_off [-93 | -2002 | -2008] ... --vhdl_comp_on If one attempts to be complete, then it is necessary to capture a good set of generic analysis kinds, tool identifications. No doubt there is simplicity here. The difficulty is that the user has no compose-ability and extensibility in the strategy. The control flow is trivial and dysfunctional (or at least not intuitive) when nested. Maybe you can fix some of this. It is likely that some benefits will be had from this level of standardization, but it is inevitable that unforeseen needs will be met by new proprietary pragmas and may or may be adopted as a defacto standard definition. I see this as an inferior solution, but I can imagine it can be crafted to meet most of the requirements. I can't suggest that today's defacto set, if collected, will look very clean or be easily deprecated in favor of a revised set. %RED% I personally reject this approach in favor of a preprocessor. -- Main.JohnShields - 2011-09-21 %ENDCOLOR% -- Main.JohnShields - 2011-09-21
E
dit
|
A
ttach
|
P
rint version
|
H
istory
: r1
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r1 - 2011-09-21 - 22:07:57 -
JohnShields
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-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback