set synpath = `echo $PATH | grep synopsys` if ( $synpath == "" && -r /usr/common/Cshrc.synopsys ) then source /usr/common/Cshrc.synopsys endif unset synpath
designer = "NAME" ; company = "UBC EE"; search_path = { . /usr/applic/synopsys/libraries/syn }; link_library = { class.db } target_library = { class.db } symbol_library = { class.sdb } define_design_lib work -path ./WORK; plot_command = "lpr -P PRINTER" ;
cp ~elec464/.synopsys_dc.setup .
dc_shellThen to read your VHDL file and check for errors (assuming it's called asg1.vhd) use the command:
read -f vhdl asg1.vhdIf your design has syntax errors, edit the source file to correct the errors and use the read command again. To compile your VHDL description into an optimized hardware description use the command:
compileTo create a schematic and plot it use the commands:
create_schematic plotTo get help on any command use the command help followed by the command name. For example, to find out how to send the schematic to a file instead of the printer, use the command:
help plot
design_analyzerTo read your file and check it for errors:
To compile into an optimized design: