OpenCores
URL https://opencores.org/ocsvn/xulalx25soc/xulalx25soc/trunk

Subversion Repositories xulalx25soc

[/] [xulalx25soc/] [trunk/] [sw/] [cfgscope.cpp] - Diff between revs 17 and 105

Show entire file | Details | Blame | View Log

Rev 17 Rev 105
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);
        }
        }

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.