Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 11 additions & 4 deletions flow/designs/src/mempool_group/rtl/BUILD
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
filegroup(
name = "include",
srcs = glob(["*.v", "*.sv", "*.svh"], allow_empty = True) + [
load("//flow/designs:design.bzl", "files")

# files() rather than a bare filegroup: the globbed sources are then also
# exported as individual labels, which the config.mk parser in bazel-orfs
# needs -- nangate45/mempool_group's VERILOG_FILES names files in this
# directory one by one, and a bare filegroup makes them private to it.
# The extra sources are the headers from sibling packages that the
# include group has always carried.
files(
"include",
extra_srcs = [
"//flow/designs/src/mempool_group/rtl/axi:assign.svh",
"//flow/designs/src/mempool_group/rtl/axi:typedef.svh",
"//flow/designs/src/mempool_group/rtl/common_cells:assertions.svh",
"//flow/designs/src/mempool_group/rtl/common_cells:registers.svh",
"//flow/designs/src/mempool_group/rtl/mempool:mempool.svh",
],
visibility = ["//visibility:public"],
)