DEBSOURCES
Skip Quicknav
sources / ghdl / 5.0.1%2Bdfsg-1 / testsuite / synth / assign01 / mem02.v
123456789
module mem02(output [0:7] r, input [0:7] v, input[0:3] addr, input clk); reg [7:0] mem [3:0]; always @(posedge clk) mem[addr] <= v; assign r = mem[addr]; endmodule