CONFIG.PY(1)

πŸ“¦ version 2.0.1, in ubuntu stonking

πŸ’– 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