Skip to content

Commit

Permalink
tb: lint sources
Browse files Browse the repository at this point in the history
  • Loading branch information
fischeti committed Jul 2, 2024
1 parent e4233b0 commit 4ad2ceb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions hw/tb/tb_floo_vc_router.sv
Original file line number Diff line number Diff line change
Expand Up @@ -293,10 +293,12 @@ module tb_floo_vc_router;
collect_received_credits = 1;
// Test connectivity
if(Debug) $display("Testing connectivity from each vc in to each vc out");
// Explanation for batching: sending more than 2 directly consecutive messages to the same vc does not work due to buffer size
// Explanation for batching: sending more than 2 directly consecutive messages
// to the same vc does not work due to buffer size
for(vc_id_t vc_out_batch = 0; vc_out_batch < num_vc_out; vc_out_batch += 2) begin
for(vc_id_t vc_in = 0; vc_in < num_vc_in; vc_in ++) begin
for(vc_id_t vc_out = vc_out_batch; vc_out < vc_out_batch+2 && vc_out<num_vc_out; vc_out++) begin
for(vc_id_t vc_out = vc_out_batch;
vc_out < vc_out_batch+2 && vc_out<num_vc_out; vc_out++) begin
get_direction_from_vc(next_in_port, vc_out, expected_lookahead);
//input
randomize_flit();
Expand Down

0 comments on commit 4ad2ceb

Please sign in to comment.