Quantcast
Channel: Cadence PCB Design Forum
Viewing all articles
Browse latest Browse all 5525

Pass Parameter Value to Hierarchical Schematic Part

$
0
0

I'm having trouble passing a parameter value to a hierarchical schematic part.  Here are the details:

1. I created a library part with this PSpice Template definition: X^@REFDES %VCC+ %VCC- %+ %- %OUT @MODEL PARAMS:  ?IDC|IDC=@IDC||IDC=1e-3|

2. In the library part I added a parameter called IDC, also with a default value of 1e-3

3. Then I created a hierarchical part with a schematic that has a DC current source value that I set to {IDC}

The problem is that unless I add to the hierarchical part schematic a PARAM block with a parameter called IDC and a value, my simulation of a design using the hierarchical part won't run (can't identify IDC parameter).  But when I do add the PARAM block to the hierarchical part schematic, its value overrides the one in my simulation design schematic.

Ideas anyone?


Viewing all articles
Browse latest Browse all 5525

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>