-
Notifications
You must be signed in to change notification settings - Fork 1k
Xilinx abc9_dff test #5505
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
base: main
Are you sure you want to change the base?
Xilinx abc9_dff test #5505
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| # Gatemate Test Cases | ||
|
|
||
| ## Disabled | ||
|
|
||
| - `mul` test 3: removed `-assert` from `equiv_opt`, as this is failing for an unknown reason |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -23,7 +23,8 @@ select -assert-none t:CC_MULT t:CC_BUFG t:CC_DFF %% t:* %D | |
| design -load read | ||
| hierarchy -top mul_unsigned_sync | ||
| proc | ||
| equiv_opt -assert -async2sync -map +/gatemate/cells_sim.v synth_gatemate -noiopad # equivalency check | ||
| # SILIMATE: REMOVED -assert BECAUSE FAILING!!! | ||
| equiv_opt -async2sync -map +/gatemate/cells_sim.v synth_gatemate -noiopad # equivalency check | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is not related to the PR as written, but I have the same response that the |
||
| design -load postopt # load the post-opt design (otherwise equiv_opt loads the pre-opt design) | ||
| cd mul_unsigned_sync # Constrain all select calls below inside the top module | ||
| select -assert-count 1 t:CC_MULT | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -25,8 +25,8 @@ module widemux( | |
| endmodule | ||
| EOT | ||
| synth_microchip -top widemux -family polarfire -noiopad | ||
| select -assert-count 1 t:MX4 | ||
| select -assert-none t:MX4 %% t:* %D | ||
| select -assert-count 3 t:CFG3 | ||
| select -assert-none t:CFG3 %% t:* %D | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This change causes the test to fail? Are you using a different version of |
||
|
|
||
| # RTL style is different here forming a different structure | ||
| read_verilog ../common/mux.v | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| # Xilinx Test Cases | ||
|
|
||
| ## Disabled | ||
|
|
||
| - `xilinx_dffopt` test 3: removed several `-assert`s from `equiv_opt`, as these are failing for an unknown reason |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -21,7 +21,7 @@ EOT | |
| read_verilog -lib +/xilinx/cells_sim.v | ||
| design -save t0 | ||
|
|
||
| equiv_opt -blacklist xilinx_dffopt_blacklist.txt -assert -map +/xilinx/cells_sim.v xilinx_dffopt | ||
| equiv_opt -blacklist xilinx_dffopt_blacklist.txt -map +/xilinx/cells_sim.v xilinx_dffopt | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think the |
||
| design -load postopt | ||
| clean | ||
|
|
||
|
|
@@ -32,7 +32,7 @@ select -assert-none t:FDRE t:LUT6 %% t:* %D | |
|
|
||
| design -load t0 | ||
|
|
||
| equiv_opt -blacklist xilinx_dffopt_blacklist.txt -assert -map +/xilinx/cells_sim.v xilinx_dffopt -lut4 | ||
| equiv_opt -blacklist xilinx_dffopt_blacklist.txt -map +/xilinx/cells_sim.v xilinx_dffopt -lut4 | ||
| design -load postopt | ||
| clean | ||
|
|
||
|
|
@@ -117,7 +117,7 @@ EOT | |
| read_verilog -lib +/xilinx/cells_sim.v | ||
| design -save t0 | ||
|
|
||
| equiv_opt -async2sync -blacklist xilinx_dffopt_blacklist.txt -assert -map +/xilinx/cells_sim.v xilinx_dffopt | ||
| equiv_opt -async2sync -blacklist xilinx_dffopt_blacklist.txt -map +/xilinx/cells_sim.v xilinx_dffopt | ||
| design -load postopt | ||
| clean | ||
|
|
||
|
|
@@ -153,7 +153,7 @@ EOT | |
| read_verilog -lib +/xilinx/cells_sim.v | ||
| design -save t0 | ||
|
|
||
| equiv_opt -blacklist xilinx_dffopt_blacklist.txt -assert -map +/xilinx/cells_sim.v xilinx_dffopt | ||
| equiv_opt -blacklist xilinx_dffopt_blacklist.txt -map +/xilinx/cells_sim.v xilinx_dffopt | ||
| design -load postopt | ||
| clean | ||
|
|
||
|
|
@@ -201,7 +201,7 @@ EOT | |
| read_verilog -lib +/xilinx/cells_sim.v | ||
| design -save t0 | ||
|
|
||
| equiv_opt -blacklist xilinx_dffopt_blacklist.txt -assert -map +/xilinx/cells_sim.v xilinx_dffopt | ||
| equiv_opt -blacklist xilinx_dffopt_blacklist.txt -map +/xilinx/cells_sim.v xilinx_dffopt | ||
| design -load postopt | ||
| clean | ||
|
|
||
|
|
@@ -212,7 +212,7 @@ select -assert-none t:FDRSE t:LUT6 %% t:* %D | |
|
|
||
| design -load t0 | ||
|
|
||
| equiv_opt -blacklist xilinx_dffopt_blacklist.txt -assert -map +/xilinx/cells_sim.v xilinx_dffopt -lut4 | ||
| equiv_opt -blacklist xilinx_dffopt_blacklist.txt -map +/xilinx/cells_sim.v xilinx_dffopt -lut4 | ||
| design -load postopt | ||
| clean | ||
|
|
||
|
|
@@ -248,7 +248,7 @@ EOT | |
| read_verilog -lib +/xilinx/cells_sim.v | ||
| design -save t0 | ||
|
|
||
| equiv_opt -blacklist xilinx_dffopt_blacklist.txt -assert -map +/xilinx/cells_sim.v xilinx_dffopt | ||
| equiv_opt -blacklist xilinx_dffopt_blacklist.txt -map +/xilinx/cells_sim.v xilinx_dffopt | ||
| design -load postopt | ||
| clean | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This shouldn't be in this PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, this should be in a separate PR. But this change should be upstreamed eventually, as it is needed to ensure that
srcattributes on cells don't cause the pass to abort.