Installation notes for CDSP4
Shiv Sikand, Wed Jul 19 17:16:31 PDT 2000
Last update: Thu Sep 28 15:24:59 PDT 2000
Perforce doesn't support # in file names. The most common problems in
filenames come from the use of ".". There are a bunch of others, since
Cadence name mapping turns foo.bar in foo#2ebar.
You must ELIMINATE these names from your directory structure and fix
all references in your design. We wrote some code at SGI to fix this,
ask me if you need help.
bin.sun4:
p4fisrv: the all important GDM files server
p4gdmconfig: also needed by GDM
Install these two files in cds_root/tools/bin
p4skillserver: the p4 client used by the Skill. (Spawned in CDS_P4Triggers.il)
Install this file in your UNIX path.
perl:
delete*.pl:
There is some ugliness in the delete functions in early 4.4.1/4.4.2
releases. This may or may not exist in 4.4.3, but these files are
required by the DeleteObj trigger defined in CDS_P4Triggers.il.
Install these files in your UNIX path.
site-specifc:
Branch utilities. You should not use them as is.
skill:
To load the files, decend into the dirs and load the setup.il files in
each directory.
Here is an example:
C2C_ProjSkillDir="/projects/zeus_eval/skill"
C2C_SkillDirs=list( "Common"
"CdsP4Core"
"ListBoxBrowser"
"Triggers")
foreach(skillDir C2C_SkillDirs
when( isDir(strcat(C2C_ProjSkillDir "/" skillDir))
setSkillPath(strcat(C2C_ProjSkillDir "/" skillDir))
when(isFile("setup.il")
printf("Loading %s\n" skillDir)
loadi("setup.il")
);when
) ; ** when isDir **
);foreach
Variables:
You MUST define
CDS_Project and CDS_ProjectRev
somewhere in your loadable Skill Tree.
These determine your depot structure.
eg MyChip and MyRev
eg in our world it's
n1 and rev1.0
in another world it may be
Daytona and A0
It will revision your main libs under the following spec
//depot/CDS_Project/CDS_ProjectRev/... and build your clients correctly too.
CdsP4Core:
The main interface.
ListBoxBrowser:
The cdsp4 ListBoxBrowser interface.
WARNINGS:
Use listBoxBrowser() instead of the default Library Browser.
This is crucial and a fundamental part of the interface.
The best way to facilitate this is to edit the following file:
<install_dir>/tools.sun4v/dfII/etc/tools/menus/ciw.menus
And edit the ciwLibManager line to be:
ciwLibManager = '(LibMan "Library Manager..." "listBoxBrowser()")
triggers:
CDS_P4WindowTrigger and CDS_P4EditTrigger
THESE TWO TRIGGERS ARE CRUCIAL to ensuring database consistency and
exclusivity.
Make sure they are installed correctly.