class RegFile2[A] extends RegFile[A, RegFile2] with LocalMem2[A, RegFile2] with Mem2[A, RegFile1, RegFile2] with Ref[Array[Any], RegFile2[A]]
A 2-dimensional register file (RegFile) with elements of type A
- Alphabetic
- By Inheritance
- RegFile2
- Mem2
- LocalMem2
- RegFile
- LocalMem
- Mem
- Top
- Ref
- Exp
- ExpType
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
type
L = Array[Any]
- Definition Classes
- Ref → Exp → ExpType
Value Members
-
def
!==(that: Any): argon.lang.Bit
- Definition Classes
- Top
-
def
++(that: Any): argon.lang.Text
- Definition Classes
- Top
-
def
===(that: Any): argon.lang.Bit
- Definition Classes
- Top
- val A: lang.Bits[A]
- def __read(addr: Seq[lang.Idx], ens: Set[lang.Bit]): A
- def __reset(ens: Set[lang.Bit]): lang.Void
- def __write(data: A, addr: Seq[lang.Idx], ens: Set[lang.Bit]): lang.Void
-
def
apply(y: Wildcard, i: lang.I32): Nothing
Returns a view of column
i
of this RegFile.Returns a view of column
i
of this RegFile. * -
def
apply(i: lang.I32, y: Wildcard): Nothing
Returns a view of row
i
of this RegFile.Returns a view of row
i
of this RegFile. * -
def
apply(row: lang.I32, col: lang.I32): A
Returns the value at (
row
,col
). -
def
apply(rows: lang.Rng, cols: lang.Rng): RegFile2[A]
Creates a view of a 2-dimensional, dense region of this memory.
Creates a view of a 2-dimensional, dense region of this memory.
- Definition Classes
- Mem2
-
def
apply(rows: lang.Rng, col: lang.Idx): RegFile1[A]
Creates a view of a dense slice of a column of this memory.
Creates a view of a dense slice of a column of this memory. Use the * wildcard to view the entire column.
- Definition Classes
- Mem2
-
def
apply(row: lang.Idx, cols: lang.Rng): RegFile1[A]
Creates a view of a dense slice of a row of this memory.
Creates a view of a dense slice of a row of this memory. Use the * wildcard to view the entire row.
- Definition Classes
- Mem2
-
def
buffer: RegFile2[A]
Indicate that the memory should be buffered and ignore ignore potential situation where result from running sequentially does not match with resurt from running pipelined
Indicate that the memory should be buffered and ignore ignore potential situation where result from running sequentially does not match with resurt from running pipelined
- Definition Classes
- RegFile
-
final
def
canEqual(that: Any): Boolean
- Definition Classes
- Ref → Equals
-
def
coalesce: RegFile2[A]
- Definition Classes
- RegFile
- def cols: lang.I32
-
def
dim0: lang.I32
- Definition Classes
- RegFile
-
def
dim1: lang.I32
- Definition Classes
- RegFile
-
def
dim2: lang.I32
- Definition Classes
- RegFile
-
def
dims: Seq[lang.I32]
- Definition Classes
- RegFile
-
def
effort(e: Int): RegFile2[A]
Specify banking search effort for this memory
Specify banking search effort for this memory
- Definition Classes
- RegFile
-
def
eql(that: RegFile2[A]): argon.lang.Bit
- Definition Classes
- Top
-
final
def
equals(x: Any): Boolean
- Definition Classes
- Ref → Equals → AnyRef → Any
- implicit val evMem: <:<[RegFile2[A], RegFile[A, RegFile2]]
-
final
def
from(c: Any, warnOnLoss: Boolean, errorOnLoss: Boolean, isParam: Boolean, saturating: Boolean, unbiased: Boolean): spatial.lang.RegFile2[A] @scala.annotation.unchecked.uncheckedVariance
- Definition Classes
- ExpType
-
def
getFrom(c: Any, isParam: Boolean, saturating: Boolean, unbiased: Boolean): Option[(spatial.lang.RegFile2[A] @scala.annotation.unchecked.uncheckedVariance, Boolean)]
- Definition Classes
- ExpType
-
final
def
hashCode(): Int
- Definition Classes
- Ref → AnyRef → Any
-
def
infix_!=(that: Any): argon.lang.Bit
- Definition Classes
- Top
-
def
infix_==(that: Any): argon.lang.Bit
- Definition Classes
- Top
-
def
load(dram: DRAM2[A]): lang.Void
Create a dense burst load from the given region of DRAM to this on-chip memory.
Create a dense burst load from the given region of DRAM to this on-chip memory.
- Definition Classes
- LocalMem2
-
def
neql(that: RegFile2[A]): argon.lang.Bit
- Definition Classes
- Top
-
def
nonbuffer: RegFile2[A]
Do not buffer memory
Do not buffer memory
- Definition Classes
- RegFile
-
def
par(p: lang.I32): RegFile2[A]
Creates an alias of this RegFile with parallel access in the last dimension.
Creates an alias of this RegFile with parallel access in the last dimension.
- Definition Classes
- RegFile
- def rank: Int
-
def
read(addr: Seq[lang.Idx], ens: Set[lang.Bit] = Set.empty): A
Returns the value at
addr
.Returns the value at
addr
. The number of indices should match the RegFile's rank.- Definition Classes
- RegFile
-
def
reset(cond: lang.Bit): lang.Void
Conditionally resets this RegFile based on
cond
to its inital values (or zeros if unspecified).Conditionally resets this RegFile based on
cond
to its inital values (or zeros if unspecified).- Definition Classes
- RegFile
-
def
reset: lang.Void
Resets this RegFile to its initial values (or zeros, if unspecified).
Resets this RegFile to its initial values (or zeros, if unspecified).
- Definition Classes
- RegFile
- def rows: lang.I32
-
def
size: lang.I32
- Definition Classes
- RegFile
-
final
def
toString(): String
- Definition Classes
- Ref → AnyRef → Any
-
def
toText: argon.lang.Text
- Definition Classes
- Top
-
def
update(row: lang.I32, col: lang.I32, data: A): lang.Void
Updates the value at (
row
,col
) todata
. -
def
write(data: A, addr: Seq[lang.Idx], ens: Set[lang.Bit] = Set.empty): lang.Void
Updates the value at
addr
todata
.Updates the value at
addr
todata
. The number of indices should match the RegFile's rank.- Definition Classes
- RegFile