Skip to content
Snippets Groups Projects
Unverified Commit a49d02ca authored by Jake Read's avatar Jake Read Committed by GitHub
Browse files

Update README.md

parent cefd4b88
Branches
No related tags found
No related merge requests found
...@@ -10,10 +10,13 @@ ...@@ -10,10 +10,13 @@
## Packet Structure ## Packet Structure
| Type | 8 Bits | 10 Bits | 6 Bits | 10 Bits | 6 Bits | N Bytes | CRC | | Type | 8 Bits | 10 Bits | 6 Bits | 10 Bits | 6 Bits | N Bytes | CRC |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | | --- | --- | --- | --- | --- | --- | --- | --- |
| Standard: | 255 | Dest. | # Edges | Src. | # Bytes | Payload … | CRC | | Standard: | 255 | Dest. | Hop Count | Src. | # Bytes | Payload … | CRC |
| ACK: | 254 | Dest. | # Edges | Src. | x | x| CRC | | ACK: | 253 | Dest. | Hop Count | Src. | x | x | CRC |
| Buffer Depth: | [0 - 253] | x | x | x | x | x | x | | Buffer Length: | [0 - 251] | x | x | x | x | x | x |
* previously-flooded Standard Packets have start delimiter 254
* previously-flooded Acks have start delimiter 252
## Routing Rules ## Routing Rules
...@@ -82,8 +85,14 @@ else: ...@@ -82,8 +85,14 @@ else:
## Routing Table ## Routing Table
The routing table (or lookup table, LUT) consists of rows of: The routing table (or lookup table, LUT) consists of rows of:
Port | Destination | Hopcount | Current port buffer size
This is different from standard Ethernet routing tables because it includes the current port buffer size as part of the table entry, allowing for a more robust cost function for use in the path planning algorithm. | Destination | Seen on Ports | Min. Hopcount Recorded on Port | Port buffer size |
This is different from standard Ethernet routing tables:
| Ports | Destinations seen on Port |
Because it includes the current port buffer size and number of hops as part of the table entry, allowing for a more robust cost function for use in the path planning algorithm.
## Buffer Depth Updates ## Buffer Depth Updates
Send buffer depth on all ports every q seconds, and every time a packet leaves or arrives Send buffer depth on all ports every q seconds, and every time a packet leaves or arrives
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment