clks label CLK100 CLK100 NPIXCLK NPIXCLK label TPIXCLK TPIXCLK TPIXCLK ppu top label WEN WEN ADDR[15:0] ADDR[15:0] DATA[15:0] DATA[15:0] SYSCLK SYSCLK SYSRST SYSRST 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 PCEG_RESET PCEG_RESET background sprite label CLK CLK RESET RESET PL_STAGE PL_STAGE 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] OE OE 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 SPRITE_FG_HIT SPRITE_FG_HIT DISPCTL_BWEN DISPCTL_BWEN 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] sprite[0] label CLK CLK RESET RESET PL_STAGE PL_STAGE PL_HIT PL_HIT OE OE X[8:0] X[8:0] Y[7:0] Y[7:0] FETCH FETCH VBLANK VBLANK FAM_WEN FAM_WEN FAM_ADDR[7:0] FAM_ADDR[7:0] FAM_DATA[15:0] FAM_DATA[15:0] TMM_ADDR[15:0] TMM_ADDR[15:0] TMM_DATA[14:0] TMM_DATA[14:0] CIDX[5:0] CIDX[5:0] HIT HIT 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] T_CIDX[5:0] T_CIDX[5:0] INT_FAM[31:0] INT_FAM[31:0] SPRITE_ACTIVE SPRITE_ACTIVE PIXEL_ABS_X PIXEL_ABS_X PIXEL_ABS_Y PIXEL_ABS_Y PIXEL_BIT_OFFSET PIXEL_BIT_OFFSET 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[15:0] TILEMAP_WORD[15:0] TILEMAP_WORD_OFFSET TILEMAP_WORD_OFFSET TMM_DATA_COL_IDX[2:0] TMM_DATA_COL_IDX[2:0] IDX IDX sprite[16] label CLK CLK RESET RESET PL_STAGE PL_STAGE PL_HIT PL_HIT OE OE HIT HIT SPRITE_ACTIVE SPRITE_ACTIVE X[8:0] X[8:0] Y[7:0] Y[7:0] FETCH FETCH VBLANK VBLANK FAM_WEN FAM_WEN FAM_ADDR[7:0] FAM_ADDR[7:0] FAM_DATA[15:0] FAM_DATA[15:0] TMM_ADDR[15:0] TMM_ADDR[15:0] TMM_DATA[14:0] TMM_DATA[14:0] CIDX[5:0] CIDX[5:0] R_TMM_ADDR[15:0] R_TMM_ADDR[15:0] R_TMM_DATA[14:0] R_TMM_DATA[14:0] T_TMM_ADDR[15:0] T_TMM_ADDR[15:0] T_TMM_DATA[14:0] T_TMM_DATA[14:0] T_CIDX[5:0] T_CIDX[5:0] INT_FAM[31:0] INT_FAM[31:0] PIXEL_ABS_X PIXEL_ABS_X PIXEL_ABS_Y PIXEL_ABS_Y PIXEL_BIT_OFFSET PIXEL_BIT_OFFSET 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[15:0] TILEMAP_WORD[15:0] TILEMAP_WORD_OFFSET TILEMAP_WORD_OFFSET TMM_DATA_COL_IDX[2:0] TMM_DATA_COL_IDX[2:0] IDX IDX compositor label OE OE label [16] [16] FG_HIT[16] label [0] [0] FG_HIT[0] FG_HIT[127:0] FG_HIT[127:0] label [16] [16] FG_EN[16] label [0] [0] FG_EN[0] FG_EN[127:0] FG_EN[127:0] BG_EN BG_EN FG_HIT_EMPTY[127:0] FG_HIT_EMPTY[127:0] TMP_BG_EN TMP_BG_EN TMP_FG_EN[127:0] TMP_FG_EN[127:0] dispctl label SYSCLK SYSCLK RESET RESET X[8:0] X[8:0] Y[7:0] Y[7:0] RI[3:0] RI[3:0] GI[3:0] GI[3:0] BI[3:0] BI[3:0] BWEN BWEN RO[3:0] RO[3:0] GO[3:0] GO[3:0] BO[3:0] BO[3:0] NVSYNC NVSYNC NHSYNC NHSYNC THBLANK THBLANK TVBLANK TVBLANK ACTIVE ACTIVE NPIXCLK NPIXCLK TPIXCLK TPIXCLK NHCOUNT[18:0] NHCOUNT[18:0] NVCOUNT[18:0] NVCOUNT[18:0] ADDR_I[9:0] ADDR_I[9:0] ADDR_O[9:0] ADDR_O[9:0] DATA_I[11:0] DATA_I[11:0] DATA_O[11:0] DATA_O[11:0] 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] NACTIVE NACTIVE NHACTIVE NHACTIVE NVACTIVE NVACTIVE TACTIVE TACTIVE THACTIVE THACTIVE TVACTIVE TVACTIVE