Commit b30ae061 authored by Maciej Lipinski's avatar Maciej Lipinski

[EP] updated description of packet injection in the doc/spec/HDL/WRS_HDL-SW_IF

the control bits were added meaning to make the injection more flexible
and robust: EOF bit 16 also means SOF, user-word bit 17 also means
bitsel=0 (odd size)
parent 283fd401
......@@ -306,7 +306,7 @@ peripheral {
description = "Provides access to the egress VLAN untagged set and packet injection template buffer. In order to write to the buffer, set the DATA and OFFSET fields to the desired buffer location/value.\
The buffer layout goes as follows:\
- the lower part (offsets 0 to 255) contains the VLAN untagged set bitmap. Each bit represents a single VLAN, where VID = OFFSET * 16 + bit position. For bits set to 1, VLAN headers containing corrensponding VID value are untagged.\
- the higher part (offsets 512 to 1024) contains the packet injection template buffer. The buffer can store up to 8 packet templates of up to 128 bytes of size. Bits [15:0] of each entry contain the data value to be sent, bit 16 indicates the last word to transfer and bit 17 indicates that the current word shall be replaced by the user value (inject_user_value_i).";
- the higher part (offsets 512 to 1024) contains the packet injection template buffer. The buffer can store up to 8 packet templates of up to 128 bytes of size. Bits [15:0] of each entry contain the data value to be sent, bit 16 indicates the first and the last word to transfer and bit 17 indicates that the current word shall be replaced by the user value (inject_user_value_i). User value cannot be assigned to the last word. bit 17 high in the last word (when bit 16 is high) indicates that the injected frame shall have odd size (bitsel(1)=0).";
prefix = "VCR1";
......
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