{"action":"created","issue":{"url":"https://api.github.com/repos/lowRISC/lowrisc-chip/issues/102","repository_url":"https://api.github.com/repos/lowRISC/lowrisc-chip","labels_url":"https://api.github.com/repos/lowRISC/lowrisc-chip/issues/102/labels{/name}","comments_url":"https://api.github.com/repos/lowRISC/lowrisc-chip/issues/102/comments","events_url":"https://api.github.com/repos/lowRISC/lowrisc-chip/issues/102/events","html_url":"https://github.com/lowRISC/lowrisc-chip/issues/102","id":393813958,"node_id":"MDU6SXNzdWUzOTM4MTM5NTg=","number":102,"title":"Eth 8packets","user":{"login":"clare7","id":29487900,"node_id":"MDQ6VXNlcjI5NDg3OTAw","avatar_url":"https://avatars2.githubusercontent.com/u/29487900?v=4","gravatar_id":"","url":"https://api.github.com/users/clare7","html_url":"https://github.com/clare7","followers_url":"https://api.github.com/users/clare7/followers","following_url":"https://api.github.com/users/clare7/following{/other_user}","gists_url":"https://api.github.com/users/clare7/gists{/gist_id}","starred_url":"https://api.github.com/users/clare7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clare7/subscriptions","organizations_url":"https://api.github.com/users/clare7/orgs","repos_url":"https://api.github.com/users/clare7/repos","events_url":"https://api.github.com/users/clare7/events{/privacy}","received_events_url":"https://api.github.com/users/clare7/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-12-24T05:39:52Z","updated_at":"2018-12-26T12:36:44Z","closed_at":null,"author_association":"NONE","body":"Hi, I'm wondering what does the value `{3'H7,{7{3'H5}}}` indicates? It was found in Line 98\r\n\r\n\t ` if ((rx_nxt == {3'H7,{7{3'H5}}}) && (byte_sync == 0) && (sync == 0))`\r\n\r\nBased 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?"},"comment":{"url":"https://api.github.com/repos/lowRISC/lowrisc-chip/issues/comments/449960842","html_url":"https://github.com/lowRISC/lowrisc-chip/issues/102#issuecomment-449960842","issue_url":"https://api.github.com/repos/lowRISC/lowrisc-chip/issues/102","id":449960842,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0OTk2MDg0Mg==","user":{"login":"jrrk","id":525783,"node_id":"MDQ6VXNlcjUyNTc4Mw==","avatar_url":"https://avatars2.githubusercontent.com/u/525783?v=4","gravatar_id":"","url":"https://api.github.com/users/jrrk","html_url":"https://github.com/jrrk","followers_url":"https://api.github.com/users/jrrk/followers","following_url":"https://api.github.com/users/jrrk/following{/other_user}","gists_url":"https://api.github.com/users/jrrk/gists{/gist_id}","starred_url":"https://api.github.com/users/jrrk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrrk/subscriptions","organizations_url":"https://api.github.com/users/jrrk/orgs","repos_url":"https://api.github.com/users/jrrk/repos","events_url":"https://api.github.com/users/jrrk/events{/privacy}","received_events_url":"https://api.github.com/users/jrrk/received_events","type":"User","site_admin":false},"created_at":"2018-12-26T12:36:44Z","updated_at":"2018-12-26T12:36:44Z","author_association":"MEMBER","body":"You could certainly adapt the code to only check a single byte but thereby the chance of a false sync could be increased. Bearing in mind the chance of a bit error is greater early on in the packet due to the possibility of contention from multiple transmitters.\n\nSent from my iPhone\n\n> On 26 Dec 2018, at 04:56, clare7 <notifications@github.com> wrote:\n> \n> In that case, why does it has to be 7 of ,{3'H5} ? In order to check for\n> the SFD 1101 0101 isnt that 3 of {3'H5} will suffice for coding in RMII?\n> \n> \n> On Mon, Dec 24, 2018 at 3:52 PM jrrk <notifications@github.com> wrote:\n> \n> > In this case the coding is RMII, so it is checking two data bits and\n> > receive enable.\n> >\n> > Sent from my iPhone\n> >\n> > > On 24 Dec 2018, at 05:39, clare7 <notifications@github.com> wrote:\n> > >\n> > > Hi, I'm wondering what does the value {3'H7,{7{3'H5}}} indicates? It was\n> > found in Line 98\n> > >\n> > > ` if ((rx_nxt == {3'H7,{7{3'H5}}}) && (byte_sync == 0) && (sync == 0))`\n> > > Based on the codes given, it seems like is checking the end of 8th\n> > (collected) RX packets which each packet is 3 bits size. However, I couldnt\n> > figure out the how did it comes to value H7 and H5?\n> > >\n> > > —\n> > > You are receiving this because you are subscribed to this thread.\n> > > Reply to this email directly, view it on GitHub, or mute the thread.\n> >\n> > —\n> > You are receiving this because you authored the thread.\n> > Reply to this email directly, view it on GitHub\n> > <https://github.com/lowRISC/lowrisc-chip/issues/102#issuecomment-449698888>,\n> > or mute the thread\n> > <https://github.com/notifications/unsubscribe-auth/AcHzHLYMMmp5XSBN3x3VVofBZyYui36Pks5u8Ie5gaJpZM4ZgJRm>\n> > .\n> >\n> \n> \n> -- \n> Regards,\n> Ming\n> —\n> You are receiving this because you commented.\n> Reply to this email directly, view it on GitHub, or mute the thread.\n"}}
{"actor":{"display_login":"jrrk"}}