Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
fetched
Makefile
README.txt
zoo.xml

README.txt

http://www.antlr3.org/grammar/list.html
	https://github.com/ewa/ad9510spi/blob/master/ValueChangeDump.g
	https://github.com/ewa/ad9510spi/blob/master/InterpretVCDHeader.g

ValueChangeDump
Eric W. Anderson, Thu Nov 24, 2011 08:43

Parses VCD (Value Change Dump) files generated by Verilog and VHDL simulators and some logic analyzers.  Accompanying code to interpret the AST is available at https://github.com/ewa/ad9510spi .

Grammar for Verilog four-state Value Change Dump (VCD) files, based
on IEEE Std 1364-2001 (Verilog Hardware Description Language),
Chapter 18.

NOTE that I've taken some liberty with the lexer rule for
identifiers (id_code and reference): The spec allows any
combination of printable ASCII characters as id_code, but that
makes for some serious lexing conflict.  I've excluded a digits, b,
B, x, X, z, Z, #, and $ as initial characters -- I've never
personally seen a VCD file use any of those characters to begin an
id_code, but it's legal to do so.

Author: Eric Anderson
Copyright (C) 2011 Carnegie Mellon University
License: GNU General Public License (GPL) version 3 or later

This grammar is part of the AD9510 SPI command parser at
https://github.com/ewa/ad9510spi, or it can be used on its own.
The tree parsers InterpretVCDHeader.g and VCDSimulation.g "read"
the AST generated by this grammar.


Grammar in a broad sense fetched on 11 October 2014 by Vadim Zaytsev, http://grammarware.net