OpenCores
URL https://opencores.org/ocsvn/axi_master/axi_master/trunk

Subversion Repositories axi_master

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 15 to Rev 16
    Reverse comparison

Rev 15 → Rev 16

/axi_master/trunk/run/run.bat
1,7 → 1,7
 
echo off
 
::..\..\..\robust.exe ../src/base/axi_master.v -od out -I ../src/gen -list list.txt -listpath -header -gui
::..\..\..\..\robust.exe ../src/base/axi_master.v -od out -I ../src/gen -list list.txt -listpath -header -gui
 
..\..\..\robust.exe robust_axi_master.pro -gui %1 %2 %3
..\..\..\..\robust.exe ../robust_axi_master.pro -gui %1 %2 %3
 
/axi_master/trunk/run/run.sh
1,12 → 1,12
#!/bin/bash
 
../../../robust -null
../../../../robust -null
if [ $? -eq 0 ];then
ROBUST=../../../robust
ROBUST=../../../../robust
else
echo "RobustVerilog warning: GUI version not supported - using non-GUI version robust-lite"
ROBUST=../../../robust-lite
ROBUST=../../../../robust-lite
fi
 
#$ROBUST ../src/base/axi_master.v -od out -I ../src/gen -list list.txt -listpath -header -gui ${@}
$ROBUST robust_axi_master.pro -gui ${@}
#$ROBUST src/base/axi_master.v -od out -I ../src/gen -list list.txt -listpath -header -gui ${@}
$ROBUST ../robust_axi_master.pro -gui ${@}
/axi_master/trunk/src/gen/prgen_rand.v
66,7 → 66,6
input [31:0] num;
input [31:0] align_size;
integer align;
begin
align = num - (num % align_size);
end
76,14 → 75,13
function integer rand_align;
input [31:0] min;
input [31:0] max;
input [31:0] align;
input [31:0] align_val;
 
integer rand_align;
begin
rand_align = rand(min, max);
if (rand_align > align)
rand_align = align(rand_align, align);
if (rand_align > align_val)
rand_align = align(rand_align, align_val);
end
endfunction
 
/axi_master/trunk/src/base/ic_wdata.v
27,6 → 27,7
//// ////
//////////////////////////////////////////////////////////////////##>
 
OUTFILE PREFIX_ic_wdata.v
 
ITER MX
/axi_master/trunk/src/base/def_ic.txt
27,7 → 27,7
//// ////
//////////////////////////////////////////////////////////////////##>
 
REQUIRE(1.3)
REQUIRE(1.4)
 
INCLUDE def_ic_static.txt
 
38,24 → 38,25
SWAP.USER MASTER_NUM 3 ##number of masters
SWAP.USER SLAVE_NUM 6 ##number of slaves
 
SWAP.USER CMD_DEPTH 8 ##AXI command depth for read and write
 
SWAP.USER DATA_BITS 64 ##AXI data bits
SWAP.USER ADDR_BITS 32 ##AXI address bits
 
DEFINE.USER DEF_DECERR_SLV ##use interanl decode slave error
SWAP.USER USER_BITS 4 ##AXI user bits
 
SWAP ID_BITS 3 ##AXI ID bits
SWAP.USER ID_BITS 3 ##AXI ID bits
 
GROUP M0_ID is {
GROUP.USER M0_ID is { ##Supported AXI IDs for master 0
b000
b001
}
GROUP M1_ID is {
GROUP.USER M1_ID is { ##Supported AXI IDs for master
b011
}
GROUP M2_ID is {
GROUP.USER M2_ID is { ##Supported AXI IDs for master 2
b101
}
SWAP.USER CMD_DEPTH 8 ##AXI command depth for read and write
 
SWAP.USER DATA_BITS 64 ##AXI data bits
SWAP.USER ADDR_BITS 32 ##AXI address bits
 
SWAP.USER USER_BITS 4 ##AXI user bits
/axi_master/trunk/src/base/def_axi_master.txt
27,7 → 27,7
//// ////
//////////////////////////////////////////////////////////////////##>
 
VERIFY (VERSION >=1.3) else Version 1.3 or higher is required (Current version is VERSION)
REQUIRE(1.4)
 
INCLUDE def_axi_master_static.txt
 
/axi_master/trunk/src/base/def_ic_static.txt
26,8 → 26,7
//// details. http://www.gnu.org/licenses/lgpl.html ////
//// ////
//////////////////////////////////////////////////////////////////##>
 
##Static defines
SWAP.GLOBAL MODEL_NAME AXI interconnect fabric
 
SWAP MSTRS MASTER_NUM
/axi_master/trunk/src/base/def_axi_master_static.txt
29,8 → 29,8
 
SWAP.GLOBAL MODEL_NAME AXI master stub
 
VERIFY (DATA_BITS <= 64) else stub supports 32 or 64 bits data bus
VERIFY (SIZE_BITS <= 3) else stub supports 32 or 64 bits data bus
VERIFY (DATA_BITS <= 64) ##stub supports 32 or 64 bits data bus
VERIFY (SIZE_BITS <= 3) ##stub supports 32 or 64 bits data bus
 
GROUP STUB_AXI_A is {
ID ID_BITS output
/axi_master/trunk/src/base/ic.v
33,9 → 33,11
ITER MX
ITER SX SLAVE_NUM ##external slave ports don't include decerr slave
 
##check all masters have IDs
VERIFY (GROUP_MMX_ID.NUM > 0) else Master MX does not have group for AXI IDs
VERIFY (GROUP_MMX_ID.NUM > 0) ##Master MX does not have group for AXI IDs
VERIFY(UNIQUE(GONCAT(GROUP_MMX_ID ,))) ##Master MX IDs are not unique
 
 
module PREFIX_ic (PORTS);
 
input clk;
/axi_master/trunk/src/base/ic_registry_wr.v
139,7 → 139,7
LOOP SX
prgen_fifo #(MSTR_BITS, 32)
prgen_fifo #(MSTR_BITS, 32) //TBD SLV_DEPTH
master_fifo_SSX(
.clk(clk),
.reset(reset),
/axi_master/trunk/robust_axi_master.pro
0,0 → 1,14
PROJDIR = run
 
SRCFILE = axi_master.v
DEFFILE =
 
OUTDIR = out
 
INCDIR += ../src/base
INCDIR += ../src/gen
 
LIST = list.txt
+LISTPATH
 
+HEADER

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.