Commit 7f520434 authored by Grzegorz Daniluk's avatar Grzegorz Daniluk

wrsw_nic: fix *.wb file to provide tx/rx descriptor fields for software

parent 295f4a86
...@@ -318,7 +318,7 @@ TX_desc_template = ...@@ -318,7 +318,7 @@ TX_desc_template =
name = "offset in RAM--in bytes, must be aligned to 32-bit boundary"; name = "offset in RAM--in bytes, must be aligned to 32-bit boundary";
prefix = "offset"; prefix = "offset";
type = SLV; type = SLV;
size = 13; size = 16;
access_bus = READ_WRITE; access_bus = READ_WRITE;
access_dev = READ_ONLY; access_dev = READ_ONLY;
}; };
...@@ -327,7 +327,7 @@ TX_desc_template = ...@@ -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)"; name = "Length of buffer--in bytes. Least significant bit must always be 0 (the packet size must be divisible by 2)";
prefix = "len"; prefix = "len";
type = SLV; type = SLV;
size = 13; size = 16;
align = 16; align = 16;
access_bus = READ_WRITE; access_bus = READ_WRITE;
access_dev = READ_ONLY; access_dev = READ_ONLY;
...@@ -418,6 +418,7 @@ RX_desc_template = { ...@@ -418,6 +418,7 @@ RX_desc_template = {
field { field {
name = "RX_TS_R"; name = "RX_TS_R";
prefix = "TS_R";
description = "Value of the RX timestamp (rising edge bits)"; description = "Value of the RX timestamp (rising edge bits)";
size = 28; size = 28;
type = SLV; type = SLV;
...@@ -427,6 +428,7 @@ RX_desc_template = { ...@@ -427,6 +428,7 @@ RX_desc_template = {
field { field {
name = "RX_TS_F"; name = "RX_TS_F";
prefix = "TS_F";
description = "Value of the RX timestamp (falling edge bits)"; description = "Value of the RX timestamp (falling edge bits)";
size = 4; size = 4;
type = SLV; type = SLV;
...@@ -443,7 +445,7 @@ RX_desc_template = { ...@@ -443,7 +445,7 @@ RX_desc_template = {
name = "Offset in packet RAM (in bytes, 32-bit aligned)"; name = "Offset in packet RAM (in bytes, 32-bit aligned)";
prefix = "offset"; prefix = "offset";
type = SLV; type = SLV;
size = 13; size = 16;
access_bus = READ_WRITE; access_bus = READ_WRITE;
access_dev = READ_ONLY; access_dev = READ_ONLY;
}, },
...@@ -452,7 +454,7 @@ RX_desc_template = { ...@@ -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."; name = "Length of buffer in bytes. After reception of the packet, it's updated with the length of the received packet.";
prefix = "len"; prefix = "len";
type = SLV; type = SLV;
size = 13; size = 16;
align = 16; align = 16;
access_bus = READ_WRITE; access_bus = READ_WRITE;
access_dev = READ_WRITE; access_dev = READ_WRITE;
...@@ -495,6 +497,6 @@ function generate_descriptors(n) ...@@ -495,6 +497,6 @@ function generate_descriptors(n)
end end
--generate_descriptors(8); --generate_descriptors(1);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment