Thanks to visit codestin.com
Credit goes to lib.rs

#verilog-parser #structural #netlist

sverilogparse

Verilog netlist (structural verilog) parser

6 releases

0.3.3 Sep 10, 2022
0.3.2 Sep 10, 2022
0.3.1 Aug 20, 2022
0.2.0 Aug 3, 2022
0.1.0 Jul 30, 2022

#1396 in Hardware support

41 downloads per month
Used in 3 crates (via netlistdb)

AGPL-3.0-only

20KB
497 lines

A structural verilog parser written in Rust.

Usage

Just pass an [ArcStr] to SVerilog::parse_str. Example:

use sverilogparse::SVerilog;

let _parsed = SVerilog::parse_str(arcstr::literal!(r#"
module simple (a, b);
input a;
output b;
not n1 (.a(a), .out(b));
endmodule
"#)).expect("parse error");

sverilogparse: Structural Verilog Parser in Rust

This is a structural verilog parser written in Rust.

Similar project: https://github.com/OpenTimer/Parser-Verilog

Dependencies

~4.5–6.5MB
~123K SLoC