Error: unknown type `clock` in dialect `seq`

I’m getting this ^^^ error when I call

mlirModule = parseSourceFile<ModuleOp>(sourceMgr, &context);

for a module:

hw.module private @Rocket(%clock: !seq.clock, ...)

any suggestions would be appreciated! :slight_smile:
Thanks

There were some recent changes that added a new clock type to the seq dialect [1]. It sounds like you may be using .mlir generated from a version of CIRCT which has seq.clock in a version of CIRCT which doesn’t yet know about it?

Exactly that! Thanks a lot :slight_smile: