clks label CLK100 CLK100 NPIXCLK NPIXCLK label TPIXCLK TPIXCLK TPIXCLK ppu top label RESET RESET WEN WEN ADDR[15:0] ADDR[15:0] DATA[15:0] DATA[15:0] R[3:0] R[3:0] G[3:0] G[3:0] B[3:0] B[3:0] VSYNC VSYNC HSYNC HSYNC VBLANK VBLANK SYSCLK SYSCLK SYSRST SYSRST PL_SPRITE_FG PL_SPRITE_FG PL_SPRITE_BG PL_SPRITE_BG PL_DONE PL_DONE PL_READY PL_READY TMM_WEN TMM_WEN BAM_WEN BAM_WEN FAM_WEN FAM_WEN PAL_WEN PAL_WEN AUX_WEN AUX_WEN TMM_W_ADDR[15:0] TMM_W_ADDR[15:0] TMM_R_ADDR[15:0] TMM_R_ADDR[15:0] BAM_W_ADDR[10:0] BAM_W_ADDR[10:0] BAM_R_ADDR[10:0] BAM_R_ADDR[10:0] TMM_R_DATA[14:0] TMM_R_DATA[14:0] BAM_R_DATA[14:0] BAM_R_DATA[14:0] FAM_W_ADDR[7:0] FAM_W_ADDR[7:0] PAL_W_ADDR[5:0] PAL_W_ADDR[5:0] AUX_W_ADDR[0:0] AUX_W_ADDR[0:0] CIDX[5:0] CIDX[5:0] BG_EN BG_EN FG_EN[127:0] FG_EN[127:0] FG_HIT[127:0] FG_HIT[127:0] X[8:0] X[8:0] Y[7:0] Y[7:0] UR[3:0] UR[3:0] UG[3:0] UG[3:0] UB[3:0] UB[3:0] BG_SHIFT_X[8:0] BG_SHIFT_X[8:0] BG_SHIFT_Y[7:0] BG_SHIFT_Y[7:0] FG_FETCH FG_FETCH NVSYNC NVSYNC NHSYNC NHSYNC THBLANK THBLANK TVBLANK TVBLANK PCEG_RESET PCEG_RESET background sprite label CLK CLK RESET RESET PL_STAGE PL_STAGE OE OE X[8:0] X[8:0] Y[7:0] Y[7:0] BG_SHIFT_X[8:0] BG_SHIFT_X[8:0] BG_SHIFT_Y[7:0] BG_SHIFT_Y[7:0] BAM_ADDR[10:0] BAM_ADDR[10:0] BAM_DATA[14:0] BAM_DATA[14:0] TMM_ADDR[15:0] TMM_ADDR[15:0] TMM_DATA[14:0] TMM_DATA[14:0] HEXRADIX T_BAM_ADDR[10:0] T_BAM_ADDR[10:0] R_BAM_ADDR[10:0] R_BAM_ADDR[10:0] T_BAM_DATA[14:0] T_BAM_DATA[14:0] R_BAM_DATA[14:0] R_BAM_DATA[14:0] T_TMM_ADDR[15:0] T_TMM_ADDR[15:0] R_TMM_ADDR[15:0] R_TMM_ADDR[15:0] T_TMM_DATA[14:0] T_TMM_DATA[14:0] R_TMM_DATA[14:0] R_TMM_DATA[14:0] PIXEL_ABS_X PIXEL_ABS_X PIXEL_ABS_Y PIXEL_ABS_Y TILE_IDX_X TILE_IDX_X TILE_IDX_Y TILE_IDX_Y TILE_PIDX_X[3:0] TILE_PIDX_X[3:0] TRANS_TILE_PIDX_X[3:0] TRANS_TILE_PIDX_X[3:0] TILE_PIDX_Y[3:0] TILE_PIDX_Y[3:0] TRANS_TILE_PIDX_Y[3:0] TRANS_TILE_PIDX_Y[3:0] TRANS_TILE_PIDX TRANS_TILE_PIDX TILEMAP_WORD_OFFSET TILEMAP_WORD_OFFSET PIXEL_BIT_OFFSET PIXEL_BIT_OFFSET TMM_DATA_PAL_IDX[2:0] TMM_DATA_PAL_IDX[2:0] CIDX[5:0] CIDX[5:0] T_CIDX[5:0] T_CIDX[5:0] display coordinates label T_POS_X[8:0] T_POS_X[8:0] T_POS_Y[7:0] T_POS_Y[7:0] U_POS_X[8:0] U_POS_X[8:0] U_POS_Y[7:0] U_POS_Y[7:0] N_POS_X[9:0] N_POS_X[9:0] N_POS_Y[8:0] N_POS_Y[8:0] active label NACTIVE NACTIVE NHACTIVE NHACTIVE NVACTIVE NVACTIVE TACTIVE TACTIVE THACTIVE THACTIVE TVACTIVE TVACTIVE ACTIVE ACTIVE THBLANK THBLANK TVBLANK TVBLANK pipeline stages label CLK CLK RESET RESET SPRITE_BG SPRITE_BG SPRITE_FG SPRITE_FG DONE DONE READY READY CLK_IDX_T CLK_IDX_T aux label CLK CLK RESET RESET AUX_WEN AUX_WEN AUX_ADDR[0:0] AUX_ADDR[0:0] AUX_DATA[15:0] AUX_DATA[15:0] BG_SHIFT_X[8:0] BG_SHIFT_X[8:0] BG_SHIFT_Y[7:0] BG_SHIFT_Y[7:0] FG_FETCH FG_FETCH INT_REG[31:0] INT_REG[31:0]