{"action":"opened","issue":{"url":"https://api.github.com/repos/tgingold/ghdl/issues/301","repository_url":"https://api.github.com/repos/tgingold/ghdl","labels_url":"https://api.github.com/repos/tgingold/ghdl/issues/301/labels{/name}","comments_url":"https://api.github.com/repos/tgingold/ghdl/issues/301/comments","events_url":"https://api.github.com/repos/tgingold/ghdl/issues/301/events","html_url":"https://github.com/tgingold/ghdl/issues/301","id":211265793,"number":301,"title":"GHDL internal error with signed generic","user":{"login":"putsplut","id":26128264,"avatar_url":"https://avatars2.githubusercontent.com/u/26128264?v=3","gravatar_id":"","url":"https://api.github.com/users/putsplut","html_url":"https://github.com/putsplut","followers_url":"https://api.github.com/users/putsplut/followers","following_url":"https://api.github.com/users/putsplut/following{/other_user}","gists_url":"https://api.github.com/users/putsplut/gists{/gist_id}","starred_url":"https://api.github.com/users/putsplut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/putsplut/subscriptions","organizations_url":"https://api.github.com/users/putsplut/orgs","repos_url":"https://api.github.com/users/putsplut/repos","events_url":"https://api.github.com/users/putsplut/events{/privacy}","received_events_url":"https://api.github.com/users/putsplut/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-03-02T01:53:31Z","updated_at":"2017-03-02T01:53:31Z","closed_at":null,"body":"Cocotb test \"dec_viterbi\" has a few issues:\r\n1.) Change conversions in generic_sp_ram.vhd to not use synopsis libs (NOT a ghdl bug!)\r\n2.) GHDL has problems with the top level module being named the same as the library.  In my copy below, I've renamed the entity by appending an \"_m0\".  I think this is a \"bug\", or a least a feature.\r\n3.) The decoder passes a signed number as a GENERIC to a sub module (acs).  GHDL produces the following failure.  Changing the GENERIC to a natural allows the elaboration to succeed.\r\nThe following error was produced using hosts of Linux and OS X, both on the same GHDL version.\r\n4.) The test still fails, but the issues appear to already be addressed by other bug reports.\r\n\r\nFirst post, so not sure how to tag this as Cocotb related (if it should be)\r\n\r\n******************** GHDL Bug occured ****************************\r\nPlease report this bug on https://github.com/tgingold/ghdl/issues\r\nGHDL release: GHDL 0.34-dev (2016-09-14-403-g439664c) [Dunoon edition]\r\nCompiled with GNAT Version: GPL 2016 (20160515-49)\r\nTarget: x86_64-apple-darwin14.5.0\r\nIn directory: /Users/XXX/repos/cocotb/tests/test_cases/test_iteration_vhdl/sim_build/\r\nCommand line:\r\n/opt/local/bin/ghdl -e --work=dec_viterbi dec_viterbi_m0\r\nException TYPES.INTERNAL_ERROR raised\r\nException information:\r\nraised TYPES.INTERNAL_ERROR : trans.adb:507\r\nLoad address: 0x109fdc000\r\nCall stack traceback locations:\r\n0x10a1d6b87 0x10a1d6e77 0x10a1d6fd7 0x10a1dd8a2 0x10a228948 0x10a228cd8 0x10a228d69 0x10a1c3498 0x10a1af11c 0x10a1af367 0x10a1af877 0x10a1afded 0x10a1bc95c 0x10a1bc846 0x10a20f988 0x10a1cc108 0x10a1cc7f6 0x10a1f38b4 0x10a239266 0x10a2393e8 0x10a239615 0x10a23b621 0x10a1dfb67 0x10a236db9 0x10a1ea0b0 0x10a23b8cf 0x10a245090 0x10a24204b 0x10a0bc16d 0x109fde7e8\r\n******************************************************************\r\n"}}
{"actor":{"display_login":"putsplut"}}