Help with common problems with CAD software
- Long load time
- Can't write file, can only read
- Warning about cold soldering wire
- Need to print black on white, how to invert color
scheme
- MOSFET symbols.
- How to use “integ” function.
Problem: long load time (from Gianting Yeh, Zhi Lily Li, and David
Bild)
If Cadence isn't loading up instantly, it may have something to do
with your log files. This is usually due to you not closing the
program properly and it just sort of tweaks out. To fix you can
- Delete the log file. Although if you click on the log file, it'll say
“WARNING DO NOT EDIT” just ignore that cause if it isn't working
already, then you can't break it anymore.
- You can use a -log type login if you are truly paranoid. This
would be for instance at the terminal
icfb -log /afs/umich.edu/user/[path to user dir]/desktop/tempLog/bad.log
This command creates a log named bad.log. Pretty much a junk log. Do
this if you are truly paranoid about messing up the log file before
hand.
After you've closed the cadence software, it's ok to delete any of the
*.log files it leaves lying around. These are for your benefit; if
something isn't working properly you can analyze the log messages for
help in diagnosing the root cause. But if your only trouble is opening
ICFB in the first place, just delete the log files.
Problem: Can't write file, can only read (from Gianting Yeh
and David Bild)
This problem is when you open up your saved schematic and it'll give you a
warning message, saying something to the point, you can only read the file but
not write to it. I only know of a few people that have this problem so
hopefully this helps. This problem arises once again if you don't shut the
program off properly. To fix this issue, you need to follow these steps.
- Locate wherever your schematic file is.
- Delete ANY file with the following type at the end *.cdslck. For
instance, I had deleted a file named sch.cdb.cdslck. This file caused
problems where it would lock the file.
The *.cdslck files are created to indicate that a certain file is in use
(e.g., sch.cdb.cdslck indicates taht file sch.cdb is open for editing). Only
the program which created the .cdslck file can edit the corresponding file.
This ensures that two instances of the program can both try to make changes to
the same file, totally hosing the file in the process. This would be quite
useful, for instance, in large projects where multiple engineers are accessing
the same set of schematics.
Of course, if you're positive that no one else is actually using the
file (for instance, in the single-person labs) then of course you can
just delete the occasional orphan lock.
Problem: Warning about cold soldering wire (from
Gianting Yeh and David Bild)
This was mentioned earlier in one of the threads of some people having
problems. To fix this, move the ground wire and connect it to
wherever it's claiming there is a soldering problem. In other words,
make sure all the wires connect directly to the ground node, and not
all the wires coming to one node, and then THAT node connecting to the
ground.
Note that this solution will work only for solder dots on a wire connected to
ground. For the upcoming larger labs, you'll have nets with solder dots
that aren't connected ground, and thus can't be fixed by moving the
ground pin in place of the solder dot.
The solder dots indicate the two crossing wires are electrically
connected (i.e., one net) and are not just crossing. If you couldn't
easily distinguish between these two cases, debugging large designs
would be a nightmare. When drawing new wires, the schematic editor will
sometimes connect them electrically even if that's not what you wanted.
So, if generates warning for all solder dots to try to force the
designer to verify that the dots are intended.
Need to print black on white, how to invert color
scheme? (from Myung-Chul Kim)
Inverting color scheme in timing diagram is straightforward. Click on
Frames > Color Schemes > White in the menu. You can save as file by click on
File > Save as Image. (Make sure you turn off desktop effects of Redhat Linux,
if you're using them).
Inverting color scheme in schematic needs some procedures.
- Quit Cadence Tool
- Type the following command in the terminal
echo "Opus.editorBackground: white" | xrdb -merge
- Re-run Cadence Tool and open your schematic.
- Your schematic should have a white background now.
To save as an image, press ALT+PrintScrn.
If you want to get back to a black background,
- Quit Cadence Tool.
- Type the following command in the terminal
echo "Opus.editorBackground: black" | xrdb -merge
MOSFET symbols.
- For both PMOSFETs and NMOSFETs, the arrow is on the source side of the
gate, and points in the direction of current.
- In the PMOSFET symbol, the arrow points toward the gate.
- In the NMOSFET symbol, the arrow points away from the gate.
How to use “integ” function (from Myung-Chul Kim).
This are steps for integrating some signal (current in our lab project) over
a finite time interval.
- Draw your schematic and open Analog Design Environment.
- Set your Transient analysis.
- Outputs→To Be Plotted→Select on Schematic and choose your probing
points (after that make sure the opt for To Be Saved is checked).
- Run simulation and a plot for probing points should show up.
- Click on a signal you want to integrate and click Tools→Calculator.
- Find and click “Integ” among available functions.
- You can specify integration intervals by typing in specific times in
“Initial Value” and “Final Value”.
E.g., if you want to integrate a signal from 2n to 3n, type in 2n for
“Initial Value” and 3n for “Final Value”.
- You should find the interval first — from the input transition to 90%
output transition.
- Click Apply and Eval will show the results.
Page maintained by Robert Dick.