Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when building software for FPGA #25

Open
ar0mat opened this issue Mar 25, 2019 · 2 comments
Open

Error when building software for FPGA #25

ar0mat opened this issue Mar 25, 2019 · 2 comments

Comments

@ar0mat
Copy link

ar0mat commented Mar 25, 2019

Hello everyone.

I have been trying to build "firmware" for an FPGA and I'm receiving such error

Traceback (most recent call last):
  File "build.py", line 28, in <module>
    top = OV3(plat)
  File "/home/user/projects/ov_ftdi/software/fpga/ov3/ovhw/top.py", line 114, in __init__
    ftdi_io)
  File "/home/aromat/projects/3mdeb/openvizsla_new/ov_ftdi/software/fpga/ov3/ovhw/ftdi_bus.py", line 136, in __init__
    self.specials += MultiReg(~io.wr_n, self.tx_ind)
NameError: name 'MultiReg' is not defined
Makefile:18: recipe for target 'build/ov3.bit' failed
make: *** [build/ov3.bit] Error 1

When I used this soft 4 months ago, I didn't have errors like this.

Any ideas how to solve it?

@artur-rs
Copy link
Contributor

artur-rs commented Apr 2, 2019

I have found that software/fpga/ov3/ovhw/ftdi_bus.py file is missing crucial import line:

from migen.genlib.cdc import MultiReg

Simply add above line in the mentioned file and it should work as expected.

@pietrushnic
Copy link

@artur-rs it would be great if you can provide PR that fix the problem :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants