Skip to content

Commit

Permalink
Adds some missing bram tests
Browse files Browse the repository at this point in the history
  • Loading branch information
syed-ahmed committed Oct 13, 2021
1 parent cb6e807 commit 5fffb9d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion xc/xc7/tests/bram_test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ get_target_property_required(ARCH ${DEVICE} ARCH)
# Symmetric modes only
set(BRAM18_WIDTHS 1 2 4 9 18)
set(BRAM36_WIDTHS 1 2 4 9 18 36)
set(BRAM256_WIDTHS 6)

add_file_target(FILE bram_test.v SCANNER_TYPE verilog)

Expand All @@ -17,7 +18,7 @@ set(GENERATE_DEPS ${CMAKE_CURRENT_SOURCE_DIR}/generate_test.py ${PYTHON3})

add_custom_target(all_xc7_bram_diff_fasm)
set(ANY_BRAM_DIFF_FASM FALSE)
foreach(type 18 36)
foreach(type 18 36 64 72 256)
foreach(width ${BRAM${type}_WIDTHS})
set(FNAME ${BASE_TEST_NAME}_${type}_${width}.v)
add_custom_command(
Expand Down
1 change: 1 addition & 0 deletions xc/xc7/tests/bram_test/generate_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
(36, 9): BramConfig(9, 12, 4096),
(36, 18): BramConfig(18, 11, 2048),
(36, 36): BramConfig(18, 10, 1024),
(256, 6): BramConfig(256, 6, 64),
}


Expand Down

0 comments on commit 5fffb9d

Please sign in to comment.