25 lines
393 B
Systemverilog
25 lines
393 B
Systemverilog
`ifndef __COMMON_SVH__
|
|
`define __COMMON_SVH__
|
|
|
|
`default_nettype none
|
|
|
|
`define STRING(String) String
|
|
|
|
package common;
|
|
|
|
typedef bit [31:0] uint32_t;
|
|
typedef bit [15:0] uint16_t;
|
|
typedef bit [7:0] uint8_t;
|
|
|
|
typedef uint32_t uint;
|
|
|
|
// typedef struct {
|
|
// bit [DEEPTH - 1:0] red;
|
|
// bit [DEEPTH - 1:0] green;
|
|
// bit [DEEPTH - 1:0] blue;
|
|
// } color_t;
|
|
|
|
endpackage
|
|
|
|
`endif
|