google / google/xls

[enhancement] Non-bits-typed parametrics should be supported in procs

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

Description

### What's hard to do? (limit 100 words)

Currently, the assumption that proc parametrics are bits-typed seems baked in multiple places.

### Current best alternative workaround (limit 100 words)

Use bits types everywhere- if you want to use structs, pack and unpack at proc spawn boundaries.

### Your view of the "best case XLS enhancement" (limit 100 words)

Any type should work as a proc parametric.

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.