{"action":"created","issue":{"url":"https://api.github.com/repos/cliffordwolf/picorv32/issues/1","labels_url":"https://api.github.com/repos/cliffordwolf/picorv32/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/cliffordwolf/picorv32/issues/1/comments","events_url":"https://api.github.com/repos/cliffordwolf/picorv32/issues/1/events","html_url":"https://github.com/cliffordwolf/picorv32/issues/1","id":120089782,"number":1,"title":"Unable to build testbench waveform in ubuntu","user":{"login":"prashantrar","id":6401910,"avatar_url":"https://avatars.githubusercontent.com/u/6401910?v=3","gravatar_id":"","url":"https://api.github.com/users/prashantrar","html_url":"https://github.com/prashantrar","followers_url":"https://api.github.com/users/prashantrar/followers","following_url":"https://api.github.com/users/prashantrar/following{/other_user}","gists_url":"https://api.github.com/users/prashantrar/gists{/gist_id}","starred_url":"https://api.github.com/users/prashantrar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prashantrar/subscriptions","organizations_url":"https://api.github.com/users/prashantrar/orgs","repos_url":"https://api.github.com/users/prashantrar/repos","events_url":"https://api.github.com/users/prashantrar/events{/privacy}","received_events_url":"https://api.github.com/users/prashantrar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-03T03:58:19Z","updated_at":"2015-12-03T05:52:58Z","closed_at":null,"body":"Tried building the testbench.vcd in ubuntu 12.04 with vivado,\r\n\r\ngetting error as below.\r\n\r\nprashantravi@ubuntu:~/picorv32/picorv32$ make testbench.vcd \r\niverilog -o testbench.exe testbench.v picorv32.v\r\npicorv32.v:41: syntax error\r\nI give up.\r\nmake: *** [testbench.exe] Error 2\r\nprashantravi@ubuntu:~/picorv32/picorv32$ \r\n\r\nPlease help"},"comment":{"url":"https://api.github.com/repos/cliffordwolf/picorv32/issues/comments/161524037","html_url":"https://github.com/cliffordwolf/picorv32/issues/1#issuecomment-161524037","issue_url":"https://api.github.com/repos/cliffordwolf/picorv32/issues/1","id":161524037,"user":{"login":"dvc94ch","id":741807,"avatar_url":"https://avatars.githubusercontent.com/u/741807?v=3","gravatar_id":"","url":"https://api.github.com/users/dvc94ch","html_url":"https://github.com/dvc94ch","followers_url":"https://api.github.com/users/dvc94ch/followers","following_url":"https://api.github.com/users/dvc94ch/following{/other_user}","gists_url":"https://api.github.com/users/dvc94ch/gists{/gist_id}","starred_url":"https://api.github.com/users/dvc94ch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dvc94ch/subscriptions","organizations_url":"https://api.github.com/users/dvc94ch/orgs","repos_url":"https://api.github.com/users/dvc94ch/repos","events_url":"https://api.github.com/users/dvc94ch/events{/privacy}","received_events_url":"https://api.github.com/users/dvc94ch/received_events","type":"User","site_admin":false},"created_at":"2015-12-03T05:52:58Z","updated_at":"2015-12-03T05:52:58Z","body":"I think you have modified the picorv32 makefile, it should look like this:\r\n\r\n```\r\ntestbench.vcd: testbench.exe firmware/firmware.hex\r\n    vvp -N $< +vcd\r\n```\r\n\r\nI assume you changed it because you don't have the riscv toolchain on your path. if you install the toolchain like is described in the README file, and make testbench.vcd should work just fine.\r\nUndo your changes to your git branch with `git reset --hard && git checkout origin/master`."}}