Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update unit test #1666

Merged
merged 2 commits into from
Aug 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ set(VERSION_MINOR 0)
# Add the spdlog directory to the include path
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/third_party/spdlog/include ${CMAKE_CURRENT_SOURCE_DIR}/third_party/exprtk ${CMAKE_CURRENT_SOURCE_DIR}/third_party/scope_guard)

set(VERSION_PATCH 410)
set(VERSION_PATCH 411)


option(
Expand Down
68 changes: 34 additions & 34 deletions tests/unittest/ModelConfig/golden/model_config.negative.ppdb.json
Original file line number Diff line number Diff line change
Expand Up @@ -244,11 +244,11 @@
" Rule I_DDR",
" Match",
" Property",
" Module: O_BUF ($obuf$top.$obuf_clk_out)",
" Module: O_BUFT ($obuf$top.$obuf_clk_out)",
" Object: clk_out",
" Parameter",
" Property",
" Rule O_BUF.IOSTANDARD",
" Rule O_BUFT.IOSTANDARD",
" Mismatch",
" Module: O_SERDES_CLK (o_serdes_clk)",
" Object: clk_out",
Expand All @@ -259,53 +259,53 @@
" Rule O_SERDES_CLK.DDR_MODE",
" Match",
" Property",
" Module: O_BUF ($obuf$top.$obuf_dinoutosc)",
" Module: O_BUFT ($obuf$top.$obuf_dinoutosc)",
" Object: dinoutosc",
" Parameter",
" Property",
" Rule O_BUF.IOSTANDARD",
" Rule O_BUFT.IOSTANDARD",
" Mismatch",
" Module: O_BUF ($obuf$top.$obuf_dout00)",
" Module: O_BUFT ($obuf$top.$obuf_dout00)",
" Object: dout00",
" Parameter",
" Property",
" Rule O_BUF.IOSTANDARD",
" Rule O_BUFT.IOSTANDARD",
" Mismatch",
" Module: O_DDR (o_ddr00)",
" Object: dout00",
" Parameter",
" Rule O_DDR",
" Match",
" Property",
" Module: O_BUF ($obuf$top.$obuf_dout01)",
" Module: O_BUFT ($obuf$top.$obuf_dout01)",
" Object: dout01",
" Parameter",
" Property",
" Rule O_BUF.IOSTANDARD",
" Rule O_BUFT.IOSTANDARD",
" Mismatch",
" Module: O_DDR (o_ddr01)",
" Object: dout01",
" Parameter",
" Rule O_DDR",
" Match",
" Property",
" Module: O_BUF ($obuf$top.$obuf_dout11)",
" Module: O_BUFT ($obuf$top.$obuf_dout11)",
" Object: dout11",
" Parameter",
" Property",
" Rule O_BUF.IOSTANDARD",
" Rule O_BUFT.IOSTANDARD",
" Mismatch",
" Module: O_DDR (o_ddr11)",
" Object: dout11",
" Parameter",
" Rule O_DDR",
" Match",
" Property",
" Module: O_BUF ($obuf$top.$obuf_dout12)",
" Module: O_BUFT ($obuf$top.$obuf_dout12)",
" Object: dout12",
" Parameter",
" Property",
" Rule O_BUF.IOSTANDARD",
" Rule O_BUFT.IOSTANDARD",
" Mismatch",
" Module: O_DDR (o_ddr12)",
" Object: dout12",
Expand Down Expand Up @@ -1539,7 +1539,7 @@
"__validation_msg__" : ""
},
{
"module" : "O_BUF",
"module" : "O_BUFT",
"name" : "$obuf$top.$obuf_clk_out",
"linked_object" : "clk_out",
"linked_objects" : {
Expand All @@ -1549,7 +1549,7 @@
},
"config_attributes" : [
{
"O_BUF" : "IOSTANDARD==DEFAULT"
"O_BUFT" : "IOSTANDARD==DEFAULT"
}
]
}
Expand Down Expand Up @@ -1600,7 +1600,7 @@
"CLOCK_PHASE" : "270",
"DATA_RATE" : "SDR"
},
"pre_primitive" : "O_BUF",
"pre_primitive" : "O_BUFT",
"post_primitives" : [
],
"route_clock_to" : {
Expand All @@ -1613,7 +1613,7 @@
"__validation_msg__" : "Pass:__check_data_rate_parameter__,__check_clock_phase_parameter__"
},
{
"module" : "O_BUF",
"module" : "O_BUFT",
"name" : "$obuf$top.$obuf_clk_out_osc",
"linked_object" : "clk_out_osc",
"linked_objects" : {
Expand Down Expand Up @@ -1665,7 +1665,7 @@
"CLOCK_PHASE" : "180",
"DATA_RATE" : "DDR"
},
"pre_primitive" : "O_BUF",
"pre_primitive" : "O_BUFT",
"post_primitives" : [
],
"route_clock_to" : {
Expand All @@ -1679,7 +1679,7 @@
"__validation_msg__" : "Fail:internal_error"
},
{
"module" : "O_BUF",
"module" : "O_BUFT",
"name" : "$obuf$top.$obuf_dinoutosc",
"linked_object" : "dinoutosc",
"linked_objects" : {
Expand All @@ -1689,7 +1689,7 @@
},
"config_attributes" : [
{
"O_BUF" : "IOSTANDARD==DEFAULT"
"O_BUFT" : "IOSTANDARD==DEFAULT"
}
]
}
Expand All @@ -1713,7 +1713,7 @@
"__validation_msg__" : "Pass:__pin_is_valid__,__check_pin_resource__"
},
{
"module" : "O_BUF",
"module" : "O_BUFT",
"name" : "$obuf$top.$obuf_dout00",
"linked_object" : "dout00",
"linked_objects" : {
Expand All @@ -1723,7 +1723,7 @@
},
"config_attributes" : [
{
"O_BUF" : "IOSTANDARD==DEFAULT"
"O_BUFT" : "IOSTANDARD==DEFAULT"
}
]
}
Expand Down Expand Up @@ -1769,7 +1769,7 @@
},
"parameters" : {
},
"pre_primitive" : "O_BUF",
"pre_primitive" : "O_BUFT",
"post_primitives" : [
],
"route_clock_to" : {
Expand All @@ -1782,7 +1782,7 @@
"__validation_msg__" : ""
},
{
"module" : "O_BUF",
"module" : "O_BUFT",
"name" : "$obuf$top.$obuf_dout01",
"linked_object" : "dout01",
"linked_objects" : {
Expand All @@ -1792,7 +1792,7 @@
},
"config_attributes" : [
{
"O_BUF" : "IOSTANDARD==DEFAULT"
"O_BUFT" : "IOSTANDARD==DEFAULT"
}
]
}
Expand Down Expand Up @@ -1838,7 +1838,7 @@
},
"parameters" : {
},
"pre_primitive" : "O_BUF",
"pre_primitive" : "O_BUFT",
"post_primitives" : [
],
"route_clock_to" : {
Expand All @@ -1851,7 +1851,7 @@
"__validation_msg__" : ""
},
{
"module" : "O_BUF",
"module" : "O_BUFT",
"name" : "$obuf$top.$obuf_dout10",
"linked_object" : "dout10",
"linked_objects" : {
Expand Down Expand Up @@ -1901,7 +1901,7 @@
},
"parameters" : {
},
"pre_primitive" : "O_BUF",
"pre_primitive" : "O_BUFT",
"post_primitives" : [
],
"route_clock_to" : {
Expand All @@ -1914,7 +1914,7 @@
"__validation_msg__" : "Invalidated because other instance in the chain is invalid"
},
{
"module" : "O_BUF",
"module" : "O_BUFT",
"name" : "$obuf$top.$obuf_dout11",
"linked_object" : "dout11",
"linked_objects" : {
Expand All @@ -1924,7 +1924,7 @@
},
"config_attributes" : [
{
"O_BUF" : "IOSTANDARD==DEFAULT"
"O_BUFT" : "IOSTANDARD==DEFAULT"
}
]
}
Expand Down Expand Up @@ -1970,7 +1970,7 @@
},
"parameters" : {
},
"pre_primitive" : "O_BUF",
"pre_primitive" : "O_BUFT",
"post_primitives" : [
],
"route_clock_to" : {
Expand All @@ -1983,7 +1983,7 @@
"__validation_msg__" : ""
},
{
"module" : "O_BUF",
"module" : "O_BUFT",
"name" : "$obuf$top.$obuf_dout12",
"linked_object" : "dout12",
"linked_objects" : {
Expand All @@ -1993,7 +1993,7 @@
},
"config_attributes" : [
{
"O_BUF" : "IOSTANDARD==DEFAULT"
"O_BUFT" : "IOSTANDARD==DEFAULT"
}
]
}
Expand Down Expand Up @@ -2039,7 +2039,7 @@
},
"parameters" : {
},
"pre_primitive" : "O_BUF",
"pre_primitive" : "O_BUFT",
"post_primitives" : [
],
"route_clock_to" : {
Expand All @@ -2052,7 +2052,7 @@
"__validation_msg__" : ""
},
{
"module" : "O_BUF",
"module" : "O_BUFT",
"name" : "$obuf$top.$obuf_dout20",
"linked_object" : "dout20",
"linked_objects" : {
Expand Down
Loading
Loading