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
2
Merge Requests
2
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
6a7db44b
Commit
6a7db44b
authored
Jan 14, 2015
by
Grzegorz Daniluk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sim: fill _size_ structure field for generated/received frames
parent
d0ccc3a2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
eth_packet.svh
sim/eth_packet.svh
+1
-0
wb_packet_sink.svh
sim/wb_packet_sink.svh
+1
-1
No files found.
sim/eth_packet.svh
View file @
6a7db44b
...
...
@@ -359,6 +359,7 @@ class EthPacketGenerator;
pkt
.
oob_type
=
TX_FID
;
end
pkt
.
size
=
len
+
14
;
//payload + header
return
pkt
;
endfunction
...
...
sim/wb_packet_sink.svh
View file @
6a7db44b
...
...
@@ -82,7 +82,7 @@ class WBPacketSink extends EthPacketSink;
// $display("CDS %d size: %d\n", cyc.data.size(), size);
pkt
.
size
=
size
;
for
(
i
=
0
;
i
<
cyc
.
data
.
size
()
;
i
++
)
begin
wb_xfer_t
xf
=
cyc
.
data
[
i
]
;
...
...
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