Skip to content

Commit

Permalink
lib: xc7series: verify bitstream variants parse to same configurations
Browse files Browse the repository at this point in the history
Normal, debug, and per-frame CRC bitstreams differ in the commands used
to write the frame data but should generate equivalent configurations.
Note that this currently fails as something is wrong with normal
bitstream parsing.

Signed-off-by: Rick Altherr <[email protected]>
  • Loading branch information
mx-shift committed Jan 4, 2018
1 parent 0d2c33b commit 6ba4112
Show file tree
Hide file tree
Showing 6 changed files with 1,785 additions and 3 deletions.
3 changes: 2 additions & 1 deletion lib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ if (PRJXRAY_BUILD_TESTING)
target_link_libraries(xilinx_xc7series_configuration_test
libprjxray gtest_main absl::span)
add_test(NAME xilinx_xc7series_configuration_test
COMMAND xilinx_xc7series_configuration_test)
COMMAND xilinx_xc7series_configuration_test
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/test_data)

add_executable(xilinx_xc7series_configuration_packet_test
xilinx/xc7series/configuration_packet_test.cc)
Expand Down
Binary file added lib/test_data/configuration_test.bit
Binary file not shown.
Binary file added lib/test_data/configuration_test.debug.bit
Binary file not shown.
Binary file added lib/test_data/configuration_test.perframecrc.bit
Binary file not shown.
Loading

0 comments on commit 6ba4112

Please sign in to comment.