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
1
Merge Requests
1
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
b3171f4a
Commit
b3171f4a
authored
Feb 13, 2017
by
Maciej Lipinski
Committed by
Grzegorz Daniluk
Feb 14, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[tb/wrpc] added comments
parent
cee4859b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
main.sv
testbench/wrc_core/main.sv
+5
-5
No files found.
testbench/wrc_core/main.sv
View file @
b3171f4a
...
...
@@ -339,9 +339,8 @@ module main;
assign
phy_tx_enc_err
=
0
;
assign
phy_rx_enc_err
=
0
;
initial
begin
initial
begin
///configure EP of the testbench and send test-frame
CSimDrv_WR_Endpoint
ep_drv
;
uint64_t
val
;
...
...
@@ -386,14 +385,15 @@ module main;
#
1400u
s
;
$
display
(
"Fixed IFG"
)
;
send_frames
(
ep_src
,
frame_number
,
1
)
;
send_frames
(
ep_src
,
frame_number
,
1
/* force Inter-frame gap of 1 us */
)
;
$
display
(
"Random IFG"
)
;
send_frames
(
ep_src
,
frame_number
)
;
send_frames
(
ep_src
,
frame_number
,
0
/* random Inter-frame gap, between 1 and 100us */
)
;
end
initial
begin
initial
begin
/// receive frames from WRPC (looped back or sent by LM32), loopback frames
/// sent from LM32
EthPacket
pkt
;
mac_addr_t
PTP_MAC
=
'
{
'h01
,
'h1b
,
'h19
,
'h00
,
'h00
,
'h00
};
mac_addr_t
SELF_MAC
=
'
{
'h22
,
'h33
,
'h44
,
'h44
,
'h55
,
'h66
};
...
...
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