google / google/xls

Channel type should be a template specialization or record

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

Description

This example shows:
UNIMPLEMENTED: Channel type should be a template specialization or record decl
--> ./typedef_bug.cpp:13:11
|
13 | void bug (chT &inp, chT &o_out)
| ^

Where this completes successfully:
void bug (ac_channel> &inp, ac_channel> &o_out)

This does not:
typedef ac_channel> chT;
void bug (chT &inp, chT &o_out)

untar and adjust XLS_HOME for your env:
./run_xls_bug.sh
[2xls.gz](https://github.com/google/xls/files/11410676/2xls.gz)

Thanks for taking a look

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.