This repository contains a bazel rule set for running ghdl, the
VHDL simulator and synthesizer
bazel installation via bazelisk. I recommend downloading bazelisk
and placing it somewhere in your $PATH under the name bazel.Everything else will be downloaded for use the first time you run the build.
See rules.md for the generated rule documentation.
This rule set is hermetic. All dependencies are set up automatically by bazel.
In general, see integration/ for example use.
The module is available through my bazel registry at https://github.com/filmil/bazel-registry.
ghdl_verilogUse GDHL to convert a vhdl file to verilog. The build process will build an intermediate result of a single VHDL library as well.
cd integration && bazel build //... && cat bazel-bin/verilog/lib.v
To see how it builds a library, run this:
cd integration && bazel build //:lib
1.2.02026-06-12 |