cole12345

Members
  • Content Count

    2
  • Joined

  • Last visited

  1. Hi all, I am brand new to FPGAs and am finding the documentation more confusing than enlightening regarded this issue. I am having considerable difficulty getting my PYNQ-Z1 board to output a voltage through the Arduino IO ports. Currently I have a complete circuit from Arduino IO 0 to a breadboard with an LED and resistor in series, and it connects back to the Arduino ground port. My code is as follows: In [1]: from pynq.overlays.base import BaseOverlay base = BaseOverlay("base.bit") from pynq.lib.arduino import Arduino_IO In [2]: x=Arduino_IO(base.ARDUINO,0,"out") x.write(1) However, I am getting an attribute error, which reads as follows: AttributeError ---->2 x=Arduino_IO(base.ARDUINO,0,"out") /opt/python3.6/lib/python3.6/site-packages/pynq/lib/arduino/arduino_io.py in __init__(self,mb_info,index,direction) ---->97 self.microblaze.start() Attribute Error: 'Arduino' object has no attribute 'start' What is "start" and how can I fix my code to properly output voltage? Thanks for your time.
  2. cole12345

    PYNQ-Z1 Capabilities

    Hi all, My group and I are brand new to FPGAs, none of us have any expertise whatsoever. As such, we have a few questions about the capabilities of the PYNQ-Z1 board that some of you seasoned experts can help us out with. First: we will have a TTL (3.3 V) pulse sent to the board which is about ~10 ns long. Can the board detect such a pulse from something like a rising or falling edge? We hope to send this pulse via BNC connection - where could we input this on the board? Second: We also need to output a pulse via BNC connection. Where would this pulse be outputted from? Third: Given the first two questions, should we invest in the following two items? i. https://store.digilentinc.com/pmod-cable-kit-6-pin/ ii. https://store.digilentinc.com/bnc-adapter-for-analog-discovery/ Sorry if these questions seem hopelessly basic. We are new to this type of hardware and would greatly appreciate any help you all could send our way.