Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit core collection
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
30
Issues
30
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
White Rabbit core collection
Commits
7c9a35a8
Commit
7c9a35a8
authored
Oct 26, 2011
by
Tomasz Wlostowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wrc_core: latest testbench
parent
3cda6a74
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
22 deletions
+16
-22
Manifest.py
testbench/wrc_core/main_tb/Manifest.py
+1
-12
main.sv
testbench/wrc_core/main_tb/main.sv
+15
-10
No files found.
testbench/wrc_core/main_tb/Manifest.py
View file @
7c9a35a8
...
...
@@ -4,18 +4,7 @@ vlog_opt = "+incdir+../../../sim"
files
=
[
"main.sv"
]
modules
=
{
"local"
:
[
"../../../ip_cores/general-cores"
,
"../../../modules/wr_endpoint"
,
"../../../modules/wr_mini_nic"
,
"../../../modules/wrc_core"
,
"../../../modules/wrc_lm32"
,
"../../../modules/wr_softpll"
,
"../../../modules/wrsw_pps_gen"
,
"../../../modules/timing"
]
};
modules
=
{
"local"
:
"../../.."
}
testbench/wrc_core/main_tb/main.sv
View file @
7c9a35a8
`timescale
1
ns
/
1
ps
`include
"tbi_utils.sv"
`include
"simdrv_defs.svh"
...
...
@@ -71,14 +70,14 @@ module main;
.
uart_rxd_i
(
1'b0
)
,
.
uart_txd_o
()
,
.
wb_addr_i
(
WB
.
adr
[
17
:
0
])
,
.
wb_data_i
(
WB
.
dat_o
)
,
.
wb_data_o
(
WB
.
dat_i
)
,
.
wb_addr_i
(
WB
.
master
.
adr
[
17
:
0
])
,
.
wb_data_i
(
WB
.
master
.
dat_o
)
,
.
wb_data_o
(
WB
.
master
.
dat_i
)
,
.
wb_sel_i
(
4'b1111
)
,
.
wb_we_i
(
WB
.
we
)
,
.
wb_cyc_i
(
WB
.
cyc
)
,
.
wb_stb_i
(
WB
.
stb
)
,
.
wb_ack_o
(
WB
.
ack
)
,
.
wb_we_i
(
WB
.
master
.
we
)
,
.
wb_cyc_i
(
WB
.
master
.
cyc
)
,
.
wb_stb_i
(
WB
.
master
.
stb
)
,
.
wb_ack_o
(
WB
.
master
.
ack
)
,
.
phy_ref_clk_i
(
clk_ref
)
,
.
phy_tx_data_o
(
phy_tx_data
)
,
...
...
@@ -104,10 +103,16 @@ module main;
initial
begin
CWishboneAccessor
acc
;
@
(
posedge
rst_n
)
;
repeat
(
3
)
@
(
posedge
clk_sys
)
;
acc
=
WB
.
get_accessor
()
;
acc
.
write
(
'h62000
,
'hffffffff
)
;
acc
.
write
(
'h62000
,
0
)
;
...
...
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