Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Tools for reading value change dump (VCD) files, analyzing the SPI protocol, and interpreting Analog Devices AD9510 SPI commands

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 .gitignore
Octocat-spinner-32 InterpretVCDHeader.g
Octocat-spinner-32 README.TXT
Octocat-spinner-32 SConstruct
Octocat-spinner-32 SPI.py
Octocat-spinner-32 VCDSimulation.g
Octocat-spinner-32 ValueChangeDump.g
Octocat-spinner-32 __init__.py
Octocat-spinner-32 ad9510spi.py
Octocat-spinner-32 cmu_vcd.py
Octocat-spinner-32 gpl-3.0.txt
README.TXT
This package provides the ability to interpret some communication
messages contained in VCD (Value Change Dump) files.  There are three
components:

cmu_vcd.py processess VCD files and delivers value change
   notifications to subscribed observers.  This wraps ANTLR-generated
   parser code:
   * ValueChangeDump.g -- A near-complete VCD grammar; produces an AST.
   * InterpretVCDHeader.g -- Tree-walker which extracts id_code
     definitions and scopes


SPI.py receives notifications from vcd_reader, and reconstructs
   SPI-protocol compliant messages (as strings of bits).

ad9510spi.py takes in strings of bits, and interprets them as command
   messages for Analog Devices AD9510 clock chips.

-----------------------

Copyright 2011 Carnegie Mellon University. All rights reserved.

THIS SOFTWARE IS PROVIDED BY CARNEGIE MELLON UNIVERSITY ``AS IS'' AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY
BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

The views and conclusions contained in the software and documentation
are those of the authors and should not be interpreted as representing
official policies, either expressed or implied, of Carnegie Mellon
University.

This program is free software: you can redistribute it and/or 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
your option) any later version.

This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.
Something went wrong with that request. Please try again.