Chargement…
Chargement…
Each location holds a 12-bit signed sum.
Behaviour
i_clear clears every location.i_write=1 adds i_data to location i_addr.i_read_addr selects the location visible on o_accum.| Signal | Direction | Width | Description |
|---|---|---|---|
i_clk | Input | 1 bit | System clock |
i_reset | Input | 1 bit | Active-high asynchronous reset |
i_clear | Input | 1 bit | Internal clear |
i_write | Input | 1 bit | Input write |
i_addr | Input | 2 bits | Input addr |
i_read_addr | Input | 2 bits | Input read addr |
i_data | Input | 8 bits | Input data |
o_accum | Output | 12 bits | Output accum |