Is there a way I can create a variable say "ev_view" in ADEXL/L assign to say "schematic" or extracted views and toggle between different extracted views and or schematic view to perform simulations?
Just wanted to add that I dont want to use the environment -->switch view list or Hierarchy editor -config view.
I want to use a design variable to define the extracted view ( I have multiple extracted views for cell with different extract combinations)
I would like to use ADEXL -corner extraction flow ; include the design variable and create multiple corners. For each corner, I can vary the design variable so it would point to different extracted views.
I am aware this can be done. Am not sure how to assign the design variable to an view name
The way to do this is to not use a config (because you can't have ADE variables in the config views), but instead simulate from the schematic. In the ADE XL test editor, use Setup->Environment (or Right Mouse->Environment over the test name) set the switch view list to something like:
spectre VAR("ex_view") cmos_sch cmos.sch schematic veriloga
Then you'll see a test variable (and a global variable) called "ex_view" appearing. You can set this to (say) "schematic" (with the quotes), or "schematic","veriloga","av_extracted" to simulate all three views. You could do the same thing in your corner definitions.
Of course, because it's done via the global view list, you have to be careful that you're not affecting the view of more cells than you want, but careful naming of the views should fix that. All that the above would be doing is moving up the priority of the view you want to simulate over the rest of the view list.
Hope that helps! (I did check that this does indeed work).
Thanks a bunch Andrew. This is exactly what I was looking for. Works like a charm