{"action":"created","issue":{"url":"https://api.github.com/repos/VUnit/vunit/issues/108","repository_url":"https://api.github.com/repos/VUnit/vunit","labels_url":"https://api.github.com/repos/VUnit/vunit/issues/108/labels{/name}","comments_url":"https://api.github.com/repos/VUnit/vunit/issues/108/comments","events_url":"https://api.github.com/repos/VUnit/vunit/issues/108/events","html_url":"https://github.com/VUnit/vunit/issues/108","id":131115393,"number":108,"title":"Vivado and VUnit example with ghdl","user":{"login":"twam","id":112843,"avatar_url":"https://avatars.githubusercontent.com/u/112843?v=3","gravatar_id":"","url":"https://api.github.com/users/twam","html_url":"https://github.com/twam","followers_url":"https://api.github.com/users/twam/followers","following_url":"https://api.github.com/users/twam/following{/other_user}","gists_url":"https://api.github.com/users/twam/gists{/gist_id}","starred_url":"https://api.github.com/users/twam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twam/subscriptions","organizations_url":"https://api.github.com/users/twam/orgs","repos_url":"https://api.github.com/users/twam/repos","events_url":"https://api.github.com/users/twam/events{/privacy}","received_events_url":"https://api.github.com/users/twam/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-03T18:39:59Z","updated_at":"2016-02-03T19:09:41Z","closed_at":null,"body":"The \"Vivado and VUnit example\" does not work for me:\r\n\r\n```\r\nCompiling unisim library into .../vunit/examples/vhdl/vivado/unisim ...\r\nCreating library unisim in unisim\r\nTraceback (most recent call last):\r\n  File \"run.py\", line 22, in <module>\r\n    add_vivado_ip(ui, root, project_file=join(root, \"myproject\", \"myproject.xpr\"))\r\n  File \".../vunit/examples/vhdl/vivado/vivado_util.py\", line 123, in add_vivado_ip\r\n    compile_unisim(unisim_library_path)\r\n  File \".../vunit/examples/vhdl/vivado/vivado_util.py\", line 46, in compile_unisim\r\n    create_library(\"unisim\", library_path, library_path)\r\n  File \".../vunit/examples/vhdl/vivado/vivado_util.py\", line 28, in create_library\r\n    check_call(['vlib', '-unix', library_path])\r\n  File \"/usr/lib/python3.4/subprocess.py\", line 556, in check_call\r\n    retcode = call(*popenargs, **kwargs)\r\n  File \"/usr/lib/python3.4/subprocess.py\", line 537, in call\r\n    with Popen(*popenargs, **kwargs) as p:\r\n  File \"/usr/lib/python3.4/subprocess.py\", line 859, in __init__\r\n    restore_signals, start_new_session)\r\n  File \"/usr/lib/python3.4/subprocess.py\", line 1457, in _execute_child\r\n    raise child_exception_type(errno_num, err_msg)\r\nFileNotFoundError: [Errno 2] No such file or directory: 'vlib'\r\n```\r\n\r\nI guess the problem is that create_library function trys to call some Modelsim specific stuff, however I like to use it with ghdl."},"comment":{"url":"https://api.github.com/repos/VUnit/vunit/issues/comments/179411269","html_url":"https://github.com/VUnit/vunit/issues/108#issuecomment-179411269","issue_url":"https://api.github.com/repos/VUnit/vunit/issues/108","id":179411269,"user":{"login":"kraigher","id":4018223,"avatar_url":"https://avatars.githubusercontent.com/u/4018223?v=3","gravatar_id":"","url":"https://api.github.com/users/kraigher","html_url":"https://github.com/kraigher","followers_url":"https://api.github.com/users/kraigher/followers","following_url":"https://api.github.com/users/kraigher/following{/other_user}","gists_url":"https://api.github.com/users/kraigher/gists{/gist_id}","starred_url":"https://api.github.com/users/kraigher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kraigher/subscriptions","organizations_url":"https://api.github.com/users/kraigher/orgs","repos_url":"https://api.github.com/users/kraigher/repos","events_url":"https://api.github.com/users/kraigher/events{/privacy}","received_events_url":"https://api.github.com/users/kraigher/received_events","type":"User","site_admin":false},"created_at":"2016-02-03T19:09:41Z","updated_at":"2016-02-03T19:09:41Z","body":"Well just checked. Even the simple fifo IP I have included in the Vivado example uses encrypted VHDL which GHDL will never be able to compile for legal reasons."}}