<##//////////////////////////////////////////////////////////////////
|
<##//////////////////////////////////////////////////////////////////
|
//// ////
|
//// ////
|
//// 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.5)
|
|
|
INCLUDE def_apb_master_static.txt
|
INCLUDE def_apb_master_static.txt
|
|
|
STARTUSER
|
STARTUSER
|
|
|
SWAP.GLOBAL #FFD #1 ##Flip-flop delay
|
SWAP.GLOBAL #FFD #1 ##Flip-flop delay
|
|
|
SWAP.USER PREFIX apb_master ##Prefix for all module and file names
|
SWAP.USER PREFIX apb_master ##Prefix for all module and file names
|
|
|
SWAP.GLOBAL.USER ADDR_BITS 16 ##APB address bits
|
SWAP.GLOBAL.USER ADDR_BITS 16 ##APB address bits
|
SWAP.GLOBAL.USER DATA_BITS 32 ##AXI and APB data bits
|
SWAP.GLOBAL.USER DATA_BITS 32 ##AXI and APB data bits
|
|
|
DEFINE.USER APB3 ##if set use pready and pslverr APB3 signals
|
DEFINE.USER APB3 ##if set use pready and pslverr APB3 signals
|
|
|
|
|