- What does the Synchronous SRAM (Write-First) problem ask you to build?
- Synchronous SRAM — Write-First A 256-location × 8-bit synchronous RAM with a single port. **Write-first** (read-during-write = new data): when a read and write occur to the same address in the same cycle, the output reflects the **newly written value**.
- What constraints does Synchronous SRAM (Write-First) have?
- Both read and write are synchronous (posedge clk).; Write-first: simultaneous read+write to same address → dout = new (din) value.; Use `reg [7:0] mem [0:255]` as storage.; dout is a registered output (not combinational).
- What is an example input and output for Synchronous SRAM (Write-First)?
- Input we=1, addr=8'h10, din=8'hAB gives output mem[0x10]=0xAB, dout=0xAB. Write-first: dout captures new value
- Which Verilog concepts does Synchronous SRAM (Write-First) practise?
- memory, SRAM, interview, BRAM, write-first.