When trying out things in Verilog, one of the struggles I have is understanding what my “noob” code is doing. There’s no such thing as a printf here, obviously. There’s simulation, but that only goes so far when tying into the real world, and there are LEDs and 7-segment displays, which are trivial to attach to some internal signals.
But that’s not enough: I want a transcript of a series of events, to see what happened, in the proper context and sequence.
↧