Skip to content

Commit 42b7089

Browse files
committed
modules/zstd/memory/MemWriter: Add cocotb test
Signed-off-by: Pawel Czarnecki <[email protected]>
1 parent 74c8bb4 commit 42b7089

File tree

3 files changed

+765
-0
lines changed

3 files changed

+765
-0
lines changed

xls/modules/zstd/memory/BUILD

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -764,3 +764,29 @@ place_and_route(
764764
tags = ["manual"],
765765
target_die_utilization_percentage = "10",
766766
)
767+
768+
py_test(
769+
name = "mem_writer_cocotb_test",
770+
srcs = ["mem_writer_cocotb_test.py"],
771+
data = [
772+
":mem_writer.v",
773+
":mem_writer_wrapper.v",
774+
"@com_icarus_iverilog//:iverilog",
775+
"@com_icarus_iverilog//:vvp",
776+
],
777+
imports = ["."],
778+
tags = ["manual"],
779+
visibility = ["//xls:xls_users"],
780+
deps = [
781+
requirement("cocotb"),
782+
requirement("cocotbext-axi"),
783+
requirement("pytest"),
784+
"//xls/common:runfiles",
785+
"//xls/modules/zstd/cocotb:channel",
786+
"//xls/modules/zstd/cocotb:utils",
787+
"//xls/modules/zstd/cocotb:xlsstruct",
788+
"@com_google_absl_py//absl:app",
789+
"@com_google_absl_py//absl/flags",
790+
"@com_google_protobuf//:protobuf_python",
791+
],
792+
)

0 commit comments

Comments
 (0)