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?