Skip to Main Content
  • Carleton.ca
  • About
  • Admissions
    • Undergraduate
    • Graduate
  • Academics
  • Research
  • Campus
  • Future Students
    • Undergraduate
    • Graduate
  • Current Students
    • Undergraduate
    • Graduate
  • Faculty/Staff
  • Alumni
Carleton University Carleton University shield

Department of Electronics

  • Search Department of Electronics Magnifying glass
  • Browse site navigation Menu icon

Home / Cadence Virtuoso Tips

Cadence Virtuoso Tips

  • People
    • Faculty Members
    • Professor Emeritus
    • Adjunct Professors
    • Administration Staff
    • Technical Staff
  • Courses
  • Prospective Students
    • Undergraduate Programs
      • Applying
    • Scholarships and Financial Aid
    • Graduate Students
    • Co-op
  • Current Undergrad Students
  • Research Areas
    • Photonics
    • EDA/CAD
    • Cadence University Program Member
  • Seminars
  • Facilities
    • MicroFabrication Facility
  • Technical Support
    • Computer Lab Policy
    • Software for Home Use
  • Positions Available
  • Contact
Delete Lock Files


Cadence Virtuoso uses special files called lock files to designate designs that are currently open for edit. This is used to prevent a design from being edited from multiple users simultaneously.

Unfortunately, if Virtuoso or your Linux session crashes, the lock files will still exist in your library directory and when you try to open the designs for edit, you will get an error. To fix this problem you have to delete the lock files, thankfully there is a simple tool provided by Cadence to manage this (I will also show how to achieve it with the linux find command).

Delete Lock Files Using the clsAdminTool Command

  1. Start Virtuoso (if not already running), and then open the Library Manager.
  2. In the Library Manager, do “File > Open Shell Window…”. A new shell terminal should open up. N.B.: we open the shell this way so that all of the environment variables to point to the Virtuoso executables are already set.
  3. In the new shell that was opened in the last step, type
    clsAdminTool

    You should now see the clsAdminTool prompt:

    >
  4. To list the lock files, at the prompt, enter
    ale .

    (do not forget the dot!) .

  5. To remove the lock files, enter
    are .

    (again, the dot…)

  6. Then enter “quit” to quit the clsAdminTool, and “exit” to exit and close the shell window.

Delete Lock Files Using the Linux find Command (Less Preferred)

A word of warning, the find command (more specifically, the actions it can perform) is very powerful, and like the old saying goes, “With great power comes great responsibilty”. It is pretty easy to permanantly wipe out an entire directory with a badly formed find (and execute) command.

  1. Follow the first few steps in the previous section to open a terminal from the Library Manager. Otherwise, in any terminal, navigate to the directory where your library is stored (usually whichever directory you launch Virtuoso from).
  2. To find and list all of the lock files, enter
    find . -name '*.cdslck*' -print
  3. To delete the files one at a time, prompting you before each deletion enter:
    find . -name '*.cdslck*' -exec rm -i {} \;

    Otherwise, to delete all of the lock files enter:

    find . -name '*.cdslck*' -exec rm {} \;
  4. When finished, enter “exit” to exit and close the shell window.

Adjust Font Size


Edit the .cdsinit to include the following

hiSetFont(“label” ?size 18)
hiSetFont(“text” ?size 18)

Simulation Tips

Delta Markers

You can easily add delta markers (markers that show the time or voltage difference between 2 points, possibly between different waveforms), by hovering the cursor over the first point and type “a”, then hover at the next point and type “b”.

Alternatively, you can place 2 markers with the usual “m” key while hovering, then hold the Control key while clicking both markers to select both simultaneously, then type “Shift-d”.

Smith Chart Markers

In a smith chart marker, edit the text and place one of these special codes to get the indicated values inserted at that point in the text.

%C–Displays the real and imaginary cartesian values

%Z–Displays the impedance values, such as resistance and reactance

%A–Displays the admittance values, such as conductance and susceptance

%R–Displays the reflection coefficients, such as mag and angle

%P–Displays the polar values, such as mag and angle

%F–Displays the frequency value, which includes the independent axis data

Changing ADE Default Load / Save Option to “Cellview”

Default is “Directory” but saving states as cellviews is the preferred method (keeps everything organized by having your test bench schematic and simulation setup together); even Cadence recommends storing ADE states as cellviews and that the directory option is just for backward compatibility.

To make “cellview” the default option when you go to load or save a state in ADE L, in the directory in which you run Virtuoso edit (or create) the .cdsinit file and somewhere (usually put all of your customizations at the end) add these lines (the first is just a comment reminding you what the next line does):

; make ADE L save / load state option default to cellview 
envSetVal("asimenv" "saveAsCellview" 'boolean t)

Share: Twitter, Facebook
Short URL: https://carleton.ca/doe/?p=685

  • Electronics
  • 5170 Mackenzie
  • Carleton University
  • 1125 Colonel By Drive
  • Ottawa, ON, K1S 5B6
  • info@doe.carleton.ca
  • Phone: 613-520-5755
  • Hours: 8:30-16:30
  • View Map
Visit Carleton University Homepage
  • Privacy Policy
  • Accessibility
  • © Copyright 2023

Search

Site Menu

  • People
    • Faculty Members
    • Professor Emeritus
    • Adjunct Professors
    • Administration Staff
    • Technical Staff
  • Courses
  • Prospective Students
    • Undergraduate Programs
      • Applying
    • Scholarships and Financial Aid
    • Graduate Students
    • Co-op
  • Current Undergrad Students
  • Research Areas
    • Photonics
    • EDA/CAD
    • Cadence University Program Member
  • Seminars
  • Facilities
    • MicroFabrication Facility
  • Technical Support
    • Computer Lab Policy
    • Software for Home Use
  • Positions Available
  • Contact