Line 29... |
Line 29... |
|
|
INCLUDE def_axi2apb_static.txt
|
INCLUDE def_axi2apb_static.txt
|
|
|
SWAP #FFD #1 ## flip-flop delay
|
SWAP #FFD #1 ## flip-flop delay
|
|
|
SWAP PREFIX soc ## prefix for all modules and file names
|
SWAP.USER PREFIX axi2apb ## Prefix for all modules and file names
|
|
|
SWAP SLAVE_NUM 8 ## number of APB slaves
|
SWAP.USER SLAVE_NUM 8 ## Number of APB slaves
|
|
|
SWAP CMD_DEPTH 2 ## number of AXI command FIFO
|
SWAP.USER CMD_DEPTH 2 ## Number of AXI command FIFO
|
|
|
SWAP ADDR_BITS 24 ## AXI and APB address bits
|
SWAP.USER ADDR_BITS 24 ## AXI and APB address bits
|
SWAP ID_BITS 4 ## AXI ID bits
|
SWAP.USER ID_BITS 4 ## AXI ID bits
|
SWAP DEC_BITS 8 ## Address MSBits for slave decoding
|
SWAP.USER DEC_BITS 8 ## Address MSBits for slave decoding
|
|
|
SWAP DEC_ADDR0 DEC_BITS'h00 ## Slave 0 address deciding
|
SWAP.USER DEC_ADDR0 'h00 ## Slave 0 address deciding
|
SWAP DEC_ADDR1 DEC_BITS'h01 ## Slave 1 address deciding
|
SWAP.USER DEC_ADDR1 'h01 ## Slave 1 address deciding
|
SWAP DEC_ADDR2 DEC_BITS'h02 ## Slave 2 address deciding
|
SWAP.USER DEC_ADDR2 'h02 ## Slave 2 address deciding
|
SWAP DEC_ADDR3 DEC_BITS'h03 ## Slave 3 address deciding
|
SWAP.USER DEC_ADDR3 'h03 ## Slave 3 address deciding
|
SWAP DEC_ADDR4 DEC_BITS'h10 ## Slave 4 address deciding
|
SWAP.USER DEC_ADDR4 'h10 ## Slave 4 address deciding
|
SWAP DEC_ADDR5 DEC_BITS'h11 ## Slave 5 address deciding
|
SWAP.USER DEC_ADDR5 'h11 ## Slave 5 address deciding
|
SWAP DEC_ADDR6 DEC_BITS'h12 ## Slave 6 address deciding
|
SWAP.USER DEC_ADDR6 'h12 ## Slave 6 address deciding
|
SWAP DEC_ADDR7 DEC_BITS'h13 ## Slave 7 address deciding
|
SWAP.USER DEC_ADDR7 'h13 ## Slave 7 address deciding
|
SWAP.USER DEC_ADDR7 'h13 ## Slave 7 address deciding
|
SWAP.USER DEC_ADDR7 'h13 ## Slave 7 address deciding
|