mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-11 06:05:49 +00:00
set input delay when flop-driven, added run clock
This commit is contained in:
parent
5dfff900b1
commit
280c1ec368
@ -3,6 +3,9 @@
|
|||||||
# james.stine@okstate.edu 27 Sep 2015
|
# james.stine@okstate.edu 27 Sep 2015
|
||||||
#
|
#
|
||||||
|
|
||||||
|
# start run clock
|
||||||
|
set t1 [clock seconds]
|
||||||
|
|
||||||
# Ignore unnecessary warnings:
|
# Ignore unnecessary warnings:
|
||||||
# intraassignment delays for nonblocking assignments are ignored
|
# intraassignment delays for nonblocking assignments are ignored
|
||||||
suppress_message {VER-130}
|
suppress_message {VER-130}
|
||||||
@ -132,8 +135,13 @@ if {$tech == "sky130"} {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Set input/output delay
|
# Set input/output delay
|
||||||
|
if {$drive == "FLOP"} {
|
||||||
|
set_input_delay 0.1 -max -clock $my_clk $all_in_ex_clk
|
||||||
|
set_output_delay 0.1 -max -clock $my_clk [all_outputs]
|
||||||
|
} else {
|
||||||
set_input_delay 0.0 -max -clock $my_clk $all_in_ex_clk
|
set_input_delay 0.0 -max -clock $my_clk $all_in_ex_clk
|
||||||
set_output_delay 0.0 -max -clock $my_clk [all_outputs]
|
set_output_delay 0.0 -max -clock $my_clk [all_outputs]
|
||||||
|
}
|
||||||
|
|
||||||
# Setting load constraint on output ports
|
# Setting load constraint on output ports
|
||||||
if {$tech == "sky130"} {
|
if {$tech == "sky130"} {
|
||||||
@ -375,4 +383,9 @@ redirect $filename { report_constraint }
|
|||||||
set filename [format "%s%s%s%s" $outputDir "/reports/" $my_toplevel "_hier.rep"]
|
set filename [format "%s%s%s%s" $outputDir "/reports/" $my_toplevel "_hier.rep"]
|
||||||
# redirect $filename { report_hierarchy }
|
# redirect $filename { report_hierarchy }
|
||||||
|
|
||||||
|
# end run clock and echo run time in minutes
|
||||||
|
set t2 [clock seconds]
|
||||||
|
set t [expr $t2 - $t1]
|
||||||
|
echo [expr $t/60]
|
||||||
|
|
||||||
quit
|
quit
|
||||||
|
Loading…
Reference in New Issue
Block a user