Chips是什么:
Chips is a high level, FPGA design tool inspired by Python.
好吧,现在HDL已经被各种嫌弃了,我也来尝试一下Python搞FPGA.
按照Github上的安装说明:
git clone --recursive https://github.com/dawsonjon/Chips-2.0.git
cd Chips-2.0
sudo python setup install
执行第三步的时候报错’python: can’t open file ‘setup’: [Errno 2] No such file or directory’,改成:
sudo python setup.py install
又报新的错误:chips_c/chips_c_wrap.c:125:20: fatal error: Python.h: No such file or directory
执行下述命令:
sudo apt-get update -y
sudo apt-get install -y python-distutils-extra
sudo apt-get install python-dev
然后,再执行
sudo python setup.py install
没有再报错,应该是安装成功了