This just writes out to the registers we defined earlier. The base of the module's MMIO region is at 0x2000. This will be printed out in the address map portion when you generated the verilog code. Compiling this program with make produces apwm.riscvexecutable. ...