Skip to content

Commit

Permalink
Merge pull request #916 from Xilinx/bugfix/revert_u250_platform
Browse files Browse the repository at this point in the history
[Util] Revert U250 platform to 2_1 and reenable lfc/tfc U250 tests
  • Loading branch information
auphelia authored Nov 7, 2023
2 parents 24d21a2 + d1d6f39 commit d3c966b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 deletions.
2 changes: 1 addition & 1 deletion src/finn/util/basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
alveo_default_platform = dict()
alveo_default_platform["U50"] = "xilinx_u50_gen3x16_xdma_5_202210_1"
alveo_default_platform["U200"] = "xilinx_u200_gen3x16_xdma_2_202110_1"
alveo_default_platform["U250"] = "xilinx_u250_gen3x16_xdma_4_1_202210_1"
alveo_default_platform["U250"] = "xilinx_u250_gen3x16_xdma_2_1_202010_1"
alveo_default_platform["U280"] = "xilinx_u280_gen3x16_xdma_1_202211_1"


Expand Down
13 changes: 0 additions & 13 deletions tests/end2end/test_end2end_bnn_pynq.py
Original file line number Diff line number Diff line change
Expand Up @@ -728,19 +728,6 @@ def test_build(self, topology, wbits, abits, board):
build_data = get_build_env(board, target_clk_ns)
if build_data["kind"] == "alveo" and ("VITIS_PATH" not in os.environ):
pytest.skip("VITIS_PATH not set")
if board == "U250" and wbits == 1 and abits == 1:
if topology == "lfc" or topology == "tfc":
pytest.xfail(
"bnn_w"
+ str(wbits)
+ "_a"
+ str(abits)
+ "_"
+ topology
+ "_"
+ board
+ " test_build currently disabled, see CR-1171874"
)
prev_chkpt_name = get_checkpoint_name(topology, wbits, abits, "fifodepth_" + board)
model = load_test_checkpoint_or_skip(prev_chkpt_name)
model = model.transform(build_data["build_fxn"])
Expand Down

0 comments on commit d3c966b

Please sign in to comment.