Code Monkey home page Code Monkey logo

pynqfire's People

Contributors

hackwa avatar sfox14 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

pynqfire's Issues

undefined symbol: axi_dma_simple_unregister

Hello,
I tried the example from the notebook directory but I'm not able to run it.
At

from fir import fir
accel = fir()

I get this error:

---------------------------------------------------------------------------
OSError                                   Traceback (most recent call last)
<ipython-input-3-0447660a1355> in <module>()
    1 from fir import fir
----> 2 accel = fir()

/opt/python3.6/lib/python3.6/site-packages/fir/fir.py in __init__(self)
    56         ffi = cffi.FFI()
    57         ffi.cdef("void _p0_cpp_FIR_0(void *din, void *dout, int dlen);")
---> 58         self.lib = ffi.dlopen(self.libfile)
    59         if PL.bitfile_name != self.bitfile:
    60                 self.download_bitstream()

/opt/python3.6/lib/python3.6/site-packages/cffi/api.py in dlopen(self, name, flags)
    138         assert isinstance(name, basestring) or name is None
    139         with self._lock:
--> 140             lib, function_cache = _make_ffi_library(self, name, flags)
    141             self._function_caches.append(function_cache)
    142             self._libraries.append(lib)

/opt/python3.6/lib/python3.6/site-packages/cffi/api.py in _make_ffi_library(ffi, libname, flags)
    784 def _make_ffi_library(ffi, libname, flags):
    785     backend = ffi._backend
--> 786     backendlib = _load_backend_lib(backend, libname, flags)
    787     #
    788     def accessor_function(name):

/opt/python3.6/lib/python3.6/site-packages/cffi/api.py in _load_backend_lib(backend, name, flags)
    779         if first_error is not None:
    780             msg = "%s.  Additionally, %s" % (first_error, msg)
--> 781         raise OSError(msg)
    782     return backend.load_library(path, flags)
    783 

OSError: cannot load library /opt/python3.6/lib/python3.6/site-packages/fir/libfir.so: /opt/python3.6/lib/python3.6/site-packages/fir/libfir.so: undefined symbol: axi_dma_simple_unregister.  Additionally, ctypes.util.find_library() did not manage to locate a library called '/opt/python3.6/lib/python3.6/site-packages/fir/libfir.so'

The file exist and is readable from anyone.
The symbol is effectively undefined in the libfir.so:

# objdump -t libfir.so | grep axi_dma

00000000       F *UND*	00000000              axi_dma_simple_open
00000000       F *UND*	00000000              axi_dma_simple_send_i
00000000         *UND*	00000000              axi_dma_simple_unregister
00000000       F *UND*	00000000              axi_dma_simple_recv_i
00000000       F *UND*	00000000              axi_dma_simple_close
00000000         *UND*	00000000              axi_dma_simple_register

Do you have any clue on what is happening ?

Hello,I meet an OSError remind the lack of libfir.so file.

Here is the info.I download your project in github.

OSError: cannot load library /home/xilinx/jupyter_notebooks/YesICan/pynqfire-master/notebooks/fir/libfir.so: /home/xilinx/jupyter_notebooks/YesICan/pynqfire-master/notebooks/fir/libfir.so: cannot open shared object file: No such file or directory. Additionally, ctypes.util.find_library() did not manage to locate a library called '/home/xilinx/jupyter_notebooks/YesICan/pynqfire-master/notebooks/fir/libfir.so'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.