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

Conversation

tvrusso
Copy link

@tvrusso tvrusso commented Nov 28, 2022

Per issue #72, the implicit rules in adms.implicit.xml only flag a variable in the data tree with "output=yes" in the data tree if they have the attribute 'ask="yes"'.

The LRM (Verilog-AMS LRM version 2.4, section 3.2.1) says that module-scoped variables with either "desc" or "units" attributes should be designated as output variables.

This commit modifies adms.implicit.xml to set the "output" field of the data tree to "yes" if the variable is not an input variable (parameter) and is module scoped, and if it has either a "desc" or a "units" (or both) attribute.

The Xyce team has been using a patched adms.implicit.xml with this modification for a couple of years, and I had simply forgotten that I'd opened issue #72 asking that it be done in ADMS itself.

#72

Per issue Qucs#72, the implicit rules in adms.implicit.xml only
flag a variable in the data tree with "output=yes" in the data tree if
they have the attribute 'ask="yes"'.

The LRM (Verilog-AMS LRM version 2.4, section 3.2.1) says that
module-scoped variables with either "desc" or "units" attributes
should be designated as output variables.

This commit modifies adms.implicit.xml to set the "output" field of the
data tree to "yes" if the variable is not an input
variable (parameter) and is module scoped, and if it has either a "desc"
or a "units" (or both) attribute.

The Xyce team has been using a patched adms.implicit.xml with this
modification for a couple of years, and I had simply forgotten that
I'd opened issue Qucs#72 asking that it be done in ADMS itself.

Qucs#72
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant