Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Help on useful technique! How to bypass circuit in simulation?

Status
Not open for further replies.

sharezhao

Junior Member level 1
Joined
Jun 12, 2007
Messages
17
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,409
Dear All!
I guess all of you have encountered this kind of situation. When you use Virtuoso schematic edit the circuit and use spectre or Hspice to do the simulation. Sometimes you make a small modification to the circuit then you don't want some transistors to work or in order to test you idea you want to make some part of the circuit don't work but you don't want to move the circuit of the whole circuit in case you want to use it next time. Just like write a C language, you just want to make some line of you program don't take effect. How can achieve this goal in the circuit simulation.

Best Regards

Thank you for your attention!!!
 
Last edited:

Each time you make a new major modification to your circuit you should consider having a new version of the schematic.

The only way to disable a circuit is to turn off the voltage supply to it. That means you could have separate circuits with their own voltage supplies and then turn them on/off as needed. Anyway, there is not anything equivalent to what you compared to with C language. You need to make a new file for the modified circuit or just disable it when you run your simulation. :)

analogLow
 

Thank you for your reply. Yes, I know this method. but I think it's a little troublesome in this way. So I was wondering if any of you have some smart way.
analogLow, Much obligation!!! :)
 

I have only been using cadence for about 4 years ... so maybe there is some way but I never heard or seen of it. I think the best practice is anyway to have seperate files for different versions of your circuit.

analogLow
 

Ok I thought about this more ... if you like coding style than I highly recommend you first generate the circuit netlist in Eldo (or Hspice) language. You can reference (i.e. "include" statement) that code from a new file (I use .cmd files and reference the .cir circuit netlist file). That way you can write your code for simulation in Eldo (or Hspice) code and turn things on/off much easier. I use Eldo to simulate everything because it is fast once you get used to it. Hope that helps.
analogLow
 
The nearest workaround you can have is using configs. However, that doesnt help in any way if you just want to disable some transistors.
If you are using Eldo, it has a .IGNORE command.
 
  • Like
Reactions: sharezhao

    V

    Points: 2
    Helpful Answer Positive Rating

    sharezhao

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top