I previously blogged about some scripts I use to help Cadence & Subversion be more compatible. I received some feedback that the scripts were incomplete and came without any usage model. So, I went through an excercise to document the scripts and to make sure they were complete.

Untar the CDSVN.tar file. It will create a directory called CDSVN

Set up Subversion with a new repository for Cadence

Modify svn.env script to point to your subversion repository

Change the line:

to list your ~/examplerepo (for example)

Set up environment variables

Import your work area (CDSVN) into the repos

Backup your CDSVN area and dump out a fresh copy

cd CDSVN and created/edit a .cdsinit to include the line load("svn.cdsinit")

Start cadence & create a new library

Select no tech library (unless you explicitly have one defined already)

Menu pick for creating a new library
Select file->new->library to create a new library
Select no DM & No Tech Lib
Select no DM & No Tech Lib

Add the new library to subversion management

Start library manger & create a new cell

From CIW choose Tools->Library Manager to start Library Manager
From CIW choose Tools>Library Manager to start Library Manager
Choose file->New Cell View
Choose file>New>Cell View
From library manager, choose file->new->cell view
Fill in the dialog box to give the cell a name

(Optional) Edit the cell view

Edit the cell view as you wish
Edit the cell view as you wish
Edit it some more (if you wish)
Edit it some more (if you wish)

Back in library manager, add the cell view to subversion

Right click on the cell view in the Library Manager
Right click on the cell view in the Library Manager
Just hit OK
Just hit OK

Do a status on the command-line

Check in

Edit the cell some more

Edit the cell view some more (for example, add another resistor)
Edit the cell view some more (for example, add another resistor)
Example when you're done adding a resistor
Example when you're done adding a resistor

Try to check & save

Check and save won't work; cell view is locked
Check and save won't work; cell view is locked

Lock the cell view

From schematic window, choose Subversion->Lock View
From schematic window, choose Subversion->Lock View

Check & save again

cell view is locked for edit
This time it works: cell view is locked for edit

Do another svn status

We can see that the schematic has been modified

Check in again