{"action":"closed","issue":{"url":"https://api.github.com/repos/cseed/arachne-pnr/issues/11","labels_url":"https://api.github.com/repos/cseed/arachne-pnr/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/cseed/arachne-pnr/issues/11/comments","events_url":"https://api.github.com/repos/cseed/arachne-pnr/issues/11/events","html_url":"https://github.com/cseed/arachne-pnr/issues/11","id":102687280,"number":11,"title":"Error trying to process blockram","user":{"login":"guanix","id":13861,"avatar_url":"https://avatars.githubusercontent.com/u/13861?v=3","gravatar_id":"","url":"https://api.github.com/users/guanix","html_url":"https://github.com/guanix","followers_url":"https://api.github.com/users/guanix/followers","following_url":"https://api.github.com/users/guanix/following{/other_user}","gists_url":"https://api.github.com/users/guanix/gists{/gist_id}","starred_url":"https://api.github.com/users/guanix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guanix/subscriptions","organizations_url":"https://api.github.com/users/guanix/orgs","repos_url":"https://api.github.com/users/guanix/repos","events_url":"https://api.github.com/users/guanix/events{/privacy}","received_events_url":"https://api.github.com/users/guanix/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-24T02:21:49Z","updated_at":"2015-08-25T23:00:38Z","closed_at":"2015-08-25T23:00:38Z","body":"I'm trying to create a very simple example of using blockram on an iCE40. My code is [in this gist](https://gist.github.com/guanix/86e1dcaa0e16cd867270). yosys runs fine, but arachne-pnr gives this output:\r\n\r\n    seed: 1\r\n    device: 1k\r\n    read_chipdb +/share/arachne-pnr/chipdb-1k.bin...\r\n      supported packages: tq144\r\n    read_blif ramtest.blif...\r\n    prune...\r\n    read_pcf ramtest.pcf...\r\n    instantiate_io...\r\n    D1\r\n    0x7fac02e1b190\r\n    RDATA[0]\r\n    clk\r\n    0x0\r\n    pack...\r\n\r\n    After packing:\r\n    IOs          2 / 96\r\n    LCs          0 / 1280\r\n      DFF        0\r\n      CARRY      0\r\n      CARRY, DFF 0\r\n      DFF PASS   0\r\n      CARRY PASS 0\r\n    BRAMs        1 / 16\r\n    WARMBOOTs    0 / 1\r\n    GBs          0 / 8\r\n\r\n    promote_globals...\r\n      promoted 0 nets\r\n      0 globals\r\n    realize_constants...\r\n      realized 0\r\n    place...\r\n      initial wire length = 23\r\n      final wire length = 4\r\n\r\n    After placement:\r\n    PIOs       2 / 96\r\n    PLBs       1 / 160\r\n    BRAMs      1 / 16\r\n\r\n      place time 0.00s\r\n    route...\r\n      pass 1, 0 shared.\r\n      route time 0.01s\r\n    write_txt ramtest.txt...\r\n    libc++abi.dylib: terminating with uncaught exception of type std::out_of_range: map::at:  key not found\r\n    make: *** [ramtest.bin] Abort trap: 6\r\n\r\nYou can also see that the .txt file generated appears truncated.\r\n\r\nForgive me if it's a problem with the Verilog file. I know that this isn't fully correct use of the blockram, but I wanted to isolate the problem. If there's a working example of blockram use out there, I would love to see it.\r\n\r\nI'm at arachne-pnr d820f31fc3 and yosys eb38722e98."}}