Skip to content
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

Flag LRM-compliant output variables in adms data tree #112

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions admsXml/adms.implicit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -594,6 +594,15 @@
<admst:value-to select="[name='type' and value='instance']/../parametertype" string="instance"/>
<admst:value-to select="[name='ask' and value='yes']/../output" string="yes"/>
<admst:value-to select="[name='ask' and value='no']/../output" string="no"/>
<!-- set output flag if desc or units attribute and we are a module-
scoped variable, not an input parameter, and have
desc or units attribute, per Verilog-A LRM 2.4, section 3.2.1 -->
<admst:if test="[../input!='yes' and ../module/name=../block/name and name='desc' and value!='']">
<admst:value-to select="../output" string="yes"/>
</admst:if>
<admst:if test="[../input!='yes' and ../module/name=../block/name and name='units' and value!='']">
<admst:value-to select="../output" string="yes"/>
</admst:if>
</admst:for-each>
<admst:apply-templates select="default" match="e:dependency"/>
<admst:value-to
Expand Down