{"action":"created","issue":{"url":"https://api.github.com/repos/clash-lang/clash-compiler/issues/136","repository_url":"https://api.github.com/repos/clash-lang/clash-compiler","labels_url":"https://api.github.com/repos/clash-lang/clash-compiler/issues/136/labels{/name}","comments_url":"https://api.github.com/repos/clash-lang/clash-compiler/issues/136/comments","events_url":"https://api.github.com/repos/clash-lang/clash-compiler/issues/136/events","html_url":"https://github.com/clash-lang/clash-compiler/issues/136","id":143577329,"number":136,"title":"ghdl fails on some tests","user":{"login":"CodiePP","id":14063171,"avatar_url":"https://avatars.githubusercontent.com/u/14063171?v=3","gravatar_id":"","url":"https://api.github.com/users/CodiePP","html_url":"https://github.com/CodiePP","followers_url":"https://api.github.com/users/CodiePP/followers","following_url":"https://api.github.com/users/CodiePP/following{/other_user}","gists_url":"https://api.github.com/users/CodiePP/gists{/gist_id}","starred_url":"https://api.github.com/users/CodiePP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CodiePP/subscriptions","organizations_url":"https://api.github.com/users/CodiePP/orgs","repos_url":"https://api.github.com/users/CodiePP/repos","events_url":"https://api.github.com/users/CodiePP/events{/privacy}","received_events_url":"https://api.github.com/users/CodiePP/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-25T19:32:35Z","updated_at":"2016-03-25T20:32:45Z","closed_at":null,"body":"when running the testsuite, ghdl complains about a file not found. \r\nI compiled the newest ghdl (from GitHub), version 5.2.1\r\n\r\nHow can I trace this test case? \r\nrun ghdl manually to find the problem?\r\n\r\nHere the message from the testsuite:\r\n>    VHDL & Verilog\r\n      Calculator\r\n        CLaSH(VHDL):      OK (4.13s)\r\n          Applied 203 transformations\r\n          Applied 58 transformations\r\n          Applied 99 transformations\r\n        GHDL (import):    OK\r\n        GHDL (make):      OK (0.10s)\r\n        GHDL (sim):       FAIL\r\n          Program /usr/local/bin/ghdl failed with code 1\r\n           Stderr was: \r\n          /usr/local/bin/ghdl: cannot find entity or configuration calculator_testbench\r\n>          \r\n>           Stdout was: \r\n"},"comment":{"url":"https://api.github.com/repos/clash-lang/clash-compiler/issues/comments/201483646","html_url":"https://github.com/clash-lang/clash-compiler/issues/136#issuecomment-201483646","issue_url":"https://api.github.com/repos/clash-lang/clash-compiler/issues/136","id":201483646,"user":{"login":"christiaanb","id":93169,"avatar_url":"https://avatars.githubusercontent.com/u/93169?v=3","gravatar_id":"","url":"https://api.github.com/users/christiaanb","html_url":"https://github.com/christiaanb","followers_url":"https://api.github.com/users/christiaanb/followers","following_url":"https://api.github.com/users/christiaanb/following{/other_user}","gists_url":"https://api.github.com/users/christiaanb/gists{/gist_id}","starred_url":"https://api.github.com/users/christiaanb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christiaanb/subscriptions","organizations_url":"https://api.github.com/users/christiaanb/orgs","repos_url":"https://api.github.com/users/christiaanb/repos","events_url":"https://api.github.com/users/christiaanb/events{/privacy}","received_events_url":"https://api.github.com/users/christiaanb/received_events","type":"User","site_admin":false},"created_at":"2016-03-25T20:32:45Z","updated_at":"2016-03-25T20:32:45Z","body":"When you're in the `clash-compiler` directory do:\r\n\r\n- `stack exec clash -- --vhdl -iexamples examples/Calculator/hs`\r\n- `cd vhdl/Calculator`\r\n- `mkdir work`\r\n- `ghdl -i --workdir=work *.vhdl`\r\n- `ghdl -m --workdir=work calculator_testbench`\r\n- `ghdl -r calculator_testbench`\r\n\r\nWhat supprises me, is that `GHDL (make)` succeeds in your code, so it must've produced something.... "}}