lowRISC / lowRISC/lowrisc-chip
Eth 8packets
Nobody has claimed this yet.
- Dominant language
- SystemVerilog
- Stars
- 601
- Forks
- 147
- PR merge metrics
- No merged PRs in 30d
Description
Hi, I'm wondering what does the value `{3'H7,{7{3'H5}}}` indicates? It was found in Line 98
` if ((rx_nxt == {3'H7,{7{3'H5}}}) && (byte_sync == 0) && (sync == 0))`
Based on the codes given, it seems like is checking the end of 8th (collected) RX packets which each packet is 3 bits size. However, I couldnt figure out the how did it comes to value H7 and H5?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at Line 98 and inspect the surrounding receive-path code that uses `rx_nxt`, `byte_sync`, and `sync`. Trace how the 3-bit values are represented and determine what the `H7` and `H5` literals mean in `{3'H7,{7{3'H5}}}`; done means providing a clear explanation of the expression and its intended packet-checking behavior.
Written by the indexing model from the issue text.
Assessment
- Domain
- embedded-iot
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100