Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mmu-val_v1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Zhengyue Zhao
mmu-val_v1
Commits
13105094
Commit
13105094
authored
Dec 13, 2021
by
Zhengyue Zhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add new file
parent
4727bb3e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
38 additions
and
0 deletions
+38
-0
test_mmu.v
+38
-0
No files found.
test_mmu.v
0 → 100644
View file @
13105094
`timescale
1
ns
/
1
ps
`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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment