From 5fffb9df81d00f6d0b65ba4182dd81e37b222851 Mon Sep 17 00:00:00 2001 From: Syed Tousif Ahmed Date: Tue, 12 Oct 2021 23:41:10 -0400 Subject: [PATCH] Adds some missing bram tests --- xc/xc7/tests/bram_test/CMakeLists.txt | 3 ++- xc/xc7/tests/bram_test/generate_test.py | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/xc/xc7/tests/bram_test/CMakeLists.txt b/xc/xc7/tests/bram_test/CMakeLists.txt index 6ee8e9734a..47cc3596f1 100644 --- a/xc/xc7/tests/bram_test/CMakeLists.txt +++ b/xc/xc7/tests/bram_test/CMakeLists.txt @@ -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) @@ -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( diff --git a/xc/xc7/tests/bram_test/generate_test.py b/xc/xc7/tests/bram_test/generate_test.py index 296c45ebc0..e256e0f185 100644 --- a/xc/xc7/tests/bram_test/generate_test.py +++ b/xc/xc7/tests/bram_test/generate_test.py @@ -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), }