1
0
mirror of https://github.com/aolofsson/oh.git synced 2025-01-30 02:32:53 +08:00
oh/edma/hdl/edma_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

15 lines
539 B
Systemverilog

//Registers addr[6:2], 64 bits per register
`ifndef EDMA_REGMAP_VH_
`define EDMA_REGMAP_VH_
`define EDMA_CONFIG 5'd0 // general config
`define EDMA_STRIDE 5'd1 // stride
`define EDMA_COUNT 5'd2 // count
`define EDMA_SRCADDR 5'd3 // source address
`define EDMA_DSTADDR 5'd4 // destination address
`define EDMA_SRCADDR64 5'd5 // extended source address (64b)
`define EDMA_DSTADDR64 5'd6 // extended destinationa ddress (64b)
`define EDMA_STATUS 5'd7 // status register
`endif // `ifndef EDMA_REGMAP_VH_