Line 71... |
Line 71... |
input wire iTrigger_TFF,
|
input wire iTrigger_TFF,
|
input wire iBIUHit,
|
input wire iBIUHit,
|
output wire oTFFDone,
|
output wire oTFFDone,
|
output wire oSync,
|
output wire oSync,
|
output wire oSetIOWriteBackAddr,
|
output wire oSetIOWriteBackAddr,
|
|
input wire iIOBusy,
|
|
|
|
`ifdef DEBUG
|
|
input wire[`MAX_CORES-1:0] iDebug_CoreID,
|
|
`endif
|
output wire oDone
|
output wire oDone
|
);
|
);
|
|
|
|
|
|
|
Line 154... |
Line 159... |
.oNode_TriangleCount( wNode_TriangleCount ),
|
.oNode_TriangleCount( wNode_TriangleCount ),
|
.oNode_Brother_Address( wNode_Brother_Address ),
|
.oNode_Brother_Address( wNode_Brother_Address ),
|
.oParents_Brother_Address( wParents_Brother_Address ),
|
.oParents_Brother_Address( wParents_Brother_Address ),
|
.oNode_DataOffset( wTNF2_TFU__TriangleDataOffset ),
|
.oNode_DataOffset( wTNF2_TFU__TriangleDataOffset ),
|
.oRAMWriteEnable( wRAMWriteEnable_TNF ),
|
.oRAMWriteEnable( wRAMWriteEnable_TNF ),
|
|
`ifdef DEBUG
|
|
.iDebug_CoreID( iDebug_CoreID ),
|
|
`endif
|
.oRAMWriteAddress( wRAMWriteAddress_TNF )
|
.oRAMWriteAddress( wRAMWriteAddress_TNF )
|
|
|
);
|
);
|
//------------------------------------------------
|
//------------------------------------------------
|
/*
|
/*
|
Line 178... |
Line 186... |
.oSetAddressWBM( wTFU2__SetAddressWBM ),
|
.oSetAddressWBM( wTFU2__SetAddressWBM ),
|
.oTriggerWBM( wTFU_Trigger_WBM ),
|
.oTriggerWBM( wTFU_Trigger_WBM ),
|
.oRAMWriteEnable( wRAMWriteEnable_TFU ),
|
.oRAMWriteEnable( wRAMWriteEnable_TFU ),
|
.iCR_TextureMappingEnabled( iTexturingEnable ),
|
.iCR_TextureMappingEnabled( iTexturingEnable ),
|
.oRAMWriteAddress( wRAMWriteAddress_TFU ),
|
.oRAMWriteAddress( wRAMWriteAddress_TFU ),
|
|
`ifdef DEBUG
|
|
.iDebug_CoreID( iDebug_CoreID ),
|
|
`endif
|
.oDone( wTriangleReadDone )
|
.oDone( wTriangleReadDone )
|
);
|
);
|
|
|
//------------------------------------------------
|
//------------------------------------------------
|
/*
|
/*
|
Line 192... |
Line 203... |
GeometryFetchFSM GFSM //TODO: Add new states to fetch the texures
|
GeometryFetchFSM GFSM //TODO: Add new states to fetch the texures
|
(
|
(
|
.Clock( Clock ),
|
.Clock( Clock ),
|
.Reset( Reset ),
|
.Reset( Reset ),
|
.iBIUHit( iBIUHit ),
|
.iBIUHit( iBIUHit ),
|
|
.iIOBusy( iIOBusy ),
|
.iTexturingEnable( iTexturingEnable ),
|
.iTexturingEnable( iTexturingEnable ),
|
.iEnable( iEnable ),
|
.iEnable( iEnable ),
|
.iAABBIUHit( iMicroCodeReturnValue ),
|
.iAABBIUHit( iMicroCodeReturnValue ),
|
.iUCodeDone( iMicrocodeExecutionDone ),
|
.iUCodeDone( iMicrocodeExecutionDone ),
|
.iTriangleReadDone( wTriangleReadDone ),
|
.iTriangleReadDone( wTriangleReadDone ),
|
Line 218... |
Line 230... |
.oEnable_WBM( wTFF_Trigger_WBM ),
|
.oEnable_WBM( wTFF_Trigger_WBM ),
|
.oAddressWBM( oAddressWBM_fromMEM ),
|
.oAddressWBM( oAddressWBM_fromMEM ),
|
.oSetAddressWBM( wTFF2__SetAddressWBM ),
|
.oSetAddressWBM( wTFF2__SetAddressWBM ),
|
.iTrigger_TFF( iTrigger_TFF ),
|
.iTrigger_TFF( iTrigger_TFF ),
|
.oSetIOWriteBackAddr( oSetIOWriteBackAddr ),
|
.oSetIOWriteBackAddr( oSetIOWriteBackAddr ),
|
|
`ifdef DEBUG
|
|
.iDebug_CoreID( iDebug_CoreID ),
|
|
`endif
|
.oRAMTextureStoreLocation( wRAMWriteAddress_TFF )
|
.oRAMTextureStoreLocation( wRAMWriteAddress_TFF )
|
|
|
);
|
);
|
assign oTFFDone = oDone;
|
assign oTFFDone = oDone;
|
|
|