update tests to compile fine and also regolden to show uncertain string

Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
This commit is contained in:
dsengupta0628 2026-04-27 22:10:15 +00:00
parent ae37dc6238
commit d1c8750850
7 changed files with 21 additions and 17 deletions

View File

@ -937,8 +937,12 @@ TEST_F(SdcInitTest, ClockUncertaintiesAccessor) {
*waveform, "");
ASSERT_NE(clk, nullptr);
// A freshly created clock has no uncertainties set yet
ClockUncertainties *unc = clk->uncertainties();
EXPECT_EQ(unc, nullptr);
float unc;
bool exists;
clk->uncertainty(SetupHold::min(), unc, exists);
EXPECT_FALSE(exists);
clk->uncertainty(SetupHold::max(), unc, exists);
EXPECT_FALSE(exists);
}
// Clock setUncertainty and removeUncertainty

View File

@ -223,10 +223,10 @@ Path Type: max
19 default vmax clk ^ clk_src clk crpr_pin null
Longest hash bucket length 1 hash=6
--- report_clk_infos ---
default/min clk ^ clk_src clk
default/max clk ^ clk_src clk
default/min clk v clk_src clk
default/max clk v clk_src clk
default/min clk ^ clk_src clk uncertain
default/max clk ^ clk_src clk uncertain
default/min clk v clk_src clk uncertain
default/max clk v clk_src clk uncertain
4 clk infos
--- report_tag_groups ---
Group 0 hash = 2697898004198490802 ( 79)

View File

@ -1462,7 +1462,7 @@ Warning 502: search_report_fields_formats.tcl line 1, find_timing_paths -endpoin
}
--- field properties ---
Warning 1575: unknown report path field delay
Warning 1591: unknown report path field delay
Startpoint: reg2 (rising edge-triggered flip-flop clocked by clk1)
Endpoint: out1 (output port clocked by clk1)
Path Group: clk1

View File

@ -267,10 +267,10 @@ Longest hash bucket length 1 hash=62
22 default ^max clk ^ clk_src clk crpr_pin null
23 default vmax clk ^ clk_src clk crpr_pin null
Longest hash bucket length 1 hash=6
default/min clk ^ clk_src clk
default/max clk ^ clk_src clk
default/min clk v clk_src clk
default/max clk v clk_src clk
default/min clk ^ clk_src clk uncertain
default/max clk ^ clk_src clk uncertain
default/min clk v clk_src clk uncertain
default/max clk v clk_src clk uncertain
4 clk infos
4 11
8 4

View File

@ -25,10 +25,10 @@ min violations: 0
19 default vmax clk ^ clk_src clk crpr_pin null
Longest hash bucket length 1 hash=6
--- report_clk_infos ---
default/min clk ^ clk_src clk
default/max clk ^ clk_src clk
default/min clk v clk_src clk
default/max clk v clk_src clk
default/min clk ^ clk_src clk uncertain
default/max clk ^ clk_src clk uncertain
default/min clk v clk_src clk uncertain
default/max clk v clk_src clk uncertain
4 clk infos
--- report_tag_groups ---
Group 0 hash = 2697898004198490802 ( 79)

View File

@ -249,7 +249,7 @@ Path Type: max
--- set_report_path_field_properties ---
Warning 1575: unknown report path field delay
Warning 1591: unknown report path field delay
Startpoint: reg1 (rising edge-triggered flip-flop clocked by clk)
Endpoint: out1 (output port clocked by clk)
Path Group: clk

View File

@ -531,7 +531,7 @@ Path Type: min
--- design_power ---
design_power: 6.081859851292393e-7 1.8692128733732716e-8 1.4891682553752617e-7 7.757948878861498e-7 5.41103304385615e-7 5.8966871385734976e-9 7.881983066226894e-8 6.258198368414014e-7 6.708269495447894e-8 1.2795442039248428e-8 7.009699487525722e-8 1.499751363098767e-7 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
--- set_report_path_field_properties ---
Warning 1575: unknown report path field delay
Warning 1591: unknown report path field delay
--- set_report_path_no_split ---
--- graph loops ---
--- pocv ---