mirror of
https://github.com/Polprzewodnikowy/SummerCart64.git
synced 2024-11-23 14:29:14 +01:00
29 lines
504 B
Systemverilog
29 lines
504 B
Systemverilog
|
interface if_dma ();
|
||
|
|
||
|
logic request;
|
||
|
logic ack;
|
||
|
logic write;
|
||
|
logic [31:0] address;
|
||
|
logic [15:0] rdata;
|
||
|
logic [15:0] wdata;
|
||
|
|
||
|
modport cpu (
|
||
|
output request,
|
||
|
input ack,
|
||
|
output write,
|
||
|
output address,
|
||
|
input rdata,
|
||
|
output wdata
|
||
|
);
|
||
|
|
||
|
modport memory (
|
||
|
input request,
|
||
|
output ack,
|
||
|
input write,
|
||
|
input address,
|
||
|
output rdata,
|
||
|
input wdata
|
||
|
);
|
||
|
|
||
|
endinterface
|