<##//////////////////////////////////////////////////////////////////
|
<##//////////////////////////////////////////////////////////////////
|
//// ////
|
//// ////
|
//// Author: Eyal Hochberg ////
|
//// Author: Eyal Hochberg ////
|
//// eyal@provartec.com ////
|
//// eyal@provartec.com ////
|
//// ////
|
//// ////
|
//// Downloaded from: http://www.opencores.org ////
|
//// Downloaded from: http://www.opencores.org ////
|
/////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////
|
//// ////
|
//// ////
|
//// Copyright (C) 2010 Provartec LTD ////
|
//// Copyright (C) 2010 Provartec LTD ////
|
//// www.provartec.com ////
|
//// www.provartec.com ////
|
//// info@provartec.com ////
|
//// info@provartec.com ////
|
//// ////
|
//// ////
|
//// This source file may be used and distributed without ////
|
//// This source file may be used and distributed without ////
|
//// restriction provided that this copyright statement is not ////
|
//// restriction provided that this copyright statement is not ////
|
//// removed from the file and that any derivative work contains ////
|
//// removed from the file and that any derivative work contains ////
|
//// the original copyright notice and the associated disclaimer.////
|
//// the original copyright notice and the associated disclaimer.////
|
//// ////
|
//// ////
|
//// This source file is free software; you can redistribute it ////
|
//// This source file is free software; you can redistribute it ////
|
//// and/or modify it under the terms of the GNU Lesser General ////
|
//// and/or modify it under the terms of the GNU Lesser General ////
|
//// Public License as published by the Free Software Foundation.////
|
//// Public License as published by the Free Software Foundation.////
|
//// ////
|
//// ////
|
//// This source is distributed in the hope that it will be ////
|
//// This source is distributed in the hope that it will be ////
|
//// useful, but WITHOUT ANY WARRANTY; without even the implied ////
|
//// useful, but WITHOUT ANY WARRANTY; without even the implied ////
|
//// warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR ////
|
//// warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR ////
|
//// 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)
|
REQUIRE(1.4)
|
|
|
INCLUDE def_ic_static.txt
|
INCLUDE def_ic_static.txt
|
|
|
SWAP.GLOBAL #FFD #1 ##flip-flop delay
|
SWAP.GLOBAL #FFD #1 ##flip-flop delay
|
|
|
SWAP.USER PREFIX fabric_MASTER_NUM_SLAVE_NUM ##prefix for all module and file names
|
SWAP.USER PREFIX fabric_MASTER_NUM_SLAVE_NUM ##prefix for all module and file names
|
|
|
SWAP.USER MASTER_NUM 3 ##number of masters
|
SWAP.USER MASTER_NUM 3 ##number of masters
|
SWAP.USER SLAVE_NUM 6 ##number of slaves
|
SWAP.USER SLAVE_NUM 6 ##number of slaves
|
|
|
SWAP.USER CMD_DEPTH 8 ##AXI command depth for read and write
|
SWAP.USER CMD_DEPTH 4 ##AXI master command depth for read and write
|
|
SWAP.USER SLV_DEPTH 8 ##AXI slave command depth for read and write
|
|
|
SWAP.USER DATA_BITS 64 ##AXI data bits
|
SWAP.USER DATA_BITS 64 ##AXI data bits
|
SWAP.USER ADDR_BITS 32 ##AXI address bits
|
SWAP.USER ADDR_BITS 32 ##AXI address bits
|
|
|
DEFINE.USER DEF_DECERR_SLV ##use interanl decode slave error
|
DEFINE.USER DEF_DECERR_SLV ##use interanl decode slave error
|
|
|
SWAP.USER USER_BITS 4 ##AXI user bits
|
SWAP.USER USER_BITS 4 ##AXI user bits
|
|
|
SWAP.USER MSTR_ID_BITS 4 ##AXI ID bits
|
SWAP.USER MSTR_ID_BITS 4 ##AXI ID bits
|
|
|
UNDEF.USER UNIQUE_ID ##If defined all IDs must be unique, else bits will be added to slave IDs to identify masters
|
UNDEF.USER UNIQUE_ID ##If defined all IDs must be unique, else bits will be added to slave IDs to identify masters
|
|
|
|
|
GROUP.USER M0_ID is { ##Supported AXI IDs for master 0 (binary)
|
GROUP.USER M0_ID is { ##Supported AXI IDs for master 0 (binary)
|
000
|
000
|
001
|
001
|
}
|
}
|
GROUP.USER M1_ID is { ##Supported AXI IDs for master 1 (binary)
|
GROUP.USER M1_ID is { ##Supported AXI IDs for master 1 (binary)
|
011
|
011
|
}
|
}
|
GROUP.USER M2_ID is { ##Supported AXI IDs for master 2 (binary)
|
GROUP.USER M2_ID is { ##Supported AXI IDs for master 2 (binary)
|
000
|
000
|
100
|
100
|
101
|
101
|
}
|
}
|
|
|