1
0
mirror of https://github.com/aolofsson/oh.git synced 2025-02-07 06:44:09 +08:00
oh/mio/hdl/mio_regmap.vh
aolofsson 289024fd89 Flattening directory tree (again)
- Creating an arbitrary 'src' directory really doesn't help much...
- Goal is to make each folder self contained
- Make meta repos and individual repos have the same directory structure
2022-06-21 14:48:48 -04:00

17 lines
518 B
Systemverilog

`ifndef MIO_REGMAP_VH_
`define MIO_REGMAP_VH_
//Registers addr[5:2]
`define MIO_CONFIG 4'd0 // general config
`define MIO_STATUS 4'd1 // status
`define MIO_CLKDIV 4'd2 // clk divider config
`define MIO_CLKPHASE 4'd3 // clk divider config
`define MIO_ODELAY 4'd4 // output data delay element
`define MIO_IDELAY 4'd5 // input data delay element
`define MIO_ADDR0 4'd6 // destination address for amode
`define MIO_ADDR1 4'd7 // destination address for amode
`endif // `ifndef MIO_REGMAP_VH_