google / google/xls

Compiler segfaults while emitting verilog with cryptic error message

Open
#1,469 5 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
C++
Stars
1.9k
Forks
283
Avg merge
2d 10h
Merged PRs (30d)
135

Description

**Describe the bug**

When trying to generate Verilog for a fairly complex module written in DSLX the compiler segfaults.

**To Reproduce**
Steps to reproduce the behavior:

- Follow the XLS setup instructions for Ubuntu 2024
- Git clone my [XLS fork](https://github.com/joonho3020/xls/tree/joonho-main)
- Run `bazel build --verbose_failures -- //xls/modules/snappy:snappy_decompressor_verilog`

**Expected behavior**
A clear and concise description of what you expected to happen.

I expect to see the generated verilog

**Screenshots**
If applicable, add screenshots to help explain your problem.

verilog-segfault

**Environment (this can be helpful for troubleshooting):**
- OS: [e.g. Ubuntu]
- Versions [e.g. 22.04]

**Additional context**
Add any other context about the problem here.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.