{"action":"created","issue":{"url":"https://api.github.com/repos/cornell-brg/pymtl/issues/144","labels_url":"https://api.github.com/repos/cornell-brg/pymtl/issues/144/labels{/name}","comments_url":"https://api.github.com/repos/cornell-brg/pymtl/issues/144/comments","events_url":"https://api.github.com/repos/cornell-brg/pymtl/issues/144/events","html_url":"https://github.com/cornell-brg/pymtl/issues/144","id":114189850,"number":144,"title":"connecting wire slice to wire slice seems not to work","user":{"login":"cbatten","id":6853045,"avatar_url":"https://avatars.githubusercontent.com/u/6853045?v=3","gravatar_id":"","url":"https://api.github.com/users/cbatten","html_url":"https://github.com/cbatten","followers_url":"https://api.github.com/users/cbatten/followers","following_url":"https://api.github.com/users/cbatten/following{/other_user}","gists_url":"https://api.github.com/users/cbatten/gists{/gist_id}","starred_url":"https://api.github.com/users/cbatten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbatten/subscriptions","organizations_url":"https://api.github.com/users/cbatten/orgs","repos_url":"https://api.github.com/users/cbatten/repos","events_url":"https://api.github.com/users/cbatten/events{/privacy}","received_events_url":"https://api.github.com/users/cbatten/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-30T03:00:24Z","updated_at":"2015-10-30T03:44:14Z","closed_at":null,"body":"See:\r\n\r\n  * https://github.com/cbatten/pymtl-wire-to-wire\r\n\r\nPyMTL doesn't complain with connecting bitslices of wires, but even so there seems to be a deeper issue. If you take this line:\r\n\r\n```\r\n  s.connect( s.wire2[0], s.wire1[0] )\r\n```\r\n\r\nand change it to this:\r\n\r\n```\r\n  s.connect( s.wire2[0], s.wire1[0] )\r\n```\r\n\r\nIt works. PyMTL creates implicit combinational blocks to handle slicing -- it needs to know the src/dest in order to do that, and I wonder with wires if it assumes the first argument is the input and the second one is the destination?\r\n"},"comment":{"url":"https://api.github.com/repos/cornell-brg/pymtl/issues/comments/152406533","html_url":"https://github.com/cornell-brg/pymtl/issues/144#issuecomment-152406533","issue_url":"https://api.github.com/repos/cornell-brg/pymtl/issues/144","id":152406533,"user":{"login":"dmlockhart","id":4681923,"avatar_url":"https://avatars.githubusercontent.com/u/4681923?v=3","gravatar_id":"","url":"https://api.github.com/users/dmlockhart","html_url":"https://github.com/dmlockhart","followers_url":"https://api.github.com/users/dmlockhart/followers","following_url":"https://api.github.com/users/dmlockhart/following{/other_user}","gists_url":"https://api.github.com/users/dmlockhart/gists{/gist_id}","starred_url":"https://api.github.com/users/dmlockhart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmlockhart/subscriptions","organizations_url":"https://api.github.com/users/dmlockhart/orgs","repos_url":"https://api.github.com/users/dmlockhart/repos","events_url":"https://api.github.com/users/dmlockhart/events{/privacy}","received_events_url":"https://api.github.com/users/dmlockhart/received_events","type":"User","site_admin":false},"created_at":"2015-10-30T03:44:14Z","updated_at":"2015-10-30T03:44:14Z","body":"Is this related to connect_wire()?\r\n\r\nThat was added because connecting two wires did not provide enough directionality information for translation to work properly.\r\n\r\nIs simulation broken in this case?"}}