{"action":"created","issue":{"url":"https://api.github.com/repos/ucb-bar/rocket-chip/issues/493","repository_url":"https://api.github.com/repos/ucb-bar/rocket-chip","labels_url":"https://api.github.com/repos/ucb-bar/rocket-chip/issues/493/labels{/name}","comments_url":"https://api.github.com/repos/ucb-bar/rocket-chip/issues/493/comments","events_url":"https://api.github.com/repos/ucb-bar/rocket-chip/issues/493/events","html_url":"https://github.com/ucb-bar/rocket-chip/pull/493","id":195777393,"number":493,"title":"Perform integer division when parsing rocketchip.DefaultConfig.conf","user":{"login":"GuzTech","id":7679849,"avatar_url":"https://avatars.githubusercontent.com/u/7679849?v=3","gravatar_id":"","url":"https://api.github.com/users/GuzTech","html_url":"https://github.com/GuzTech","followers_url":"https://api.github.com/users/GuzTech/followers","following_url":"https://api.github.com/users/GuzTech/following{/other_user}","gists_url":"https://api.github.com/users/GuzTech/gists{/gist_id}","starred_url":"https://api.github.com/users/GuzTech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GuzTech/subscriptions","organizations_url":"https://api.github.com/users/GuzTech/orgs","repos_url":"https://api.github.com/users/GuzTech/repos","events_url":"https://api.github.com/users/GuzTech/events{/privacy}","received_events_url":"https://api.github.com/users/GuzTech/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-15T11:06:33Z","updated_at":"2017-01-06T18:37:21Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ucb-bar/rocket-chip/pulls/493","html_url":"https://github.com/ucb-bar/rocket-chip/pull/493","diff_url":"https://github.com/ucb-bar/rocket-chip/pull/493.diff","patch_url":"https://github.com/ucb-bar/rocket-chip/pull/493.patch"},"body":"I got an error when performing `make verilog` in the vsim folder:\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"/home/oguz286/Projects/rocket-chip/vsim/vlsi_mem_gen\", line 177, in <module>\r\n    main()\r\n  File \"/home/oguz286/Projects/rocket-chip/vsim/vlsi_mem_gen\", line 174, in main\r\n    print(gen_mem(*parse_line(line)))\r\n  File \"/home/oguz286/Projects/rocket-chip/vsim/vlsi_mem_gen\", line 151, in gen_mem\r\n    for i in range(mask_seg):\r\nTypeError: 'float' object cannot be interpreted as an integer\r\n```\r\n\r\nThis was due to the `parse_line` function performing a floating point division, and I changed it to an integer division."},"comment":{"url":"https://api.github.com/repos/ucb-bar/rocket-chip/issues/comments/270971884","html_url":"https://github.com/ucb-bar/rocket-chip/pull/493#issuecomment-270971884","issue_url":"https://api.github.com/repos/ucb-bar/rocket-chip/issues/493","id":270971884,"user":{"login":"aswaterman","id":1031106,"avatar_url":"https://avatars.githubusercontent.com/u/1031106?v=3","gravatar_id":"","url":"https://api.github.com/users/aswaterman","html_url":"https://github.com/aswaterman","followers_url":"https://api.github.com/users/aswaterman/followers","following_url":"https://api.github.com/users/aswaterman/following{/other_user}","gists_url":"https://api.github.com/users/aswaterman/gists{/gist_id}","starred_url":"https://api.github.com/users/aswaterman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aswaterman/subscriptions","organizations_url":"https://api.github.com/users/aswaterman/orgs","repos_url":"https://api.github.com/users/aswaterman/repos","events_url":"https://api.github.com/users/aswaterman/events{/privacy}","received_events_url":"https://api.github.com/users/aswaterman/received_events","type":"User","site_admin":false},"created_at":"2017-01-06T18:37:21Z","updated_at":"2017-01-06T18:37:21Z","body":"If the script's output is incorrect, not-erroring is not an improvement, though! @a0u can you check into the assumptions made within the script?"}}
{"actor":{"display_login":"aswaterman"}}