Quantcast
Channel: Cadence RF Design Forum
Viewing all articles
Browse latest Browse all 956

Subcircuit string parameters will not pass to a SUBCKT NET=, but works with local variable.

$
0
0

Hello,

I'm trying to pass the name of an s2p Data File into a subcircuit parameter so I can have a subcircuit with a big template but change the s2p being used in that subcircuit by variable name.

It works if I set the name of the s2p datafile in the subcircuit, but it does not work if I pass the s2p data file name as a string argument to the subcircuit.  The first image shows it working with A="100A0R5" and the second image shows the error with A<<"100A0R5".  Is this some kind of bug when passing strings to subcircuits and using them with NET= in a sub-subcircuit?  I have attached a small test project to demonstrate the problem.  Just change the A<< parameter to an A= variable in the S2 schematic and press F8 to render the graph:

Working:

Not Working:

Here is the error:

Here is the .emz:

community.cadence.com/.../Subcircuit-Parameter-Test.zip


Viewing all articles
Browse latest Browse all 956

Trending Articles