Lightelligence / rules_verilog

Bazel build rules for compiling Verilog
Other
21 stars 7 forks source link

Consider merging / contributing to hdl/bazel_hdl_rules? #19

Open mithro opened 2 years ago

mithro commented 2 years ago

There are a bunch of Googler's working on Bazel rules for hardware at https://github.com/hdl/bazel_rules_hdl -- this is uses by Google's HLS toolchain called XLS (https://github.com/google/xls).

There is a little bit more information at https://woset-workshop.github.io/PDFs/2021/a16.pdf and https://opensourcelive.withgoogle.com/events/bazelcon2021?talk=build-custom-silicon-with-bazel

The focus of bazel_rules_hdl has been more on RTL to GDS using the open source EDA toolchain like OpenROAD / OpenLane but good support for the proprietary tooling and simulation / DV support would be awesome to have.

It would be awesome to combined forces!

ciglass commented 2 years ago

Hi, thanks for reaching out. I'm not familiar with bazel_rules_hdl or the HLS toolchain yet, but I'm happy to join forces! I'll need to spend some time reading the bazel_rules_hdl repo to understand how I can fold in the rules we have for proprietary tools.

I'm planning on open-sourcing a few more tools from Lightelligence in the coming weeks, including a DV simulation spawning/regression management script. Does bazel_rules_hdl have something similar? I saw that the Project Vision section of the bazel_rules_hdl lists "Supporting testing via simulation, formal verification, emulation and others", but I didn't see simulation rules in the repo.

mithro commented 2 years ago

FYI - @stridge-cruxml just landed Verilator and Vivado support into bazel_hdl_rules @ https://github.com/hdl/bazel_rules_hdl/pull/118 and https://github.com/hdl/bazel_rules_hdl/pull/115

There is a bunch of discussion in https://github.com/hdl/bazel_rules_hdl/issues/106 about various closed source tooling support too.

ciglass commented 2 years ago

Thanks! I'll check out that discussion soon. I unfortunately still haven't gotten the time to read the bazel_rules_hdl repo and see how best to combine our efforts. Work has been keeping me and @jmlemay99 very busy for a while.