Open tcaduser opened 6 months ago
Dockerfile.txt Hi, unfortunately, the documentation is very outdated. Nobody is actively working on the project right now - unfortunately. Still, the code works well, let me give you some guidance. It only works on Linux, though.
First, you must install verilogae in your Python. You have two options.
1) Try to run:
pip install verilogae
It will download and install from here https://pypi.org/project/verilogae/#files
2) If this does not work, you can compile yourself. Use the Dockerfile I attached below.
Run
docker build -t vae_build .
Then
docker run -ti -v $(pwd):/in vae_build:latest
to mount your current directory of the local machine in the Docker and you can find the compiled wheel files
under /io/OpenVAF/wheels.
These wheels can be directly installed in Python.
Now, this is how you load the model in Python:
import verilogae
hl2 = verilogae.load(path_to_model.va)
Hope it helps!
Thanks. I am now able to start experimenting with the pypi package.
I am trying to use verilogae, using the syntax presented here: https://man.sr.ht/~dspom/openvaf_doc/verilogae/examples.md
However this doesn't seem to work from a build using your installation instructions here: https://github.com/pascalkuthe/OpenVAF?tab=readme-ov-file#building-openvaf-with-docker
For example:
What is the best way to get verilogae to work? I do not see there to be a download available.