You can create a parameter in your veriloga model e.g. parameter real getcorner = 1; . Based on the value of of 'getcorner', you can code the functionality in verilogA model using if/else. Then when you instantiate the model, you can pass it the value of 'corner' (coming from models) as: I0 (x y z) cellA getcorner=corner ahdl_include "/path/to/cellA.va" Regards, Saloni
↧