Skip to content

Commit 5a64f75

Browse files
authored
Merge pull request #119 from antmicro/acom/additional-target-for-dcp-only
cmake: add target to run all dcp generation for xilinx archs
2 parents 5b91aec + 66275c5 commit 5a64f75

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

devices/chipdb_xilinx.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,8 @@ function(generate_xc7_device_db)
159159
if(DEFINED device_target)
160160
set(${device_target} timing-${device}-device PARENT_SCOPE)
161161
endif()
162+
163+
add_custom_target(all-${device}-dcp-bit)
162164
endfunction()
163165

164166
function(generate_xcup_device_db)

tests/arch_tests.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ function(add_xc7_test)
139139
add_custom_target(${arch}-${test_name}-dcp-bit DEPENDS ${dcp_bit})
140140
add_dependencies(all-vendor-bit-tests ${arch}-${test_name}-dcp-bit)
141141
add_dependencies(all-${device}-vendor-bit-tests ${arch}-${test_name}-dcp-bit)
142+
add_dependencies(all-${device}-dcp-bit ${arch}-${test_name}-dcp-bit)
142143

143144
set(dcp_fasm ${output_dir}/${name}.dcp.bit.fasm)
144145
add_custom_command(
@@ -396,6 +397,7 @@ function(add_xcup_test)
396397
add_custom_target(${arch}-${test_name}-dcp-bit DEPENDS ${dcp_bit})
397398
add_dependencies(all-vendor-bit-tests ${arch}-${test_name}-dcp-bit)
398399
add_dependencies(all-${device}-vendor-bit-tests ${arch}-${test_name}-dcp-bit)
400+
add_dependencies(all-${device}-dcp-bit ${arch}-${test_name}-dcp-bit)
399401
endif()
400402

401403
endfunction()

0 commit comments

Comments
 (0)