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
7f520434
Commit
7f520434
authored
Aug 02, 2016
by
Grzegorz Daniluk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wrsw_nic: fix *.wb file to provide tx/rx descriptor fields for software
parent
295f4a86
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
wr_nic.wb
modules/wrsw_nic/wr_nic.wb
+7
-5
No files found.
modules/wrsw_nic/wr_nic.wb
View file @
7f520434
...
...
@@ -318,7 +318,7 @@ TX_desc_template =
name = "offset in RAM--in bytes, must be aligned to 32-bit boundary";
prefix = "offset";
type = SLV;
size = 1
3
;
size = 1
6
;
access_bus = READ_WRITE;
access_dev = READ_ONLY;
};
...
...
@@ -327,7 +327,7 @@ TX_desc_template =
name = "Length of buffer--in bytes. Least significant bit must always be 0 (the packet size must be divisible by 2)";
prefix = "len";
type = SLV;
size = 1
3
;
size = 1
6
;
align = 16;
access_bus = READ_WRITE;
access_dev = READ_ONLY;
...
...
@@ -418,6 +418,7 @@ RX_desc_template = {
field {
name = "RX_TS_R";
prefix = "TS_R";
description = "Value of the RX timestamp (rising edge bits)";
size = 28;
type = SLV;
...
...
@@ -427,6 +428,7 @@ RX_desc_template = {
field {
name = "RX_TS_F";
prefix = "TS_F";
description = "Value of the RX timestamp (falling edge bits)";
size = 4;
type = SLV;
...
...
@@ -443,7 +445,7 @@ RX_desc_template = {
name = "Offset in packet RAM (in bytes, 32-bit aligned)";
prefix = "offset";
type = SLV;
size = 1
3
;
size = 1
6
;
access_bus = READ_WRITE;
access_dev = READ_ONLY;
},
...
...
@@ -452,7 +454,7 @@ RX_desc_template = {
name = "Length of buffer in bytes. After reception of the packet, it's updated with the length of the received packet.";
prefix = "len";
type = SLV;
size = 1
3
;
size = 1
6
;
align = 16;
access_bus = READ_WRITE;
access_dev = READ_WRITE;
...
...
@@ -495,6 +497,6 @@ function generate_descriptors(n)
end
--generate_descriptors(
8
);
--generate_descriptors(
1
);
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