{"action":"created","issue":{"url":"https://api.github.com/repos/ucb-bar/junctions/issues/20","repository_url":"https://api.github.com/repos/ucb-bar/junctions","labels_url":"https://api.github.com/repos/ucb-bar/junctions/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/ucb-bar/junctions/issues/20/comments","events_url":"https://api.github.com/repos/ucb-bar/junctions/issues/20/events","html_url":"https://github.com/ucb-bar/junctions/pull/20","id":160725273,"number":20,"title":"Fix the Nasti to Smi Converter for single-word Nasti busses","user":{"login":"palmer-dabbelt","id":1383006,"avatar_url":"https://avatars.githubusercontent.com/u/1383006?v=3","gravatar_id":"","url":"https://api.github.com/users/palmer-dabbelt","html_url":"https://github.com/palmer-dabbelt","followers_url":"https://api.github.com/users/palmer-dabbelt/followers","following_url":"https://api.github.com/users/palmer-dabbelt/following{/other_user}","gists_url":"https://api.github.com/users/palmer-dabbelt/gists{/gist_id}","starred_url":"https://api.github.com/users/palmer-dabbelt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/palmer-dabbelt/subscriptions","organizations_url":"https://api.github.com/users/palmer-dabbelt/orgs","repos_url":"https://api.github.com/users/palmer-dabbelt/repos","events_url":"https://api.github.com/users/palmer-dabbelt/events{/privacy}","received_events_url":"https://api.github.com/users/palmer-dabbelt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-16T18:12:05Z","updated_at":"2016-06-16T18:12:29Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ucb-bar/junctions/pulls/20","html_url":"https://github.com/ucb-bar/junctions/pull/20","diff_url":"https://github.com/ucb-bar/junctions/pull/20.diff","patch_url":"https://github.com/ucb-bar/junctions/pull/20.patch"},"body":"There's a register that tracks what word within a Nasti transaction a\r\nSmi response cooresponds to, since Smi itself doesn't have any\r\nmulti-word stuff.  This breaks the single-word Nasti to Smi converter\r\ndue to what's essentially a 0-width wire bug: it ends up doing something\r\nlike\r\n\r\n  word_offset_into_nasti := nasti_address(3, 3)\r\n\r\nwhen \"word_offset_into_nasti\" should really be a 0-bit register, but due\r\nto some log2Up block size calculation logic it's actually a 1-bit\r\nregister.  Thus, this expression ends up grabbing a bit of the address,\r\nwhich causes odd addresses to get buffered incorrectly.\r\n\r\nMy fix is to just special-case the \"Nasti bus width is the same as Smi\r\nbus width\" case."},"comment":{"url":"https://api.github.com/repos/ucb-bar/junctions/issues/comments/226567478","html_url":"https://github.com/ucb-bar/junctions/pull/20#issuecomment-226567478","issue_url":"https://api.github.com/repos/ucb-bar/junctions/issues/20","id":226567478,"user":{"login":"palmer-dabbelt","id":1383006,"avatar_url":"https://avatars.githubusercontent.com/u/1383006?v=3","gravatar_id":"","url":"https://api.github.com/users/palmer-dabbelt","html_url":"https://github.com/palmer-dabbelt","followers_url":"https://api.github.com/users/palmer-dabbelt/followers","following_url":"https://api.github.com/users/palmer-dabbelt/following{/other_user}","gists_url":"https://api.github.com/users/palmer-dabbelt/gists{/gist_id}","starred_url":"https://api.github.com/users/palmer-dabbelt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/palmer-dabbelt/subscriptions","organizations_url":"https://api.github.com/users/palmer-dabbelt/orgs","repos_url":"https://api.github.com/users/palmer-dabbelt/repos","events_url":"https://api.github.com/users/palmer-dabbelt/events{/privacy}","received_events_url":"https://api.github.com/users/palmer-dabbelt/received_events","type":"User","site_admin":false},"created_at":"2016-06-16T18:12:29Z","updated_at":"2016-06-16T18:12:29Z","body":"@zhemao I think this is correct, but I don't know a whole lot about AXI.  Do you mind taking a look?"}}
{"actor":{"display_login":"palmer-dabbelt"}}