LoginSignup
0

More than 3 years have passed since last update.

2020-05-30 PYNQ-Z1 > PMODA > pynq.lib.pmodからimportする (pynq.iopは古い) > pynq.lib.pmodを使う

Last updated at Posted at 2020-05-30
動作環境
Windows 10 Pro (v1909) 
PYNQ-Z1 (Digilent) (以下、PYNQと表記)
Vivado v2019.1 (64-bit)

PMODAのimport (過去情報)

PMODAをimportする例として下記のような実装がみられる。

from pynq.iop import PMODA

これは古い。

pynq.iopは古い

上記においてpynq.iopが古いことが記載されている。
pynq.libを代わりに使うとのこと。

pynq.lib.pmodを使う (2020年5月現在)

代わりにこうする。

from pynq.lib.pmod import PMODA

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0