URL
https://opencores.org/ocsvn/robust_reg/robust_reg/trunk
Subversion Repositories robust_reg
Compare Revisions
- This comparison shows the changes necessary to convert path
/
- from Rev 8 to Rev 9
- ↔ Reverse comparison
Rev 8 → Rev 9
/robust_reg/trunk/run/run.bat
1,8 → 1,7
|
echo off |
|
..\..\..\robust.exe ../src/regfile.v -od out -list list.txt -listpath -header |
..\..\..\robust.exe ../src/regfile.h -od out -header |
..\..\..\robust.exe ../src/regfile.html -od out |
..\..\..\robust.exe ../src/base/regfile.h -od out -header -gui |
..\..\..\robust.exe ../src/base/regfile.html -od out -gui |
..\..\..\robust.exe ../src/base/regfile.v -od out -list list.txt -listpath -header -gui |
|
echo Completed RobustVerilog regfile run - results in run/out/ |
/robust_reg/trunk/run/run.sh
1,7 → 1,5
#!/bin/bash |
|
../../../robust ../src/regfile.v -od out -list list.txt -listpath -header ${@} |
../../../robust ../src/regfile.h -od out -header ${@} |
../../../robust ../src/regfile.html -od out ${@} |
|
echo Completed RobustVerilog regfile run - results in run/out/ |
../../../robust ../src/base/regfile.v -od out -list list.txt -listpath -header -gui ${@} |
../../../robust ../src/base/regfile.h -od out -header -gui ${@} |
../../../robust ../src/base/regfile.html -od out -gui ${@} |
/robust_reg/trunk/src/def_fields.txt
File deleted
/robust_reg/trunk/src/def_regs.txt
File deleted
/robust_reg/trunk/src/regfile.v
File deleted
/robust_reg/trunk/src/def_regfile.txt
File deleted
/robust_reg/trunk/src/regfile.h
File deleted
/robust_reg/trunk/src/regs.xls
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
robust_reg/trunk/src/regs.xls
Property changes :
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: robust_reg/trunk/src/regfile.html
===================================================================
--- robust_reg/trunk/src/regfile.html (revision 8)
+++ robust_reg/trunk/src/regfile.html (nonexistent)
@@ -1,50 +0,0 @@
-<##//////////////////////////////////////////////////////////////////
-//// ////
-//// Author: Eyal Hochberg ////
-//// eyal@provartec.com ////
-//// ////
-//// Downloaded from: http://www.opencores.org ////
-/////////////////////////////////////////////////////////////////////
-//// ////
-//// Copyright (C) 2010 Provartec LTD ////
-//// www.provartec.com ////
-//// info@provartec.com ////
-//// ////
-//// This source file may be used and distributed without ////
-//// restriction provided that this copyright statement is not ////
-//// removed from the file and that any derivative work contains ////
-//// the original copyright notice and the associated disclaimer.////
-//// ////
-//// This source file is free software; you can redistribute it ////
-//// and/or modify it under the terms of the GNU Lesser General ////
-//// Public License as published by the Free Software Foundation.////
-//// ////
-//// This source is distributed in the hope that it will be ////
-//// useful, but WITHOUT ANY WARRANTY; without even the implied ////
-//// warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR ////
-//// PURPOSE. See the GNU Lesser General Public License for more////
-//// details. http://www.gnu.org/licenses/lgpl.html ////
-//// ////
-//////////////////////////////////////////////////////////////////##>
-
-OUTFILE REGNAME_regfile.html
-INCLUDE def_regfile.txt
-
-
-
-
-LOOP RX REG_NUM
-
-
-
- GROUP_REGS[RX]
-
-
-
- Offset: 0xGROUP_REGS[RX].ADDR -
- Access: TYPE_GROUP_REGS[RX].TYPE -
- Description: GROUP_REGS[RX].DESC -
- Fields:
-
-
- GROUP_REGRX [EXPR(GROUP_REGRX.WIDTH+GROUP_REGRX.START-1):GROUP_REGRX.START]
Description: GROUP_REGRX.DESC
Access: TYPE_GROUP_REGRX.TYPE
Default value: GROUP_REGRX.DEFAULT
-
+
- GROUP_REGS[RX]
+
-
+
- Offset: 0xGROUP_REGS[RX].ADDR +
- Access: TYPE_GROUP_REGS[RX].TYPE +
- Description: GROUP_REGS[RX].DESC +
- Fields:
+
-
+ GROUP_REGRX [EXPR(GROUP_REGRX.WIDTH+GROUP_REGRX.START-1):GROUP_REGRX.START]
Description: GROUP_REGRX.DESC
Access: TYPE_GROUP_REGRX.TYPE
Default value: GROUP_REGRX.DEFAULT
robust_reg/trunk/src/base/regs.xls
Property changes :
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: robust_reg/trunk/src/base/def_regfile.txt
===================================================================
--- robust_reg/trunk/src/base/def_regfile.txt (nonexistent)
+++ robust_reg/trunk/src/base/def_regfile.txt (revision 9)
@@ -0,0 +1,57 @@
+<##//////////////////////////////////////////////////////////////////
+//// ////
+//// Author: Eyal Hochberg ////
+//// eyal@provartec.com ////
+//// ////
+//// Downloaded from: http://www.opencores.org ////
+/////////////////////////////////////////////////////////////////////
+//// ////
+//// Copyright (C) 2010 Provartec LTD ////
+//// www.provartec.com ////
+//// info@provartec.com ////
+//// ////
+//// This source file may be used and distributed without ////
+//// restriction provided that this copyright statement is not ////
+//// removed from the file and that any derivative work contains ////
+//// the original copyright notice and the associated disclaimer.////
+//// ////
+//// This source file is free software; you can redistribute it ////
+//// and/or modify it under the terms of the GNU Lesser General ////
+//// Public License as published by the Free Software Foundation.////
+//// ////
+//// This source is distributed in the hope that it will be ////
+//// useful, but WITHOUT ANY WARRANTY; without even the implied ////
+//// warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR ////
+//// PURPOSE. See the GNU Lesser General Public License for more////
+//// details. http://www.gnu.org/licenses/lgpl.html ////
+//// ////
+//////////////////////////////////////////////////////////////////##>
+
+INCLUDE def_regs.txt
+INCLUDE def_fields.txt
+
+SWAP FFD 1 ##flip-flop delay
+
+## Types:
+## RW - read / write (output from block)
+## RO - read only (input to block)
+## WO - write only (output to block)
+## IW - internal write (output to block - logic is added especially)
+## IR - internal read (no port - logic is added especially)
+ENUM TYPE_RW TYPE_RO TYPE_WO TYPE_IW TYPE_IR
+
+SWAP TYPE_TYPE_RW Read and Write
+SWAP TYPE_TYPE_RO Read only
+SWAP TYPE_TYPE_WO Write only
+
+GROUP APB is {
+ pclken 1 input
+ psel 1 input
+ penable 1 input
+ paddr ADDR_BITS input
+ pwrite 1 input
+ pwdata 32 input
+ prdata 32 output
+ pslverr 1 output
+ pready 1 output
+}
Index: robust_reg/trunk/src/base/def_regs.txt
===================================================================
--- robust_reg/trunk/src/base/def_regs.txt (nonexistent)
+++ robust_reg/trunk/src/base/def_regs.txt (revision 9)
@@ -0,0 +1,299 @@
+
+
+ SWAP REGNAME DMA
+ SWAP REG_NUM 6
+
+
+ GROUP REGS is {
+ CONFIG0 SON(ADDR 0) SON(TYPE TYPE_RW) ##reg number 0
+ CONFIG1 SON(ADDR 4) SON(TYPE TYPE_RW) ##reg number 1
+ CONFIG2 SON(ADDR 8) SON(TYPE TYPE_RW) ##reg number 2
+ CONFIG3 SON(ADDR C) SON(TYPE TYPE_RW) ##reg number 3
+ START SON(ADDR 20) SON(TYPE TYPE_WO) ##reg number 4
+ STATUS SON(ADDR 30) SON(TYPE TYPE_RO) ##reg number 5
+ }
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+