mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-11 06:05:49 +00:00
Fixed reporting of timing on modules with wrappers
This commit is contained in:
parent
d5d196b870
commit
5ca5443835
@ -257,6 +257,19 @@ set write_hier 1 ;# generate hierarchy report
|
|||||||
if { $wrapper == 1 } {
|
if { $wrapper == 1 } {
|
||||||
set designname [format "%s%s" $my_design "__*"]
|
set designname [format "%s%s" $my_design "__*"]
|
||||||
current_design $designname
|
current_design $designname
|
||||||
|
|
||||||
|
# recreate clock below wrapper level or reporting doesn't work properly
|
||||||
|
set find_clock [ find port [list $my_clock_pin] ]
|
||||||
|
if { $find_clock != [list] } {
|
||||||
|
echo "Found clock!"
|
||||||
|
set my_clk $my_clock_pin
|
||||||
|
create_clock -period $my_period $my_clk
|
||||||
|
set_clock_uncertainty $my_uncertainty [get_clocks $my_clk]
|
||||||
|
} else {
|
||||||
|
echo "Did not find clock! Design is probably combinational!"
|
||||||
|
set my_clk vclk
|
||||||
|
create_clock -period $my_period -name $my_clk
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
# Report Constraint Violators
|
# Report Constraint Violators
|
||||||
|
Loading…
Reference in New Issue
Block a user