Qiita's It's time for programmers to touch FPGA! I was interested in it, so I was interested in it, so the evaluation board made by Digilent [** pynq-z1 **](http://www.pynq. I bought io / home.html).
This board, a little expensive at $ 229.00 (although it's a cheap FPGA evaluation board), I'm relying on at the moment I hesitated for about a month because Switch Science and Akizuki Denshi didn't handle it and it cost a shipping fee. I got it.
I just received it today and checked the operation.
This is a box. The Fedex box is big, so the impression is "little!". It's actually about twice the size of a Raspberry Pi.
When you open it, it comes out as if it is sandwiched between conductive styrenes. I was confused for a moment because I thought it was in an antistatic bag.
Basically, you can follow Getting Started, but there are quite a few explanations on how to use USB serial communication. However, if it is the original usage of pynq, "Operate FPGA using Python", it is absolutely easier to operate it via the network, so I think you can skip it [^ 2].
In the initial state, the IP address is obtained by DHCP, so if you know the address of pynq-z1, you can log in with ssh, but as shown in the document page
http://pynq:9090
First of all, let's check that pynq is alive.
If you enter the initial password xilinx
and the Jupyter Notebook screen appears, it's OK.
I used Advanced IP Scanner. If found successfully, the IP will be displayed with the host name ** PYNQ **.
Since Jupyter Notebook (Python3) is running, run the Python program here and run the IP of eth0
. You can also read the address.
If you know the IP, log in with ssh. Both the initial account and password are ** xilinx ** [^ 3].
$ ssh [email protected] (IP address is appropriate)
When I logged in, it was (for some reason) 15.10 on Ubuntu. There are some kind scripts under ~ / scripts. For those who are new to Linux? There is also.
Since it is Ubuntu, `sudo apt update && sudo apt upgrade`
seems to be possible, but pynq (that is, the part that touches the FPGA using Python) cannot be updated without using a dedicated command.
~/scripts/update_pynq.Jupyter related example and program data of FPGA contents with sh(bitstream)Necessary items such as are automatically downloaded → updated.
The one I bought included pynq 1.0, but when I updated it, it became 1.3.
I will start playing with it little by little.
The chip gets quite hot, so I wonder if there is a heat sink and a fan ** first.
-------
[^ 1]: However, because of this, I was impatient for a moment.
[^ 2]: Required when programming FPGA from a dedicated programming tool (such as Vivado HLS)
[^ 3]: To be on the safe side, it is recommended to change the password after checking the operation.
Recommended Posts