and that was previously failing in Xyce, but now works correctly if you have the most recent version of Xyce compiled from git source.
e
Eric Keiter
04/27/2022, 5:48 PM
@User Your example
.param A=3 B=5 C=B+A
has always worked in Xyce, as Xyce will parse that as being the equivalent as 3 separate
.param
statements. The use case we recently fixed had to do specifically with subcircuit parameter specified on an “X” line being allowed to refer to each other.
Eric Keiter
04/27/2022, 5:48 PM
Xyce was treating “X” lines as the equivalent (for parsing purposes) of device instance lines. On device instances lines, parameters generally aren’t allowed to refer to each other. So for example,
m1 2 1 0 0 p1 L=0.35u W=2*L
wouldn’t work, and that is still the case. But “X” lines are a special case, so they are now treated differently.
s
Stefan Schippers
04/27/2022, 9:03 PM
@User@User Thanks for the explanation! will rebuild Xyce (hope my trilinos is still good 🙂 )
👍 1
t
Tim Edwards
04/27/2022, 9:05 PM
@User: I was pleasantly surprised. I had built Xyce originally from the official distribution source. All I did was to pull the git repository and follow the same instructions I wrote for myself from compiling the original, and it all just worked.
Linen is a search-engine friendly community platform. We offer integrations with existing Slack/Discord communities and make those conversations Google-searchable.