1/1
cygwin and fusesoc
by meltem on Apr 26, 2018 |
meltem
Posts: 9 Joined: May 7, 2014 Last seen: May 1, 2018 |
||
Hi all,
I am trying to synthesize a standalone fusesoc project (using quartus prime pro) to simulate mor1kx_cpu module for some specific conditions using modelsim. Other than mork1x_cpu module, I would like to add the wb_intercon, etc. modules to be able to add a memory and peripherals. When I followed the tutorial here "https://github.com/olofk/fusesoc", I was able to create the fusesoc directory and initialize the fusesoc tool-set. However when I try to fetch a core, I get the following error message. I should mention, I used cygwin to install fusesoc and when I try to untar any other file, it seems working but somehow whatever the fusesoc is downloading cannot be extracted successfully. any idea why this is happening and how can I solve it? Thank you. $ fusesoc fetch mor1kx INFO: Downloading openrisc/mor1kx from github Traceback (most recent call last): File "/usr/bin/fusesoc", line 11, in module load_entry_point('fusesoc', 'console_scripts', 'fusesoc')() File "/home/mozsoy/fusesoc/fusesoc/main.py", line 530, in main args.func(cm, args) File "/home/mozsoy/fusesoc/fusesoc/main.py", line 85, in fetch core.setup() File "/home/mozsoy/fusesoc/fusesoc/capi2/core.py", line 385, in setup if self.provider.fetch(): File "/home/mozsoy/fusesoc/fusesoc/provider/provider.py", line 27, in fetch self._checkout(self.files_root) File "/home/mozsoy/fusesoc/fusesoc/provider/github.py", line 39, in _checkout t = tarfile.open(filename) File "/usr/lib/python2.7/tarfile.py", line 1680, in open raise ReadError("file could not be opened successfully") tarfile.ReadError: file could not be opened successfully |
RE: cygwin and fusesoc
by meltem on Apr 27, 2018 |
meltem
Posts: 9 Joined: May 7, 2014 Last seen: May 1, 2018 |
||
Fixed.
It turns out the problem is about Python version and the libraries that are used for downloading web content. |
1/1