ENCS Home Administration Alumni Departments Research News & Events Jobs
Search Service Desk:
Advanced
Quick links
Contact the Service Desk


Faculty, Staff, Students
Room: EV007.182
Phone ext.: 5713

Students, Staff
Room: H0964-00
Phone ext.: 4181


servicedesk@encs.concordia.ca

Service Desk

FAQ Index
 
Labs
Labs
How to deal with a Cadence locked file?
Login

[Modified Friday, Jul 22nd 2005 by murtaza]

There is a useful utility found in

/CMC/tools/cadence/IC/tools/bin/clsAdminTool

which is used to display a list of all edit locks in a given directory hierarchy. It is useful when Cadence reports errors relating to file locking problems of the sort:

*****Start of error message ******
*WARNING* XXreopen: failed to lock file
/home/keith_richards/VLSI_TUTORIAL/mylib2/pmos/layout/layout.cdb in A_MODE mode
- is currently "write" locked by user keith_richards on machine
heartbreaker
(since Tue Feb 19 14:08:23 2002 EST.)

Can't make
/home/keith_richards/VLSI_TUTORIAL/mylib2/pmos/layout/layout.cdb
Editable -
***** End of error message *****

One would use the /CMC/tools/cadence/IC/tools/bin/clsAdminTool to query the status of existing file locks:

ted@heartbreaker 5:58pm > clsAdminTool
> help
Commands:
system - execute shell command
ale - List all Edit Locks in directoryHierarchy
aple - List all Edit Locks of process pid in directoryHierarchy
are - Release all Edit Locks in directoryHierarchy
apre - Release all Edit Locks of process pid in directoryHierarchy
asre - Release Edit Lock on the file specified by filePath
exit
- exit with last status
help
- This output
quit
- quit (with good status (0))

I tested it out by opening up one of my designs in /home/ted/CMOSIS5:

> ale /home/ted/CMOSIS5
BEGIN: Edit Locks List
/home/ted/CMOSIS5/tedcomponents/TED_CHIP/layout/layout.cdb flash 26038
10141593
40
END: Edit Locks List

SUMMARY: Only one Edit Lock was found in the directory hierarchy:/home/ted/CMOSIS5.
>
Cadence creates a library_name_cell_name_.cdslck in the directory containing the cell. This file gives information as to who locked which design and on which machine:

ted@flash layout 6:01pm >more layout.cdb.cdslck
# Edit Lock-Stake file. CAUTION: Please do not change.
#
# Information about current Edit Lock Owner.
#
LockStakeVersion 1.0
LoginName ted
HostName flash
ProcessIdentifier 26038
ProcessCreationTime_UTC 1014159340
ProcessCreationTime_Readable Tue Feb 19 17:55:40 2002 EST
AppIdentifier /CMC/tools/cadence.2000a/IC/tools/dfII/bin/icfb.exe
OSType sun4v
ReasonForPlacingEditLock XXopen upgrade lock
FilePathUsedToEditLock
/home/ted/CMOSIS5/tedcomponents/TED_CHIP/layout/layout.cdb
TimeEditLocked Tue Feb 19 17:56:14 2002 EST


Deleting this file fixes the problem of being unable to open a particular cell for editing.


 
If you have any comments about the website please Contact us

Copyright © 2005 Faculty of Engineering & Computer Science