Skip to content

Commit

Permalink
Added disk-only and overlap TrackBuilder (TB) seeds. (#297)
Browse files Browse the repository at this point in the history
  • Loading branch information
aehart authored Sep 7, 2023
1 parent a6392a4 commit 9d58738
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
12 changes: 12 additions & 0 deletions TestBenches/TrackBuilder_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,18 @@ using namespace std;
#elif SEED_ == L5L6_
constexpr unsigned kNBarrelStubs = 4;
constexpr unsigned kNDiskStubs = 0;
#elif SEED_ == D1D2_
constexpr unsigned kNBarrelStubs = 2;
constexpr unsigned kNDiskStubs = 3;
#elif SEED_ == D3D4_
constexpr unsigned kNBarrelStubs = 1;
constexpr unsigned kNDiskStubs = 3;
#elif SEED_ == L1D1_
constexpr unsigned kNBarrelStubs = 0;
constexpr unsigned kNDiskStubs = 4;
#elif SEED_ == L2D1_
constexpr unsigned kNBarrelStubs = 1;
constexpr unsigned kNDiskStubs = 3;
#else
# error "Undefined seed"
#endif
Expand Down
5 changes: 5 additions & 0 deletions project/script_TB.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,16 @@
# get some information about the executable and environment
source env_hls.tcl

# FIXME: FT_D1D2 is excluded for now because it currently produces extra
# entries compared to the emulation
set modules_to_test {
{FT_L1L2}
{FT_L2L3}
{FT_L3L4}
{FT_L5L6}
{FT_D3D4}
{FT_L1D1}
{FT_L2D1}
}
# module_to_export must correspond to the default macros set at the top of the
# test bench; otherwise, the C/RTL cosimulation will fail
Expand Down

0 comments on commit 9d58738

Please sign in to comment.