We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
import magma as m class Foo(m.Circuit): T = m.Tuple[m.Bit, m.Bits[8]] io = m.IO(I=m.In(T), O=m.Out(T)) io.O[0] @= ~io.I[0] io.O[1] @= io.I[1] ^ 0xFF m.compile("build/Foo", Foo, output="mlir-verilog")
<stdin>:2:35: error: expected valid keyword hw.module @Foo(%I: !hw.struct<0: i1, 1: i8>) -> (O: !hw.struct<0: i1, 1: i8>) { ^
CIRCT doesn't support integer key names for generating verilog
The text was updated successfully, but these errors were encountered:
[MLIR] Prefix tuple field keys with _
f15e28d
See #1252.
[MLIR] Add support for Tuples with integer keys (#1260)
b0fa293
* [MLIR] Prefix tuple field keys with _ See #1252. * [MLIR] Factor out magma tuple key to string logic
Fixed by #1260
Sorry, something went wrong.
No branches or pull requests
CIRCT doesn't support integer key names for generating verilog
The text was updated successfully, but these errors were encountered: