@Matt Venn, I'm doing RTL simulation for my design, and my test fails. 1) What could be the reason? It looks like the logic is working fine but the outputs are not getting assigned to the mprj_io_out. Is this an issue related to the enabling of registers in the .c file? Attaching, .c, _tb.v, a snapshot of the results and the gtkwave-waveform. Any help would be appreciated. Thanks!