mirror of
https://github.com/Silicon1602/srdl2sv.git
synced 2024-12-22 23:08:39 +00:00
19 lines
412 B
Systemverilog
19 lines
412 B
Systemverilog
|
package srdl2sv_if_pkg;
|
||
|
|
||
|
typedef struct packed { // .Verilator does not support unpacked structs in packages
|
||
|
logic [31:0] addr;
|
||
|
logic [31:0] data;
|
||
|
logic w_vld;
|
||
|
logic r_vld;
|
||
|
logic [ 3:0] byte_en;
|
||
|
} b2r_t;
|
||
|
|
||
|
typedef struct packed { // .Verilator does not support unpacked structs in packages
|
||
|
logic [31:0] data;
|
||
|
logic rdy;
|
||
|
logic err;
|
||
|
} r2b_t;
|
||
|
|
||
|
endpackage
|
||
|
|