URL
https://opencores.org/ocsvn/ahb_master/ahb_master/trunk
[/] [ahb_master/] [trunk/] [src/] [base/] [def_axi_master.txt] - Diff between revs 2 and 10
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 2 |
Rev 10 |
Line 25... |
Line 25... |
//// PURPOSE. See the GNU Lesser General Public License for more////
|
//// PURPOSE. See the GNU Lesser General Public License for more////
|
//// details. http://www.gnu.org/licenses/lgpl.html ////
|
//// details. http://www.gnu.org/licenses/lgpl.html ////
|
//// ////
|
//// ////
|
//////////////////////////////////////////////////////////////////##>
|
//////////////////////////////////////////////////////////////////##>
|
|
|
|
REQUIRE(1.4)
|
|
|
INCLUDE def_axi_master_static.txt
|
INCLUDE def_axi_master_static.txt
|
|
|
SWAP.GLOBAL #FFD #1 ##Flip-Flop simulation delay
|
SWAP.GLOBAL #FFD #1 ##Flip-Flop simulation delay
|
|
|
SWAP PREFIX axi_master ##prefix for all module and file names
|
SWAP.USER PREFIX axi_master ##prefix for all module and file names
|
|
|
SWAP ID_BITS 4 ##AXI ID bits
|
SWAP.USER ADDR_BITS 32 ##AXI address bits
|
SWAP ADDR_BITS 32 ##AXI address bits
|
SWAP.USER DATA_BITS 64 ##AXI data bits
|
SWAP DATA_BITS 64 ##AXI data bits
|
SWAP.USER LEN_BITS 4 ##AXI LEN bits
|
SWAP LEN_BITS 4 ##AXI LEN bits
|
SWAP.USER SIZE_BITS 2 ##AXI SIZE bits
|
SWAP SIZE_BITS 2 ##AXI SIZE bits
|
|
|
SWAP.USER CMD_DEPTH 4 ##AXI command depth for read and write
|
SWAP CMD_DEPTH 4 ##AXI command depth for read and write
|
|
|
SWAP.USER ID_BITS 4 ##AXI ID bits
|
SWAP ID_NUM 3 ##Number of IDs (internal masters)
|
|
SWAP ID0_VAL ID_BITS'b0011 ##AXI ID0
|
GROUP.USER AXI_ID is { ##Supported AXI IDs (one per internal master)
|
SWAP ID1_VAL ID_BITS'b0010 ##AXI ID1
|
b0011
|
SWAP ID2_VAL ID_BITS'b1010 ##AXI ID2
|
b0010
|
|
b1010
|
|
}
|
|
|
© copyright 1999-2025
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.