Skip to content
Snippets Groups Projects
Commit 3d7cb42c authored by Aaron Cuevas Lopez's avatar Aaron Cuevas Lopez
Browse files

Comment flush extra debug messages

parent 8bc0f5dc
Branches
Tags
No related merge requests found
......@@ -1389,14 +1389,14 @@ void Rhd2000EvalBoard::flush()
{
dev->SetWireInValue(WireInResetRun, 1 << 16, 1 << 16); //Override pipeout block throttle
dev->UpdateWireIns();
cout << "Pre-Flush: " << numWordsInFifo() << endl;
//cout << "Pre-Flush: " << numWordsInFifo() << endl;
while (numWordsInFifo() >= USB_BUFFER_SIZE / 2) {
dev->ReadFromBlockPipeOut(PipeOutData, USB3_BLOCK_SIZE, USB_BUFFER_SIZE, usbBuffer);
cout << "Flush phase A: " << numWordsInFifo() << endl;
// cout << "Flush phase A: " << numWordsInFifo() << endl;
}
while (numWordsInFifo() > 0) {
dev->ReadFromBlockPipeOut(PipeOutData, USB3_BLOCK_SIZE, USB3_BLOCK_SIZE *max(2 * numWordsInFifo() / USB3_BLOCK_SIZE, (unsigned int)1), usbBuffer);
cout << "Flush phase B: " << numWordsInFifo() << endl;
// cout << "Flush phase B: " << numWordsInFifo() << endl;
printFIFOmetrics();
}
dev->SetWireInValue(WireInResetRun, 0, 1 << 16);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment