This repository provides a Verilog implementation of a single-port Random Access Memory (RAM) module. A single-port RAM allows access to one memory location at a time for either reading or writing data.
Clone the Repository:
Bash git clone https://github.com/priyanshuhbti/single-port-ram.git Use code with caution. content_copy
Synthesis and Simulation (Optional):-
If you intend to synthesize or simulate the RAM design, ensure you have the necessary hardware description language (HDL) tools installed and configured. The specific steps will vary depending on your tools.
The single_port_ram.v file will typically contain the following sections:
Parameterization: Allow customization of data and address widths.
Memory Declaration: Create a register array to store the RAM data.
Read Logic: Implement read operation based on the address and enable signals.
Write Logic: Implement write operation based on the address, write enable, and data input signals.
Output Logic: Assign the appropriate data (read or written) to the data_out port.