Skip to content

Commit

Permalink
#0: Use stream autoinc register to send word credits over ethernet.
Browse files Browse the repository at this point in the history
  • Loading branch information
ubcheema committed Feb 4, 2025
1 parent 0e07413 commit 8d9efbf
Show file tree
Hide file tree
Showing 4 changed files with 198 additions and 247 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ void kernel_main() {

bool all_packets_initialized = test_buffer_handler();

if (test_producer.get_curr_packet_valid()) {
if (test_producer.get_curr_packet_valid<FVC_MODE_ENDPOINT>()) {
curr_packet_size =
(test_producer.current_packet_header.routing.packet_size_bytes + PACKET_WORD_SIZE_BYTES - 1) >> 4;
uint32_t curr_data_words_sent = test_producer.pull_data_from_fvc_buffer<FVC_MODE_ENDPOINT>();
Expand Down
Loading

0 comments on commit 8d9efbf

Please sign in to comment.