URL
https://opencores.org/ocsvn/theia_gpu/theia_gpu/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 175 |
Rev 176 |
Line 226... |
Line 226... |
//----------------------------------------
|
//----------------------------------------
|
//Wait for reset sequence to complete,
|
//Wait for reset sequence to complete,
|
//Or until we are enabled
|
//Or until we are enabled
|
`HOST_IDLE:
|
`HOST_IDLE:
|
begin
|
begin
|
`ifndef VERILATOR
|
// `ifndef VERILATOR
|
RenderedPixels = 0;
|
RenderedPixels = 0;
|
`endif
|
// `endif
|
|
|
rWBMEnable = 0;
|
rWBMEnable = 0;
|
rInitiaReadAddr = 1; //Start reading from 1, because 0 is the size
|
rInitiaReadAddr = 1; //Start reading from 1, because 0 is the size
|
rWBMReset = 0;
|
rWBMReset = 0;
|
oMemSelect = 0;
|
oMemSelect = 0;
|
Line 670... |
Line 670... |
|
|
|
|
|
|
if (iGPUCommitedResults)
|
if (iGPUCommitedResults)
|
begin
|
begin
|
`ifndef VERILATOR
|
// `ifndef VERILATOR
|
`ifndef NO_DISPLAY_STATS
|
`ifndef NO_DISPLAY_STATS
|
for (i = 0; i < `MAX_CORES; i = i + 1)
|
for (i = 0; i < `MAX_CORES; i = i + 1)
|
begin
|
begin
|
$write(".");
|
$write(".");
|
`ifndef VERILATOR
|
`ifndef VERILATOR
|
$fflush;
|
$fflush;
|
`endif
|
`endif
|
end
|
end
|
|
|
RenderedPixels = RenderedPixels + `MAX_CORES;
|
RenderedPixels = RenderedPixels + `MAX_CORES;
|
|
/* verilator lint_off WIDTH */
|
if ( RenderedPixels % iDebugWidth == 0)
|
if ( RenderedPixels % iDebugWidth == 0)
|
|
begin
|
|
|
$write("]%d\n[",RenderedPixels / iDebugWidth);
|
$write("]%d\n[",RenderedPixels / iDebugWidth);
|
|
|
`ifndef VERILATOR
|
`ifndef VERILATOR
|
$fflush;
|
$fflush;
|
`endif
|
`endif
|
|
end
|
|
/* verilator lint_on WIDTH */
|
|
|
`endif
|
`endif
|
`endif
|
// `endif
|
|
|
rHostNextState = `HOST_PREPARE_FOR_GEO_REQUESTS;
|
rHostNextState = `HOST_PREPARE_FOR_GEO_REQUESTS;
|
end
|
end
|
else
|
else
|
rHostNextState = `HOST_LAST_PRIMITIVE_REACHED;
|
rHostNextState = `HOST_LAST_PRIMITIVE_REACHED;
|
© copyright 1999-2025
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.