Mentor Graphics

From CVL Wiki

(Difference between revisions)
Jump to: navigation, search
 
(One intermediate revision by one user not shown)
Line 20: Line 20:
 
environments, Cadence and Calibre (and possibly ADS).
 
environments, Cadence and Calibre (and possibly ADS).
  
; Calibre setup
+
<pre>
 +
; .cdsinit for Calibre
  
 
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Line 77: Line 78:
  
 
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 +
</pre>
 +
If you are using GoldenGate (part of ADS), add this to your .cdsinit file:
 +
<pre>
 +
;GoldenGate_cdsinit_grep_pattern
 +
; @(#)$Id: .cdsinit_home,v 1.10 2011/08/24 17:40:17 cshyamsu Exp $
 +
; Copyright 1983 Agilent Technologies, Inc
 +
if(getShellEnvVar("XPEDION") then
 +
load(sprintf(nil "%s/aa/.cdsinit" getShellEnvVar("XPEDION")))
 +
else
 +
printf(".cdsinit/.oceanrc: Environment variable XPEDION is not set!\n")
 +
)
 +
 +
if(getShellEnvVar("HPEESOF_DIR") then
 +
load(sprintf(nil "%s/idf/config/.cdsinit" getShellEnvVar("HPEESOF_DIR")))
 +
else
 +
printf(".cdsinit/.oceanrc: Environment variable HPEESOF_DIR is not set!\n")
 +
)
 +
/*
 +
To make GoldenGate your default simulator, you can add the following line to
 +
your ~/.cdsenv file:
 +
 +
asimenv.startup simulator string "GoldenGate"
  
 +
Alternatively, you can activate the envSetVal line by moving it outside this
 +
comment-block.
  
 +
(this comment moved by jkh as above)*/
 +
envSetVal("asimenv.startup" "simulator" 'string "GoldenGate")
 +
</pre>
 +
To run Cadence with Calibre and GoldenGate:
 +
ADS
 +
Calibre
 +
Cadence_new
 +
icfb &
 
==Additional Links==
 
==Additional Links==
 
[http://www.mentor.com/ Mentor Graphics Home Page]
 
[http://www.mentor.com/ Mentor Graphics Home Page]

Latest revision as of 13:24, 28 September 2012

This is going to be the mentor graphics page

Mentor Graphics.gif


[edit] Calibre

Calibre will do rules checking and parasitic extraction of VLSI designs.

To setup the Calibre environment, type

Calibre

This will change the command line prompt to include "[Calibre]".

To run the program

calibre -gui

To view the documentation

mgcdocs

To use the Cadence / Calibre interface, add the following to your .cdsinit file and remember to invoke both environments, Cadence and Calibre (and possibly ADS).

; .cdsinit for Calibre

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;
; check CALIBRE_HOME
;
cal_home=getShellEnvVar("CALIBRE_HOME")
if( cal_home==nil then
    cal_home=getShellEnvVar("MGC_HOME")
    if( cal_home!=nil then
        printf("// CALIBRE_HOME environment variable not set; setting it to value of MGC_HOME\n");
    )
)

if( cal_home!=nil && isDir(cal_home) && isReadable(cal_home) then

    ; Load calibre.skl or calibre.4.3.skl, not both!

    ; Load calibre.skl for Cadence versions 4.4 and greater
    load(strcat(cal_home "/lib/calibre.skl"))

;;;;Load calibre.4.3.skl for Cadence version 4.3
;;; load(strcat(cal_home "/lib/calibre.4.3.skl"))

else

    ; CALIBRE_HOME is not set correctly. Report the problem.

    printf("//  Calibre Error: Environment variable ")

    if( cal_home==nil || cal_home=="" then
        printf("CALIBRE_HOME is not set.");
    else
        if( !isDir(cal_home) then
            printf("CALIBRE_HOME does not point to a directory.");
        else
            if( !isReadable(cal_home) then
                printf("CALIBRE_HOME points to an unreadable directory.");
            )
        )
    )
    printf(" Calibre Skill Interface not loaded.\n")

    ; Display a dialog box message about load failure.

    hiDisplayAppDBox(
        ?name           'MGCHOMEErrorDlg
        ?dboxBanner     "Calibre Error"
        ?dboxText       "Calibre Skill Interface not loaded."
        ?dialogType     hicErrorDialog
        ?dialogStyle    'modal
       ?buttonLayout   'Close
    )
)

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

If you are using GoldenGate (part of ADS), add this to your .cdsinit file:

;GoldenGate_cdsinit_grep_pattern
; @(#)$Id: .cdsinit_home,v 1.10 2011/08/24 17:40:17 cshyamsu Exp $
; Copyright 1983 Agilent Technologies, Inc
if(getShellEnvVar("XPEDION") then
	load(sprintf(nil "%s/aa/.cdsinit" getShellEnvVar("XPEDION")))
else
	printf(".cdsinit/.oceanrc: Environment variable XPEDION is not set!\n")
)

if(getShellEnvVar("HPEESOF_DIR") then
	load(sprintf(nil "%s/idf/config/.cdsinit" getShellEnvVar("HPEESOF_DIR")))
else
	printf(".cdsinit/.oceanrc: Environment variable HPEESOF_DIR is not set!\n")
)
/*
To make GoldenGate your default simulator, you can add the following line to
your ~/.cdsenv file:

asimenv.startup simulator string "GoldenGate"

Alternatively, you can activate the envSetVal line by moving it outside this
comment-block.

(this comment moved by jkh as above)*/
envSetVal("asimenv.startup" "simulator" 'string "GoldenGate")

To run Cadence with Calibre and GoldenGate:

ADS
Calibre
Cadence_new
icfb &

[edit] Additional Links

Mentor Graphics Home Page

Views
Personal tools
Support