Line 11... |
Line 11... |
// Creator: Dan Gisselquist, Ph.D.
|
// Creator: Dan Gisselquist, Ph.D.
|
// Gisselquist Technology, LLC
|
// Gisselquist Technology, LLC
|
//
|
//
|
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
//
|
//
|
// Copyright (C) 2015, Gisselquist Technology, LLC
|
// Copyright (C) 2015-2016, Gisselquist Technology, LLC
|
//
|
//
|
// This program is free software (firmware): you can redistribute it and/or
|
// This program is free software (firmware): you can redistribute it and/or
|
// modify it under the terms of the GNU General Public License as published
|
// modify it under the terms of the GNU General Public License as published
|
// by the Free Software Foundation, either version 3 of the License, or (at
|
// by the Free Software Foundation, either version 3 of the License, or (at
|
// your option) any later version.
|
// your option) any later version.
|
Line 118... |
Line 118... |
scoplen = (1<<lgln);
|
scoplen = (1<<lgln);
|
|
|
DEVBUS::BUSW *buf;
|
DEVBUS::BUSW *buf;
|
buf = new DEVBUS::BUSW[scoplen];
|
buf = new DEVBUS::BUSW[scoplen];
|
|
|
if (false) {
|
if (true) {
|
m_fpga->readz(WBSCOPEDATA, scoplen, buf);
|
m_fpga->readz(WBSCOPEDATA, scoplen, buf);
|
} else {
|
} else {
|
for(unsigned int i=0; i<scoplen; i++)
|
for(unsigned int i=0; i<scoplen; i++)
|
buf[i] = m_fpga->readio(WBSCOPEDATA);
|
buf[i] = m_fpga->readio(WBSCOPEDATA);
|
}
|
}
|