One edge, one world

You will learn

What a clock domain is, the four ways clock_domain.t27 names to cross one, and what the native compiler checks of them.

A clock domain is every flip-flop that shares one clock edge. Move a signal between two domains and the receiving edge can sample it mid-change: that is the whole subject of this course. clock_domain.t27 names the four ways across in one enum: no_cross, two_flop, fifo_async, handshake. Module 5 takes two_flop apart, module 6 the handshake, module 7 the FIFO. The recording runs the native t27c on this spec: 12 tests pass and 5 invariants are proved while it compiles. The player compiles the spec in your browser; where the browser cannot run a check it skips it and says why.

Open the interactive lesson →