This PR removes all the duplicate files we currently have in the 4 board variants (ofs_n6001, ofs_n6001_usm, ofs_n6001_iopipes, ofs_n6001_usm_iopipes) and moves the duplicate files into a common/ subfolder.
The setup_bsp.py script then copies the common files into the board variant directories which now only contain files that are different between the 4 board variants.
The files that are different are only these:
Collateral (docs, reports, design examples, case IDs):
none
Tests added:
none
Tests run:
The change was tested by doing the following:
run ./build-bsp.sh on an unmodified cloned repo from master
run ./build-bsp.sh on the changed repo from master
bcompare the hardware/ folder containing all the 4 board variants:
Only two differences are:
in the file ofs_asp_pkg.sv there is an added line
`include "ofs_ip_cfg_hssi_ss.vh"
as this was for the IO pipes board variants and now also added in the non-IO pipes variants but will just be not used
the .ip file for the extra pipeline stage in the USM board variants is now also present in the non-USM board variants, but will also not be used as it is not instantiated in the board.qsys file
Description
This PR removes all the duplicate files we currently have in the 4 board variants (ofs_n6001, ofs_n6001_usm, ofs_n6001_iopipes, ofs_n6001_usm_iopipes) and moves the duplicate files into a common/ subfolder. The setup_bsp.py script then copies the common files into the board variant directories which now only contain files that are different between the 4 board variants. The files that are different are only these:
board_spec.xml build/board.qsys build/opencl_afu.json build/ip/board/board_afu_id_avmm_slave_0.ip build/rtl/ofs_asp.vh
Collateral (docs, reports, design examples, case IDs):
none
Tests added:
none
Tests run:
The change was tested by doing the following:
Only two differences are:
in the file ofs_asp_pkg.sv there is an added line `include "ofs_ip_cfg_hssi_ss.vh" as this was for the IO pipes board variants and now also added in the non-IO pipes variants but will just be not used
the .ip file for the extra pipeline stage in the USM board variants is now also present in the non-USM board variants, but will also not be used as it is not instantiated in the board.qsys file