All Projects → xprova → Netlist Graph

xprova / Netlist Graph

Licence: mit
Java library for parsing and manipulating graph representations of gate-level Verilog netlists

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Netlist Graph

Sv Parser
SystemVerilog parser library fully complient with IEEE 1800-2017
Stars: ✭ 169 (+2314.29%)
Mutual labels:  parser, verilog
Surelog
SystemVerilog 2017 Pre-processor, Parser, Elaborator, UHDM Compiler. Provides IEEE Design/TB C/C++ VPI and Python AST API.
Stars: ✭ 116 (+1557.14%)
Mutual labels:  parser, verilog
Tolerant Php Parser
An early-stage PHP parser designed for IDE usage scenarios.
Stars: ✭ 717 (+10142.86%)
Mutual labels:  parser
Naivecpu
A CPU that implementing THCO-MIPS16 instruction set.
Stars: ✭ 5 (-28.57%)
Mutual labels:  verilog
Node Csv Parse
CSV parsing implementing the Node.js `stream.Transform` API
Stars: ✭ 768 (+10871.43%)
Mutual labels:  parser
Uplot
📈 A small, fast chart for time series, lines, areas, ohlc & bars
Stars: ✭ 6,808 (+97157.14%)
Mutual labels:  graphs
Imdbpy
IMDbPY is a Python package useful to retrieve and manage the data of the IMDb movie database about movies, people, characters and companies
Stars: ✭ 792 (+11214.29%)
Mutual labels:  parser
Verilog Ethernet
Verilog Ethernet components for FPGA implementation
Stars: ✭ 699 (+9885.71%)
Mutual labels:  verilog
Markdown Wasm
Markdown parser and HTML generator implemented in WebAssembly, based on md4c
Stars: ✭ 833 (+11800%)
Mutual labels:  parser
Dasel
Query, update and convert data structures from the command line. Comparable to jq/yq but supports JSON, TOML, YAML, XML and CSV with zero runtime dependencies.
Stars: ✭ 759 (+10742.86%)
Mutual labels:  parser
Fpga
related to Spartan6 FPGA
Stars: ✭ 5 (-28.57%)
Mutual labels:  verilog
Himalaya
JavaScript HTML to JSON Parser
Stars: ✭ 758 (+10728.57%)
Mutual labels:  parser
Cocotb
cocotb, a coroutine based cosimulation library for writing VHDL and Verilog testbenches in Python
Stars: ✭ 740 (+10471.43%)
Mutual labels:  verilog
Hydra
a programmable cryptographic coprocessor in verilog
Stars: ✭ 5 (-28.57%)
Mutual labels:  verilog
Hdl
HDL libraries and projects
Stars: ✭ 727 (+10285.71%)
Mutual labels:  verilog
Ie12
A (very) minimal web browser for FPGAs implemented in Verilog
Stars: ✭ 6 (-14.29%)
Mutual labels:  verilog
Swagger Parser
Swagger 2.0 and OpenAPI 3.0 parser/validator
Stars: ✭ 710 (+10042.86%)
Mutual labels:  parser
Esprima
ECMAScript parsing infrastructure for multipurpose analysis
Stars: ✭ 6,391 (+91200%)
Mutual labels:  parser
Php Parser
PHP parser written in Go
Stars: ✭ 787 (+11142.86%)
Mutual labels:  parser
Busblaster
KT-Link compatible buffer for the Bus Blaster v3
Stars: ✭ 6 (-14.29%)
Mutual labels:  verilog

NetlistGraph

This is a Java library for parsing and returning graph representations of gate-level Verilog netlists. It's being developed primarily as a backbone for Xprova but can also be used to jump start the development of any EDA tool that involves gate-level processing of Verilog netlists.

Cookbook Examples

To load a Verilog netlist, first prepare and load a component library. This is just a Verilog file that contains skeleton module definitions with module names, ports and port directions such as:

module DFF(clk, reset, d, q);
	input clk, reset, d;
	output q;
endmodule

module AND(a, b, y);
	input a, b;
	output y;
endmodule

module NOT(a, y);
	input a;
	output y;
endmodule

The following call loads the content of the file above (call it simple.lib):

ArrayList<Netlist> libModules = VerilogParser.parseFile('./simple.lib', new GateLibrary());

Each of DFF, AND and NOT are loaded as individual Netlist objects and can now be used to prepare a GateLibrary object using:

GateLibrary simpleLib = new GateLibrary(libModules);

After initializing simpleLib you can load any gate-level Verilog netlist consisting of the libray modules such as:

module main(clk, rst, x, y);

	input clk, rst, x;

	output y;

	NOT inv1(x, y);

endmodule

which can be loaded using:

ArrayList<Netlist> netListArr = VerilogParser.parseFile('minimal.v', simpleLib);
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].