Issue link: https://resources.pcb.cadence.com/i/1180526
PSpice A/D User Guide Creating and editing models October 2019 258 Product Version 17.4-2019 © 2022 All Rights Reserved. ❑ SUB_TOP_B (subcircuit) ❑ DIODE_M (model) ❑ MOSFET_M (model) 2. LIBRARY_B, which has the following definition: ❑ TOP_B (subcircuit) ❑ SUB_TOP_B (subcircuit) ❑ DIODE_M (model) Now on simulation, the models are picked in the following manner: ■ TOP_B gets picked from LIBRARY_B ❑ SUB_TOP_B gets picked from LIBRARY_B ❍ MOSFET_M gets picked from LIBRARY_A ■ DIODE_M gets picked from LIBRARY_A The same behavior is applicable for parameter statements defined in the library file as shown in the following example. Example You have configured two model library files as follows: LibraryA.lib .PARAM FCTR=1 .SUBCKT MULT_1 IN1 IN2 OUT1 OUT2 E_E1 OUT1 OUT2 VALUE { V(IN1, IN2)*{FCTR} } .ENDS LibraryB.lib .PARAM FCTR=2 .SUBCKT MULT_2 IN1 IN2 OUT1 OUT2 E_E1 OUT1 OUT2 VALUE { V(IN1, IN2)*{FCTR} } .ENDS When the check box, Prioritize models for same .lib for all circuits is not selected, then: