Skip to content

Utilities for working with Verilog within Bazel.

License

Notifications You must be signed in to change notification settings

CruxML/rules_verilog

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rules_verilog

Utilities for working with Verilog within Bazel.

gtkwave_wrapper

Wrapper for GTKWave to view traces generated by Bazel rules.

verilog_module

Bazel representation of a Verilog module's source files, dependencies, and top module.

load("@rules_verilog//verilog:defs.bzl", "verilog_module")

verilog_module(
    name = "counter",
    top = "counter",
    srcs = ["counter.sv"],
)

verilog_module(
    name = "counter_top",
    top = "counter_top",
    srcs = [
        "counter_top.sv",
    ],
    deps = [":counter"],
)

WORKSPACE

To incorporate rules_verilog into your project at the following to your WORKSPACE file.

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "rules_verilog",
    # See release page for latest version url and sha.
)

About

Utilities for working with Verilog within Bazel.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 65.5%
  • Starlark 34.5%