HELP NEEDED: Running Scripts in RTL Compiler

S

Shashank Gangrade

Guest
Hi,

I was looking on information on how to automate things in Cadence RTL compiler using the powerful tools of scripting. I am using Cadence Encounter(R) RTL Compiler. My job is to compile and synthesize several Verilog files located in different folders and generate various reports on them. I am accessing compiler through terminal by typing the command 'rc'.

I am sure that scripting for terminal (going in different folders and opening Verilog files there) can be done, but how to run a set of commands in rc through a script instead of manually typing them.

I have already checked this link http://www.cs.utah.edu/~elb/cadbook/Chapters/AppendixB/synrtl.tcl.txt

and I am unable to use syn-rtl command. Can someone please help.

Just for reference This is the list of commands I want to execute,


# Starts here

source ../../tcl/setlibs.tcl
read_hdl src/lut2.v -v2001
elaborate lut2
source ../../tcl/timing.tcl
synthesize -to_generic
synthesize -to_mapped
gui_show
gui_hide
report area > area.rpt
report timing > timing.rpt
report gates > gates.rpt
report power > power.rpt
write_hdl > synth/lut2.v

exit

# Ends here

-Shashank
 

Welcome to EDABoard.com

Sponsor

Back
Top