Simple Dual Port RAM
Page in progress. |
Dual-port RAM with one output port.
Description
Block Simple Dual Port RAM simulates a RAM that supports simultaneous read and write operations and has a single output port for reading data.
Simple dual-port RAM is similar to dual-port RAM, but dual-port RAM has both a write output port and a read output port.
Ports
Input
#
wr_din
—
write input
scalar
Details
The data you write to a RAM memory location when the wr_en signal is true. The data type is defined by the Data type parameters.
Data types |
|
Complex numbers support |
Yes |
#
wr_addr
—
record address
scalar
Details
The write address to which you write data when the wr_en signal is true.
Data types |
|
Complex numbers support |
No |
#
wr_en
—
recording permission
scalar
Details
Recording resolution.
-
If
wr_en
istrue
, RAM writes data to the memory location you specify.
Data types |
|
Complex numbers support |
No |
#
rd_addr
—
read address
scalar
Details
The address from which you are reading data.
Data types |
|
Complex numbers support |
No |
Output
#
rd_dout
—
data output from the read address
scalar
Details
Output data from the read address, rd_addr.
Data types |
|
Complex numbers support |
No |
Parameters
Parameters
# Address port width (2 to 29 bits) — address bit width
Details
The width of the address bit.
The minimum bit width is 2
and the maximum is 29
.
Default value |
|
Program usage name |
|
Tunable |
No |
Evaluatable |
Yes |
#
Data type —
data type
Float64
| Float32
| Float16
| Int8
| UInt8
| Int16
| UInt16
| Int32
| UInt32
| Int64
| UInt64
| Int128
| UInt128
| Bool
| Fixed-point
Details
Data Type. Defined as:
-
Float64
. -
Float32
-
Float16
-
Int8
-
`UInt8
-
`Int16
-
`UInt16
-
Int32
-
`UInt32
-
Int64
-
UInt64
-
Int128
-
`UInt128
-
Bool
-
Fixed-point
Values |
|
Default value |
|
Program usage name |
|
Tunable |
No |
Evaluatable |
Yes |
# Output fixed-point type — fixed point output type
Details
Fixed point output type.
Dependencies
To use this parameter, set the Data type parameters to Fixed-point
.
Default value |
|
Program usage name |
|
Tunable |
No |
Evaluatable |
Yes |
#
Signal type —
signal type
Real
| Complex
Details
Signal Type. Defined as:
-
Real
. -
Complex
Values |
|
Default value |
|
Program usage name |
|
Tunable |
No |
Evaluatable |
Yes |