問題如下:
[ 7%] Generating chipdb-1k.bba Traceback (most recent call last): File "/home/user/Downloads/nextpnr/ice40/chipdb.py", line 251, infast_timings = read_timings(args.fast) ^^^^^^^^^^^^^^^^^^^^^^^ File "/home/user/Downloads/nextpnr/ice40/chipdb.py", line 233, in read_timings with open(filename) as f: ^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/share/icebox/timings_hx1k.txt' make[2]: *** [ice40/CMakeFiles/nextpnr-ice40-chipdb.dir/build.make:107: ice40/chipdb-1k.bba] Error 1 make[1]: *** [CMakeFiles/Makefile2:628: ice40/CMakeFiles/nextpnr-ice40-chipdb.dir/all] Error 2 make: *** [Makefile:136: all] Error 2
解法如下:
$ cd $ git clone https://github.com/YosysHQ/icestorm $ cd icestorm $ make -j4 $ sudo make install