support ibuff in WaveSim

This commit is contained in:
stefan committed 2021-01-06 15:58:47 +09:00
1 parent dfbc35eeb9
commit 7e6660002b
1 file changed
+1 -1
+1 -1
View File
@@ -151,7 +151,7 @@ class WaveSim:
ops.append((0b0110, o0_idx, i0_idx, i1_idx))
elif kind.startswith('xnor'):
ops.append((0b1001, o0_idx, i0_idx, i1_idx))
elif kind.startswith('not') or kind.startswith('inv'):
elif kind.startswith('not') or kind.startswith('inv') or kind.startswith('ibuf'):
ops.append((0b0101, o0_idx, i0_idx, i1_idx))
elif kind.startswith('buf') or kind.startswith('nbuf'):
ops.append((0b1010, o0_idx, i0_idx, i1_idx))