mirror of
https://github.com/myhdl/myhdl.git
synced 2025-01-24 21:52:56 +08:00
30 lines
283 B
Coq
30 lines
283 B
Coq
|
module tb_ram_1;
|
||
|
|
||
|
wire [7:0] dout;
|
||
|
reg [7:0] din;
|
||
|
reg [6:0] addr;
|
||
|
reg we;
|
||
|
reg clk;
|
||
|
|
||
|
initial begin
|
||
|
$from_myhdl(
|
||
|
din,
|
||
|
addr,
|
||
|
we,
|
||
|
clk
|
||
|
);
|
||
|
$to_myhdl(
|
||
|
dout
|
||
|
);
|
||
|
end
|
||
|
|
||
|
ram_1 dut(
|
||
|
dout,
|
||
|
din,
|
||
|
addr,
|
||
|
we,
|
||
|
clk
|
||
|
);
|
||
|
|
||
|
endmodule
|