URL
https://opencores.org/ocsvn/s1_core/s1_core/trunk
[/] [s1_core/] [trunk/] [tools/] [src/] [build_dc.cmd] - Diff between revs 66 and 73
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
| Rev 66 |
Rev 73 |
| Line 1... |
Line 1... |
|
# The Tcl script under $S1_ROOT/tools/src/build_dc.cmd is attached at the end of the filelist for DC;
|
/* If you modify this file remember to run update_filelist so that filelist.dc gets updated!!! */
|
# if you modify this file *REMEMBER* to run 'update_filelist' or you'll run the old version!!!
|
|
|
elaborate s1_top
|
elaborate s1_top
|
link
|
link
|
uniquify
|
uniquify
|
/* check_design */
|
check_design
|
|
|
|
# Constraints
|
|
|
|
create_clock -name "sys_clock_i" -period 2.0 -waveform {0 1.0} [get_ports "sys_clock_i"]
|
|
set_dont_touch_network [get_clocks "sys_clock_i"]
|
|
set_input_delay 1.25 -max -rise -clock "sys_clock_i" [get_ports "sys_reset_i"]
|
|
set_input_delay 1.25 -max -fall -clock "sys_clock_i" [get_ports "sys_reset_i"]
|
|
set_output_delay 1.25 -clock sys_clock_i -max -rise [all_outputs]
|
|
set_output_delay 1.25 -clock sys_clock_i -max -fall [all_outputs]
|
|
set_wire_load_mode "enclosed"
|
|
|
|
# Compile
|
|
|
|
compile
|
|
|
create_clock -period 2.0 -name sys_clock_i find(port, "sys_clock_i")
|
# Export
|
set_input_delay -max -clock sys_clock_i 1 all_inputs () find (port, "sys_clock_i")
|
|
set_output_delay 1 -max -clock sys_clock_i all_outputs()
|
|
|
|
compile -map_effort high
|
write -format db -hierarchy -output "s1_top.db"
|
|
write -format verilog -hierarchy -output "s1_top.v"
|
|
|
write -output s1_top.db -format ddc -hierarchy
|
# Report
|
write -output s1_top.v -format verilog -hierarchy
|
|
|
|
report_area > report_area.txt
|
report_area > report_area.txt
|
report_timing > report_timing.txt
|
report_timing > report_timing.txt
|
report_constraint -all_violators > report_constraint.txt
|
report_constraint -all_violators > report_constraint.txt
|
|
|
© copyright 1999-2026
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.