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

Concatenated vectors of strings are truncated when the circuit is being graphed by a measurement, but vectors of integers work fine.

$
0
0

This is a very strange bug: If I create two parameters to a subcircuit, one a vector of strings and the other a vector of integers and then call concat() in the subcircuit, then it works properly on integers but only gets the first element of the vector for strings.

Notice in the first image it works: the S2 circuit shows B:{0, 1, 2, 3} and X:{"a", "b", "c"}.  In the second image, all I have done is disable the measurement that graphs S1: Notice that the integer is still correct, but the string vector only passed the first vector element, "b" showing as X:{"a", "b"}.  Additionally, "W" is no longer showing as a vector at all, it is simply W: "b".  I have also attached the .emz below.

In both cases there are no warnings or errors, and the measurement is simply a graph of S21, none of the parameterized variables passed to the subcircuit are subject to the graph:

Working, measurement disabled:

Not Working, measurement enabled:

Here's the emz:

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


Viewing all articles
Browse latest Browse all 956

Trending Articles