CONFIG.PY(1)
π CONFIG.PY(1) β User Commands π
okay bestie, welcome to the cocotb-config page, a.k.a. the little manual for the command that spills the tea on your cocotb setup β¨
πΈ NAME πΈ
cocotb-config β query cocotb configuration, no cap π«Ά
π DESCRIPTION π
so the way this works is you ask <pink>cocotb-config</pink> a question and it tells you where stuff lives. that's it, that's the whole vibe. it's giving "personal assistant but for paths" π
here's the synopsis, verbatim, because she's iconic and we don't touch her:
cocotb-config [-h] [--share | --makefiles | --python-bin | --help-vars |
--libpython | --lib-dir | --lib-name INTERFACE SIMULATOR |
--lib-name-path INTERFACE SIMULATOR | --version]
β¨ options: β¨
-h,--helpβ show this help message and exit. the classic escape hatch, we love her π--shareβ print the path to cocotb's share directory. the home of the homies π--makefilesβ print the path to cocotb's makefile directory. yes bestie, the makefiles are real and they have an address π--python-binβ print the path to the Python executable associated with the environment that cocotb is installed in. it's the python that cocotb actually claims, not just any random python on your system, so mind the difference π--help-varsβ print help about supported Makefile variables. an entire info dump just for the Makefile girlies π§--libpythonβ print the absolute path to the libpython associated with the current Python installation. absolute, as in the full path, not a vibe π--lib-dirβ print the absolute path to the interface libraries location. go here for interface libs π--lib-name INTERFACE SIMULATORβ print the name of interface library for given interface (VPI/VHPI/FLI) and simulator. you hand over an INTERFACE and a SIMULATOR, it hands back a name, periodt β--lib-name-path INTERFACE SIMULATORβ print the absolute path of interface library for given interface (VPI/VHPI/FLI) and simulator. same inputs, but now you get the full absolute path instead of just the name π--versionβ print the version of cocotb. always know which era you're living in π¦
heads up bestie: the top-level synopsis groups these with | separators, so they're presented as mutually exclusive choices β pick your one (or one-plus-its-arguments) and let her cook. don't come for me, I'm just reading the sign π₯
and that's the whole page, mwah π this was the cocotb-config manual, served up courtesy of cocotb-config and dated July 2026. love that for us. go query something, you got this π«Άπβ¨
π¦ where this page comes from
- ubuntu stonking: python3-cocotb 2.0.1-3.1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms