Skip to content

Commit

Permalink
Added test for bus with 128 bits
Browse files Browse the repository at this point in the history
  • Loading branch information
gggg100 committed Oct 3, 2024
1 parent aba8005 commit 23e0cb1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions panda_regressions/hls/bambu_interface_test/axi_small_write.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@
#pragma HLS interface port = b mode = m_axi offset = direct bundle = gmem1

#if defined(BIG_BUS)
#pragma HLS cache bundle = gmem0 line_count = 16 line_size = 16 bus_size = 64 ways = 1 num_write_outstanding = 2 rep_policy = \
#pragma HLS cache bundle = gmem0 line_count = 16 line_size = 16 bus_size = 128 ways = 1 num_write_outstanding = 2 rep_policy = \
lru write_policy = wt
#pragma HLS cache bundle = gmem1 line_count = 16 line_size = 16 bus_size = 64 ways = 1 num_write_outstanding = 2 rep_policy = \
#pragma HLS cache bundle = gmem1 line_count = 16 line_size = 16 bus_size = 128 ways = 1 num_write_outstanding = 2 rep_policy = \
lru write_policy = wt
#else
#pragma HLS cache bundle = gmem0 line_count = 16 line_size = 16 bus_size = 32 ways = 1 num_write_outstanding = 2 rep_policy = \
#pragma HLS cache bundle = gmem0 line_count = 16 line_size = 16 bus_size = 128 ways = 1 num_write_outstanding = 2 rep_policy = \
lru write_policy = wt
#pragma HLS cache bundle = gmem1 line_count = 16 line_size = 16 bus_size = 32 ways = 1 num_write_outstanding = 2 rep_policy = \
#pragma HLS cache bundle = gmem1 line_count = 16 line_size = 16 bus_size = 128 ways = 1 num_write_outstanding = 2 rep_policy = \
lru write_policy = wt
#endif
int __attribute__((noinline)) vector_copy_plus(int* a, int* b)
Expand Down

0 comments on commit 23e0cb1

Please sign in to comment.