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

Subversion Repositories apb_slave

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /apb_slave
    from Rev 6 to Rev 7
    Reverse comparison

Rev 6 → Rev 7

/trunk/run/run.bat
1,6 → 1,6
 
echo off
 
::..\..\..\robust.exe ../src/base/apb_slave.v -od out -I ../src/gen -list list.txt -listpath -header -gui
::..\..\..\..\robust.exe ../src/base/apb_slave.v -od out -I ../src/gen -list list.txt -listpath -header -gui
 
..\..\..\robust.exe robust_apb_slave.pro -gui %1 %2 %3
..\..\..\..\robust.exe ../robust_apb_slave.pro -gui %1 %2 %3
/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/apb_slave.v -od out -I ../src/gen -list list.txt -listpath -header -gui ${@}
$ROBUST robust_apb_slave.pro -gui ${@}
#$ROBUST src/base/apb_slave.v -od out -I ../src/gen -list list.txt -listpath -header -gui ${@}
$ROBUST ../robust_apb_slave.pro -gui ${@}
/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
 
/trunk/src/base/def_apb_slave_static.txt
29,7 → 29,7
 
SWAP.GLOBAL MODEL_NAME APB slave stub
VERIFY (ADDR_BITS<=24) else Memory size should not be too big to prevent maloc fail
VERIFY (ADDR_BITS<=24) ##Memory size should not be too big to prevent maloc fail
 
SWAP DATA_BITS 32 ##APB is always 32 bits data
/trunk/src/base/def_apb_slave.txt
27,7 → 27,7
//// ////
//////////////////////////////////////////////////////////////////##>
 
REQUIRE(1.3)
REQUIRE(1.4)
 
INCLUDE def_apb_slave_static.txt
 
/trunk/robust_apb_slave.pro
0,0 → 1,14
PROJDIR = run
 
SRCFILE = apb_slave.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.