Comments (5)
[root@TTOOMM /home/root/ic_prjs/cocotb_test/cocotb/examples/simple_dff]$cocotb-config
usage: cocotb-config [-h] [--prefix] [--share] [--makefiles] [--python-bin] [--help-vars] [--libpython] [--lib-dir] [--lib-name INTERFACE SIMULATOR] [--lib-name-path INTERFACE SIMULATOR] [-v]
options:
-h, --help show this help message and exit
--prefix echo the package-prefix of cocotb
--share echo the package-share of cocotb
--makefiles echo the package-makefiles of cocotb
--python-bin echo the path to the Python binary cocotb is installed for
--help-vars show help about supported variables
--libpython Print the absolute path to the libpython associated with the current Python installation
--lib-dir Print the absolute path to the interface libraries location
--lib-name INTERFACE SIMULATOR
Print the name of interface library for given interface (VPI/VHPI/FLI) and simulator
--lib-name-path INTERFACE SIMULATOR
Print the absolute path of interface library for given interface (VPI/VHPI/FLI) and simulator
-v, --version echo the version of cocotb
[root@TTOOMM /home/root/ic_prjs/cocotb_test/cocotb/examples/simple_dff]$cocotb-config --lib-dir
/home/lib/python3.11/site-packages/cocotb/libs
[root@TTOOMM /home/root/ic_prjs/cocotb_test/cocotb/examples/simple_dff]$cocotb-config --libpython
[root@TTOOMM /home/root/ic_prjs/cocotb_test/cocotb/examples/simple_dff]$
from cocotb.
I can't find the libpython of cocotb....., I will get a error "
/home/lib/python3.11/site-packages/cocotb/share/makefiles/Makefile.inc:159: ***
find_libpython was not able to find a libpython in the current Python environment. Ensure
the Python development packages are installed. If they are installed and find_libpython
is not finding the path to libpython, file an upstream bug in find_libpython; then
manually override the LIBPYTHON_LOC make variable with the absolute path to libpython.so
(or python.dll on Windows)."
when i run the "make SIM=icarus".
why ???
just the libpython can not be finded.
please....
@nickg @ddribin @kaleb Barrett
from cocotb.
Thanks for mentioning me but I don't know if I can assist with this.
from cocotb.
hi I meet the same problem, your problem have been solved yet? thanks very much
from cocotb.
@xmy01 Is libpython3.X.so
available on your system? You may need to install the libpython3.X-dev
package if you are on Debian/Ubuntu. If you are on another OS, please research how to install that library. If you are sure there's a libpython3.X.so
available on your system and cocotb-config --libpython
still returns nothing, open a ticket against find_libpython
.
And next time you have an issue with any tool on Github, open a new issue, don't bump closed issues.
from cocotb.
Related Issues (20)
- Compile sources into different libs HOT 1
- Improve implementation of `Freeze` and `Release`
- `Release` does not work on GHDL
- `Force`/`Release` don't work on Verilator
- Setting value on forced signal causes implicit release on Riviera
- Questa's FLI allows depositing over a forced signal
- Treat each `MODULE` as it's own testsuite in JUnit results
- Backwards compat `TESTCASE`
- Add Python runner to quick start guide
- Allow Logic for BinaryValue.__eq__() in cocotb 1.8
- COCOTB_RESOLVE_X not working HOT 3
- Change CI's MacOS Verilator test to build cocotb from source
- Python Runner starts tests directly (not waiting for GUI) HOT 1
- Add value change triggers as methods to handles
- Make terminology used in documentation consistent
- Make working with packed objects easier
- `TypeError` exception when running simulation HOT 11
- Make `cocotb_tools.runner` work on native Windows environment
- Make sure all public interfaces are documented and typed
- COCOTB + Verilator reads stale signal values when on clock posedge HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cocotb.