{"action":"closed","issue":{"url":"https://api.github.com/repos/Darthpbal/helperToolsAndFiles/issues/3","repository_url":"https://api.github.com/repos/Darthpbal/helperToolsAndFiles","labels_url":"https://api.github.com/repos/Darthpbal/helperToolsAndFiles/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/Darthpbal/helperToolsAndFiles/issues/3/comments","events_url":"https://api.github.com/repos/Darthpbal/helperToolsAndFiles/issues/3/events","html_url":"https://github.com/Darthpbal/helperToolsAndFiles/issues/3","id":196253781,"number":3,"title":"keep it simple stupid?","user":{"login":"Darthpbal","id":12044306,"avatar_url":"https://avatars.githubusercontent.com/u/12044306?v=3","gravatar_id":"","url":"https://api.github.com/users/Darthpbal","html_url":"https://github.com/Darthpbal","followers_url":"https://api.github.com/users/Darthpbal/followers","following_url":"https://api.github.com/users/Darthpbal/following{/other_user}","gists_url":"https://api.github.com/users/Darthpbal/gists{/gist_id}","starred_url":"https://api.github.com/users/Darthpbal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Darthpbal/subscriptions","organizations_url":"https://api.github.com/users/Darthpbal/orgs","repos_url":"https://api.github.com/users/Darthpbal/repos","events_url":"https://api.github.com/users/Darthpbal/events{/privacy}","received_events_url":"https://api.github.com/users/Darthpbal/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-18T02:12:46Z","updated_at":"2016-12-21T04:52:10Z","closed_at":"2016-12-21T04:52:10Z","body":"I think a significant amount of problems may be from trying to do suck complex things inside my state machine. I'm handling many different assignments all at the same time.\r\n\r\nI wanna change the error counter to be an error flag, then create an always @ block sensitive to this signal and reset that handles the entire counter. I think it should be sensitive to the error flag and also the state reg.\r\n\r\n```verilog\r\nif (state != locked ) errorCount <= 0;\r\nelse errorCount <= errorCount + 1;"}}
{"actor":{"display_login":"Darthpbal"}}