OFS / oneapi-asp

Intel® oneAPI Accelerator Support Package (ASP)
MIT License
2 stars 8 forks source link

[Style] remove all duplicate files in the 4 board variants and move them into a common subfolder #127

Closed boelkrug-intel closed 7 months ago

boelkrug-intel commented 7 months ago

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:

  1. 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

  2. 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