mirror of
https://github.com/aolofsson/oh.git
synced 2025-01-17 20:02:53 +08:00
00a921b839
-Moved "groups" to E,D,C -Changed names to EL* (shorter is better, clear enough) -Moved order to fit logical operation during init -Moved embox registers to MMR group DONE!
27 lines
488 B
Verilog
27 lines
488 B
Verilog
//MEMORY MAP
|
|
//Group set with bits 19:16
|
|
|
|
//Epiphany Register Memory Map
|
|
`define EGROUP_MMR 4'hE
|
|
`define EGROUP_RXMMU 4'hD
|
|
`define EGROUP_TXMMU 4'hC
|
|
|
|
//ELINK REGISTERS addr[6:2]
|
|
`define ELRESET 5'h0
|
|
`define ELCLK 5'h1
|
|
`define ELTX 5'h2
|
|
`define ELRX 5'h3
|
|
`define ELCOREID 5'h4
|
|
`define ELVERSION 5'h5
|
|
`define ELDATAIN 5'h6
|
|
`define ELDATAOUT 5'h7
|
|
`define ELDEBUG 5'h8
|
|
`define EMBOXLO 5'h9
|
|
`define EMBOXHI 5'hA
|
|
|
|
//RX MMU addr[15:0]
|
|
|
|
//TX MMU addr[15:0]
|
|
|
|
|