-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* snitch_cluster: Fix ID mismatch on wide input * dma: Remove id module and fix reset value * dma: Mark DMA transactions as modifiable * testharness: Add DMA port into main memory * runtime: Add stdlib and only remove startfiles * sw/dma: Add DMA test * Move DMA functions to stand-alone compilation unit * Use FF macros for storage elements in DMA
- Loading branch information
Showing
15 changed files
with
391 additions
and
258 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
// Thomas Benz <[email protected]> | ||
|
||
// Sample implementation to report errors from the AXI bus. | ||
// This module provides the adress of errors on a handshacked interface | ||
// This module provides the address of errors on a handshaked interface | ||
|
||
module axi_dma_error_handler #( | ||
parameter int unsigned ADDR_WIDTH = -1, | ||
|
@@ -193,4 +193,4 @@ module axi_dma_error_handler #( | |
|
||
end | ||
|
||
endmodule : axi_dma_error_handler | ||
endmodule |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,6 @@ | |
// Thomas Benz <[email protected]> | ||
|
||
// Sample implementation of performance counters. | ||
|
||
module axi_dma_perf_counters #( | ||
parameter int unsigned TRANSFER_ID_WIDTH = -1, | ||
parameter int unsigned DATA_WIDTH = -1, | ||
|
@@ -148,14 +147,7 @@ module axi_dma_perf_counters #( | |
if (dma_busy_i) dma_perf_d.dma_busy_cnt = dma_perf_q.dma_busy_cnt + 'h1; | ||
end | ||
|
||
always_ff @(posedge clk_i or negedge rst_ni) begin : proc_counter | ||
if(~rst_ni) begin | ||
dma_perf_q <= '0; | ||
end else begin | ||
dma_perf_q <= dma_perf_d; | ||
end | ||
end | ||
|
||
`FF(dma_perf_q, dma_perf_d, 0); | ||
assign dma_perf_o = dma_perf_q; | ||
|
||
endmodule |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.