Commit ab3676e
fix(codegen): emit type aliases as comments in gen-verilog (not invalid params) (#1025)
* trigger: force railway redeploy for direct access
Refs #1025
* Update NotebookLM sync status [skip ci]
Refs #1025
* Update NotebookLM sync status [skip ci]
Refs #1025
* fix(codegen): emit type aliases as comments in gen-verilog (not invalid params)
gen_verilog_const emitted `const GF16 = u16;` / `const TernaryWord = [N]u8;` as
invalid `parameter [31:0] GF16 = u16;` (non-numeric RHS, uncompilable). Verilog
has no typedef -> emit a comment. Guard excludes `{...}` initializers so array-LUT
consts ([32]u16{0x..}) are not misclassified. Verified regen-vs-regen on master:
zero regressions; type-alias error class removed.
Closes #1027
Refs #979
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
---------
Co-authored-by: Dmitrii Vasilev <admin@t27.ai>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: SSD DDD <ssdm4@MacBook-Pro.local>
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>1 parent d9b76c5 commit ab3676e
2 files changed
Lines changed: 24 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3906 | 3906 | | |
3907 | 3907 | | |
3908 | 3908 | | |
| 3909 | + | |
| 3910 | + | |
| 3911 | + | |
| 3912 | + | |
| 3913 | + | |
| 3914 | + | |
| 3915 | + | |
| 3916 | + | |
| 3917 | + | |
| 3918 | + | |
| 3919 | + | |
| 3920 | + | |
| 3921 | + | |
| 3922 | + | |
| 3923 | + | |
| 3924 | + | |
| 3925 | + | |
| 3926 | + | |
3909 | 3927 | | |
3910 | 3928 | | |
3911 | 3929 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
5 | 11 | | |
6 | 12 | | |
7 | 13 | | |
| |||
0 commit comments