Skip to content

Commit 3ceaf4c

Browse files
committed
Specified top-level module names for test designs
Signed-off-by: Maciej Kurc <[email protected]>
1 parent 42a5b05 commit 3ceaf4c

File tree

14 files changed

+30
-0
lines changed

14 files changed

+30
-0
lines changed

quicklogic/qlf_k6n10/tests/design_flow/adder_128/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ set(ADDER_128 ${QL_DESIGNS_DIR}/adder_128/adder_128.v)
22

33
add_fpga_target(
44
NAME adder_128-gf12-no-adder
5+
TOP adder_128
56
BOARD qlf_k6n10-qlf_k6n10_gf12_board
67
SOURCES ${ADDER_128}
78
EXPLICIT_ADD_FILE_TARGET
@@ -10,6 +11,7 @@ add_fpga_target(
1011

1112
add_fpga_target(
1213
NAME adder_128-gf12-adder
14+
TOP adder_128
1315
BOARD qlf_k6n10-qlf_k6n10_gf12_board
1416
SOURCES ${ADDER_128}
1517
EXPLICIT_ADD_FILE_TARGET

quicklogic/qlf_k6n10/tests/design_flow/adder_64/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ set(ADDER_64 ${QL_DESIGNS_DIR}/adder_64/adder_64.v)
22

33
add_fpga_target(
44
NAME adder_64-gf12-no-adder
5+
TOP adder_64
56
BOARD qlf_k6n10-qlf_k6n10_gf12_board
67
SOURCES ${ADDER_64}
78
EXPLICIT_ADD_FILE_TARGET
@@ -10,6 +11,7 @@ add_fpga_target(
1011

1112
add_fpga_target(
1213
NAME adder_64-gf12-adder
14+
TOP adder_64
1315
BOARD qlf_k6n10-qlf_k6n10_gf12_board
1416
SOURCES ${ADDER_64}
1517
EXPLICIT_ADD_FILE_TARGET

quicklogic/qlf_k6n10/tests/design_flow/adder_8/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ set(ADDER_8 ${QL_DESIGNS_DIR}/adder_8/adder_8.v)
22

33
add_fpga_target(
44
NAME adder_8-gf12-no-adder
5+
TOP adder_8
56
BOARD qlf_k6n10-qlf_k6n10_gf12_board
67
SOURCES ${ADDER_8}
78
EXPLICIT_ADD_FILE_TARGET
@@ -10,6 +11,7 @@ add_fpga_target(
1011

1112
add_fpga_target(
1213
NAME adder_8-gf12-adder
14+
TOP adder_8
1315
BOARD qlf_k6n10-qlf_k6n10_gf12_board
1416
SOURCES ${ADDER_8}
1517
EXPLICIT_ADD_FILE_TARGET

quicklogic/qlf_k6n10/tests/design_flow/and2/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ set(AND2 ${QL_DESIGNS_DIR}/and2/and2.v)
22

33
add_fpga_target(
44
NAME and2-gf12-no-adder
5+
TOP and2
56
BOARD qlf_k6n10-qlf_k6n10_gf12_board
67
SOURCES ${AND2}
78
EXPLICIT_ADD_FILE_TARGET
@@ -10,6 +11,7 @@ add_fpga_target(
1011

1112
add_fpga_target(
1213
NAME and2-gf12-adder
14+
TOP and2
1315
BOARD qlf_k6n10-qlf_k6n10_gf12_board
1416
SOURCES ${AND2}
1517
EXPLICIT_ADD_FILE_TARGET

quicklogic/qlf_k6n10/tests/design_flow/and2_latch/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ set(AND2_LATCH ${QL_DESIGNS_DIR}/and2_latch/and2_latch.v)
22

33
add_fpga_target(
44
NAME and2_latch-gf12-no-adder
5+
TOP and2_latch
56
BOARD qlf_k6n10-qlf_k6n10_gf12_board
67
SOURCES ${AND2_LATCH}
78
EXPLICIT_ADD_FILE_TARGET
@@ -10,6 +11,7 @@ add_fpga_target(
1011

1112
add_fpga_target(
1213
NAME and2_latch-gf12-adder
14+
TOP and2_latch
1315
BOARD qlf_k6n10-qlf_k6n10_gf12_board
1416
SOURCES ${AND2_LATCH}
1517
EXPLICIT_ADD_FILE_TARGET

quicklogic/qlf_k6n10/tests/design_flow/bin2bcd/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ set(BIN2BCD ${QL_DESIGNS_DIR}/bin2bcd/bin2bcd.v)
22

33
add_fpga_target(
44
NAME bin2bcd-gf12-no-adder
5+
TOP bin2bcd
56
BOARD qlf_k6n10-qlf_k6n10_gf12_board
67
SOURCES ${BIN2BCD}
78
EXPLICIT_ADD_FILE_TARGET
@@ -10,6 +11,7 @@ add_fpga_target(
1011

1112
add_fpga_target(
1213
NAME bin2bcd-gf12-adder
14+
TOP bin2bcd
1315
BOARD qlf_k6n10-qlf_k6n10_gf12_board
1416
SOURCES ${BIN2BCD}
1517
EXPLICIT_ADD_FILE_TARGET

quicklogic/qlf_k6n10/tests/design_flow/bram/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ add_file_target(FILE ${BRAM} SCANNER_TYPE verilog)
66

77
add_fpga_target(
88
NAME bram-gf12-mode0
9+
TOP BRAM_32x512
910
BOARD qlf_k6n10-qlf_k6n10_gf12_board
1011
SOURCES ${BRAM}
1112
EXPLICIT_ADD_FILE_TARGET
@@ -14,6 +15,7 @@ add_fpga_target(
1415

1516
add_fpga_target(
1617
NAME bram-gf12-mode1
18+
TOP BRAM_16x1024
1719
BOARD qlf_k6n10-qlf_k6n10_gf12_board
1820
SOURCES ${BRAM}
1921
EXPLICIT_ADD_FILE_TARGET
@@ -24,6 +26,7 @@ add_fpga_target(
2426

2527
add_fpga_target(
2628
NAME bram-gf12-mode2
29+
TOP BRAM_8x2048
2730
BOARD qlf_k6n10-qlf_k6n10_gf12_board
2831
SOURCES ${BRAM}
2932
EXPLICIT_ADD_FILE_TARGET
@@ -32,6 +35,7 @@ add_fpga_target(
3235

3336
add_fpga_target(
3437
NAME bram-gf12-mode3
38+
TOP BRAM_4x4096
3539
BOARD qlf_k6n10-qlf_k6n10_gf12_board
3640
SOURCES ${BRAM}
3741
EXPLICIT_ADD_FILE_TARGET

quicklogic/qlf_k6n10/tests/design_flow/counter/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ add_file_target(FILE ${COUNTER} SCANNER_TYPE verilog)
33

44
add_fpga_target(
55
NAME counter-gf12-no-adder
6+
TOP top
67
BOARD qlf_k6n10-qlf_k6n10_gf12_board
78
SOURCES ${COUNTER}
89
EXPLICIT_ADD_FILE_TARGET
@@ -11,6 +12,7 @@ add_fpga_target(
1112

1213
add_fpga_target(
1314
NAME counter-gf12-adder
15+
TOP top
1416
BOARD qlf_k6n10-qlf_k6n10_gf12_board
1517
SOURCES ${COUNTER}
1618
EXPLICIT_ADD_FILE_TARGET

quicklogic/qlf_k6n10/tests/design_flow/mac_16/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,15 @@ add_file_target(FILE ${MAC_16} SCANNER_TYPE verilog)
44

55
add_fpga_target(
66
NAME mac_16-gf12-dsp
7+
TOP mac_16
78
BOARD qlf_k6n10-qlf_k6n10_gf12_board
89
SOURCES ${MAC_16}
910
EXPLICIT_ADD_FILE_TARGET
1011
)
1112

1213
add_fpga_target(
1314
NAME mac_16-gf12-adder
15+
TOP mac_16
1416
BOARD qlf_k6n10-qlf_k6n10_gf12_board
1517
SOURCES ${MAC_16}
1618
EXPLICIT_ADD_FILE_TARGET

quicklogic/qlf_k6n10/tests/design_flow/multiplier_8bit/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ set(MULTIPLIER_8BIT ${QL_DESIGNS_DIR}/multiplier_8bit/multiplier_8bit.v)
22

33
add_fpga_target(
44
NAME multiplier_8bit-gf12-no-adder
5+
TOP multiplier_8bit
56
BOARD qlf_k6n10-qlf_k6n10_gf12_board
67
SOURCES ${MULTIPLIER_8BIT}
78
EXPLICIT_ADD_FILE_TARGET
@@ -10,6 +11,7 @@ add_fpga_target(
1011

1112
add_fpga_target(
1213
NAME multiplier_8bit-gf12-adder
14+
TOP multiplier_8bit
1315
BOARD qlf_k6n10-qlf_k6n10_gf12_board
1416
SOURCES ${MULTIPLIER_8BIT}
1517
EXPLICIT_ADD_FILE_TARGET

0 commit comments

Comments
 (0)