Commit 13105094 by Zhengyue Zhao

Add new file

parent 4727bb3e
`timescale 1ns/1ps
`define PERIOD 10
module test_mmu();
reg reset;
reg clk;
reg driver_on;
initial
begin
forever
#(`PERIOD/2) clk=~clk;
end
RISCV_mmu_top mmu1(.reset(reset), .clk(clk),
.driver_on(driver_on));
initial
begin
reset = 1'b1;
clk = 1'b0;
driver_on = 1'b0;
#(`PERIOD*5)
reset=1'b0;
#(`PERIOD*5)
reset=1'b1;
$display("Stimulation Start.");
#(`PERIOD) driver_on=1'b1;
#(`PERIOD*200000);
$finish;
end
endmodule
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment