-
-
Notifications
You must be signed in to change notification settings - Fork 13
SRAM
Ruige Lee edited this page Jan 27, 2021
·
4 revisions
| Name | Description |
|---|---|
| DW | data width |
| AW | Address Width |
| Name | Direction | Width | Description |
|---|---|---|---|
| data_w | Input | DW | Input write data of SRAM |
| addr_w | Input | AW | Input write-address of SRAM |
| data_wstrb | Input | (DW+7)/8 | Byte mask of Writeing |
| en_w | Input | 1 | write enable |
| data_r | Output | DW | Output read-data from SRAM |
| addr_r | Input | AW | Input read-address |
| en_r | Input | 1 | read enable |
| CLK | Input | 1 | Clock drives the SRAM |
SRAM is the basic element of timing logic. The address of reading and writing is separated, which allows reading and writing at the same cycle.