SDC: Update counter, pll and get_clocks tests Signed-off-by: Tomasz Michalak <tmichalak@antmicro.com>
diff --git a/sdc-plugin/tests/counter/counter.golden.sdc b/sdc-plugin/tests/counter/counter.golden.sdc index bf47874..cfa90cb 100644 --- a/sdc-plugin/tests/counter/counter.golden.sdc +++ b/sdc-plugin/tests/counter/counter.golden.sdc
@@ -1,6 +1 @@ -create_clock -period 10 -waveform {0 5} \$auto\$clkbufmap.cc:262:execute\$1801 -create_clock -period 10 -waveform {0 5} \$auto\$clkbufmap.cc:262:execute\$1803 create_clock -period 10 -waveform {0 5} clk_int_1 -create_clock -period 10 -waveform {0 5} ibuf_proxy_out -create_clock -period 10 -waveform {0 5} middle_inst_1.clk_int -create_clock -period 10 -waveform {0 5} middle_inst_4.clk
diff --git a/sdc-plugin/tests/counter/counter.golden.txt b/sdc-plugin/tests/counter/counter.golden.txt index 8adab86..9301c2d 100644 --- a/sdc-plugin/tests/counter/counter.golden.txt +++ b/sdc-plugin/tests/counter/counter.golden.txt
@@ -1 +1,2 @@ -{$auto$clkbufmap.cc:262:execute$1801} {$auto$clkbufmap.cc:262:execute$1803} clk clk2 clk_int_1 ibuf_proxy_out middle_inst_1.clk_int middle_inst_4.clk +clk clk2 clk_int_1 +clk clk2 clk_int_1
diff --git a/sdc-plugin/tests/counter/counter.tcl b/sdc-plugin/tests/counter/counter.tcl index e68574b..30cc0e4 100644 --- a/sdc-plugin/tests/counter/counter.tcl +++ b/sdc-plugin/tests/counter/counter.tcl
@@ -18,8 +18,8 @@ # Write the clocks to file set fh [open $::env(DESIGN_TOP).txt w] -set clocks [get_clocks] -puts $fh $clocks +puts $fh [get_clocks] +puts $fh [get_clocks -include_generated_clocks] close $fh # Write out the SDC file after the clock propagation step
diff --git a/sdc-plugin/tests/counter2/counter.txt b/sdc-plugin/tests/counter2/counter.txt deleted file mode 100644 index 065b110..0000000 --- a/sdc-plugin/tests/counter2/counter.txt +++ /dev/null
@@ -1 +0,0 @@ -clk_int_1 clk ibuf_proxy_out {$auto$clkbufmap.cc:247:execute$1918} {$auto$clkbufmap.cc:247:execute$1920} middle_inst_1.clk_int middle_inst_4.clk
diff --git a/sdc-plugin/tests/counter2/counter2.golden.sdc b/sdc-plugin/tests/counter2/counter2.golden.sdc index 17624d7..cfa90cb 100644 --- a/sdc-plugin/tests/counter2/counter2.golden.sdc +++ b/sdc-plugin/tests/counter2/counter2.golden.sdc
@@ -1,6 +1 @@ -create_clock -period 10 -waveform {0 5} \$auto\$clkbufmap.cc:262:execute\$1801 -create_clock -period 10 -waveform {1 6} \$auto\$clkbufmap.cc:262:execute\$1803 create_clock -period 10 -waveform {0 5} clk_int_1 -create_clock -period 10 -waveform {0 5} ibuf_proxy_out -create_clock -period 10 -waveform {0 5} middle_inst_1.clk_int -create_clock -period 10 -waveform {1 6} middle_inst_4.clk
diff --git a/sdc-plugin/tests/counter2/counter2.golden.txt b/sdc-plugin/tests/counter2/counter2.golden.txt index 8adab86..c7ecd76 100644 --- a/sdc-plugin/tests/counter2/counter2.golden.txt +++ b/sdc-plugin/tests/counter2/counter2.golden.txt
@@ -1 +1 @@ -{$auto$clkbufmap.cc:262:execute$1801} {$auto$clkbufmap.cc:262:execute$1803} clk clk2 clk_int_1 ibuf_proxy_out middle_inst_1.clk_int middle_inst_4.clk +clk clk2 clk_int_1
diff --git a/sdc-plugin/tests/get_clocks/get_clocks.golden.txt b/sdc-plugin/tests/get_clocks/get_clocks.golden.txt index 9c94d2d..0cc76ac 100644 --- a/sdc-plugin/tests/get_clocks/get_clocks.golden.txt +++ b/sdc-plugin/tests/get_clocks/get_clocks.golden.txt
@@ -1,6 +1,6 @@ -{$auto$clkbufmap.cc:262:execute$1800} {$auto$clkbufmap.cc:262:execute$1802} clk clk2 clk_int_1 middle_inst_1.clk_int middle_inst_4.clk -{$auto$clkbufmap.cc:262:execute$1800} {$auto$clkbufmap.cc:262:execute$1802} clk clk2 clk_int_1 middle_inst_1.clk_int middle_inst_4.clk +clk clk2 clk_int_1 +clk clk2 clk_int_1 clk2 clk_int_1 -clk clk2 clk_int_1 middle_inst_1.clk_int middle_inst_4.clk +clk clk2 clk_int_1 clk clk2 clk_int_1
diff --git a/sdc-plugin/tests/pll/pll.golden.sdc b/sdc-plugin/tests/pll/pll.golden.sdc index 5f1fc75..1a17ded 100644 --- a/sdc-plugin/tests/pll/pll.golden.sdc +++ b/sdc-plugin/tests/pll/pll.golden.sdc
@@ -1,8 +1,3 @@ -create_clock -period 10 -waveform {0 5} \$auto\$clkbufmap.cc:262:execute\$1715 create_clock -period 10 -waveform {2.5 7.5} \$auto\$clkbufmap.cc:262:execute\$1717 create_clock -period 2.5 -waveform {0 1.25} \$auto\$clkbufmap.cc:262:execute\$1719 create_clock -period 5 -waveform {1.25 3.75} \$auto\$clkbufmap.cc:262:execute\$1721 -create_clock -period 10 -waveform {0 5} \$techmap1617\FDCE_0.C -create_clock -period 10 -waveform {2.5 7.5} main_clkout0 -create_clock -period 2.5 -waveform {0 1.25} main_clkout1 -create_clock -period 5 -waveform {1.25 3.75} main_clkout2
diff --git a/sdc-plugin/tests/pll_approx_equal/pll_approx_equal.golden.sdc b/sdc-plugin/tests/pll_approx_equal/pll_approx_equal.golden.sdc index 5e12e7d..61f951a 100644 --- a/sdc-plugin/tests/pll_approx_equal/pll_approx_equal.golden.sdc +++ b/sdc-plugin/tests/pll_approx_equal/pll_approx_equal.golden.sdc
@@ -1,8 +1,3 @@ -create_clock -period 10 -waveform {0 5} \$auto\$clkbufmap.cc:262:execute\$1715 create_clock -period 9.99999 -waveform {0 5} \$auto\$clkbufmap.cc:262:execute\$1717 create_clock -period 5 -waveform {-2.5 0} \$auto\$clkbufmap.cc:262:execute\$1719 create_clock -period 2.5 -waveform {-1.875 -0.624999} \$auto\$clkbufmap.cc:262:execute\$1721 -create_clock -period 10 -waveform {0 5} \$techmap1617\FDCE_0.C -create_clock -period 9.99999 -waveform {0 5} main_clkout_x1 -create_clock -period 5 -waveform {-2.5 0} main_clkout_x2 -create_clock -period 2.5 -waveform {-1.875 -0.624999} main_clkout_x4
diff --git a/sdc-plugin/tests/pll_dangling_wires/pll_dangling_wires.golden.sdc b/sdc-plugin/tests/pll_dangling_wires/pll_dangling_wires.golden.sdc index b2269fe..1bd5952 100644 --- a/sdc-plugin/tests/pll_dangling_wires/pll_dangling_wires.golden.sdc +++ b/sdc-plugin/tests/pll_dangling_wires/pll_dangling_wires.golden.sdc
@@ -1,3 +1 @@ -create_clock -period 10 -waveform {0 5} \$abc\$1699\$iopadmap\$clk create_clock -period 10 -waveform {0 5} \$auto\$clkbufmap.cc:262:execute\$1704 -create_clock -period 10 -waveform {0 5} main_clkout0
diff --git a/sdc-plugin/tests/pll_div/pll_div.golden.sdc b/sdc-plugin/tests/pll_div/pll_div.golden.sdc index 9656011..fee281c 100644 --- a/sdc-plugin/tests/pll_div/pll_div.golden.sdc +++ b/sdc-plugin/tests/pll_div/pll_div.golden.sdc
@@ -1,8 +1,3 @@ -create_clock -period 10 -waveform {0 5} \$auto\$clkbufmap.cc:262:execute\$1715 create_clock -period 20 -waveform {5 15} \$auto\$clkbufmap.cc:262:execute\$1717 create_clock -period 5 -waveform {0 2.5} \$auto\$clkbufmap.cc:262:execute\$1719 create_clock -period 10 -waveform {2.5 7.5} \$auto\$clkbufmap.cc:262:execute\$1721 -create_clock -period 10 -waveform {0 5} \$techmap1617\FDCE_0.C -create_clock -period 20 -waveform {5 15} main_clkout0 -create_clock -period 5 -waveform {0 2.5} main_clkout1 -create_clock -period 10 -waveform {2.5 7.5} main_clkout2
diff --git a/sdc-plugin/tests/pll_fbout_phase/pll_fbout_phase.golden.sdc b/sdc-plugin/tests/pll_fbout_phase/pll_fbout_phase.golden.sdc index f944ef5..0eab91d 100644 --- a/sdc-plugin/tests/pll_fbout_phase/pll_fbout_phase.golden.sdc +++ b/sdc-plugin/tests/pll_fbout_phase/pll_fbout_phase.golden.sdc
@@ -1,8 +1,3 @@ -create_clock -period 10 -waveform {0 5} \$auto\$clkbufmap.cc:262:execute\$1715 create_clock -period 10 -waveform {0 5} \$auto\$clkbufmap.cc:262:execute\$1717 create_clock -period 5 -waveform {-2.5 0} \$auto\$clkbufmap.cc:262:execute\$1719 create_clock -period 2.5 -waveform {-1.875 -0.625} \$auto\$clkbufmap.cc:262:execute\$1721 -create_clock -period 10 -waveform {0 5} \$techmap1617\FDCE_0.C -create_clock -period 10 -waveform {0 5} main_clkout_x1 -create_clock -period 5 -waveform {-2.5 0} main_clkout_x2 -create_clock -period 2.5 -waveform {-1.875 -0.625} main_clkout_x4