-
-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SC64][FW] Verilator tests + many bugfixes in the FPGA code (#75)
- Loading branch information
1 parent
5e33e51
commit 1b71b4a
Showing
24 changed files
with
1,166 additions
and
320 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
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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
interface dma_scb (); | ||
|
||
logic start; | ||
logic stop; | ||
logic busy; | ||
logic direction; | ||
logic byte_swap; | ||
logic [26:0] starting_address; | ||
logic [26:0] transfer_length; | ||
|
||
modport controller ( | ||
output start, | ||
output stop, | ||
input busy, | ||
output direction, | ||
output byte_swap, | ||
output starting_address, | ||
output transfer_length | ||
); | ||
|
||
modport dma ( | ||
input start, | ||
input stop, | ||
output busy, | ||
input direction, | ||
input byte_swap, | ||
input starting_address, | ||
input transfer_length | ||
); | ||
|
||
endinterface |
Oops, something went wrong.