OpenCores
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
    /robust_reg
    from Rev 13 to Rev 14
    Reverse comparison

Rev 13 → Rev 14

/trunk/src/base/regs.xls Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream
trunk/src/base/regs.xls Property changes : Deleted: svn:mime-type ## -1 +0,0 ## -application/octet-stream \ No newline at end of property Index: trunk/src/base/regfile.html =================================================================== --- trunk/src/base/regfile.html (revision 13) +++ trunk/src/base/regfile.html (revision 14) @@ -33,7 +33,7 @@ -LOOP RX REG_NUM +LOOP RX GROUP_REGS.NUM
  • GROUP_REGS[RX]
/trunk/src/base/regfile.v
30,7 → 30,7
OUTFILE REGNAME_regfile.v
INCLUDE def_regfile.txt
 
ITER RX REG_NUM
ITER RX GROUP_REGS.NUM
 
module REGNAME_regfile (PORTS);
 
78,7 → 78,7
//---------------------- Write Operations ---------------------------
assign wr_regGROUP_REGS.SON(TYPE != TYPE_RO).IDX = gpwrite & (paddr == GROUP_REGS);
 
LOOP RX REG_NUM
LOOP RX GROUP_REGS.NUM
IFDEF TRUE(GROUP_REGS[RX].TYPE == TYPE_RW)
//GROUP_REGS[RX].DESC
always @(posedge clk or posedge reset)
/trunk/src/base/regfile.h
34,7 → 34,7
#define REGNAME_GROUP_REGS_ADDR 0xGROUP_REGS.ADDR
 
//fields
LOOP RX REG_NUM
LOOP RX GROUP_REGS.NUM
//register GROUP_REGS[RX]:
#define REGNAME_GROUP_REGRX_ADDR 0xGROUP_REGS[RX].ADDR
#define REGNAME_GROUP_REGRX_START GROUP_REGRX.START
/trunk/src/base/def_regfile.txt
1,3 → 1,4
 
<##//////////////////////////////////////////////////////////////////
//// ////
//// Author: Eyal Hochberg ////
29,8 → 30,7
 
REQUIRE(1.4)
 
INCLUDE def_regfile_regs.txt
INCLUDE def_regfile_fields.txt
INCLUDE def_regs.txt
 
SWAP.GLOBAL MODEL_NAME regfile
59,3 → 59,9
pslverr 1 output
pready 1 output
}
 
SWAP ADD_REG(NAME, ADDR, TYPE, DESC) GROUP REGS extends { +NEWLINE NAME SON(CONST(ADDR) ADDR) SON(CONST(TYPE) TYPE) SON(CONST(DESC) DESC) +NEWLINE }
 
SWAP ADD_FIELD(REGNUM, NAME, BITS, START_BIT, DEFAULT, TYPE, DESC) GROUP REGREGNUM extends { +NEWLINE NAME BITS SON(START START_BIT) SON(CONST(DEFAULT) DEFAULT) SON(CONST(TYPE) TYPE) SON(CONST(DESC) DESC) +NEWLINE }
 

powered by: WebSVN 2.1.0

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