As the error message says, you need an implicit clock and reset,
which is provided when you're in a Module or withClockAndReset
scope. In particular, experimental.RawModule does NOT
provide an implicit clock and reset within its scope, so
attempting to instantiate Reg in there will fail. Try placing the
Reg call within a withClockAndReset scope.
--
You received this message because you are subscribed to the Google Groups "chisel-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chisel-users...@googlegroups.com.
To post to this group, send email to chisel...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/chisel-users/f2b04ebf-f158-4598-aac5-415dbbfe1f78%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.