mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-07 19:51:23 +00:00
presentation progress
This commit is contained in:
parent
9d0b69edaa
commit
982c9da011
19 changed files with 199 additions and 45 deletions
9
manual/PRESENTATION_ExSyn/memory_01.v
Normal file
9
manual/PRESENTATION_ExSyn/memory_01.v
Normal file
|
@ -0,0 +1,9 @@
|
|||
module test(input CLK, ADDR,
|
||||
input [7:0] DIN,
|
||||
output reg [7:0] DOUT);
|
||||
reg [7:0] mem [0:1];
|
||||
always @(posedge CLK) begin
|
||||
mem[ADDR] <= DIN;
|
||||
DOUT <= mem[ADDR];
|
||||
end
|
||||
endmodule
|
Loading…
Add table
Add a link
Reference in a new issue