Closed
Description
Describe the bug
While working on #1613, we encountered an issue linked to afc720d, which appears to cause indefinite parsing and type-checking loops for certain files, such as mem_writer.x
(provided in this PR).
To Reproduce
Steps to reproduce the behavior:
- Checkout on the branch from Add procs for interfacing with AXI peripherals in ZSTD Decoder #1613
- Execute the command
bazel build -c opt //xls/modules/zstd/memory:mem_writer_verilog
- Observe indefinite loop in parsing and type-checking
mem_writer
DSLX files:
Converting DSLX file to XLS IR: xls/modules/zstd/memory/mem_writer.x; 48s remote-cache, processwrapper-sandbox
Parsing and type checking DSLX source files of target mem_writer_dslx; 48s remote-cache, processwrapper-sandbox
- Cancel bazel build
- Revert afc720d
- Repeat the bazel build command:
bazel build -c opt //xls/modules/zstd/memory:mem_writer_verilog
- Observe correct IR and verilog generation for the
MemWriter
proc.
Expected behavior
Toolchain should be able to generate IR for the provided MemWriter
proc .
Additional context
This is a blocker for #1613 and as a consequence also for #1211.
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Done