SummerCart64/fw/rtl/fifo/fifo_bus.sv

32 lines
550 B
Systemverilog

interface fifo_bus ();
logic rx_empty;
logic rx_read;
logic [7:0] rx_rdata;
logic tx_full;
logic tx_write;
logic [7:0] tx_wdata;
modport controller (
input rx_empty,
output rx_read,
input rx_rdata,
input tx_full,
output tx_write,
output tx_wdata
);
modport fifo (
output rx_empty,
input rx_read,
output rx_rdata,
output tx_full,
input tx_write,
input tx_wdata
);
endinterface