We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01b819e commit 5111a4bCopy full SHA for 5111a4b
llvm
test/Conversion/FSMToSV/single_state.mlir
@@ -1,7 +1,8 @@
1
-// RUN: circt-opt -convert-fsm-to-sv -lower-seq-to-sv -export-verilog %s -o /dev/null | FileCheck %s
+// RUN: circt-opt -convert-fsm-to-sv %s | FileCheck %s
2
3
-// Smoke test to verify single state lowering to verilog is supported.
4
-// CHECK: module top
+// CHECK: case A:
+// CHECK-NEXT: sv.bpassign
5
+// CHECK-SAME: !hw.typealias<@fsm_enum_typedecls::@FSM_state_t, !hw.enum<A>>
6
7
fsm.machine @FSM(%arg0: i1, %arg1: i1) -> (i8) attributes {initialState = "A"} {
8
%c_0 = hw.constant 0 : i8
0 commit comments