hackwa / pynqfire Goto Github PK
View Code? Open in Web Editor NEWPython FIR Filter Package for Xilinx Pynq Board
Python FIR Filter Package for Xilinx Pynq Board
你好,我看到你也在做yolov2在pynq上的实现。有些问题想请教你!方便加个微信吗?我的号是cui2014911。谢谢
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 ?
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'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.