Crate rtlicious

source ·
Expand description

Yosys RTLIL text representation parsing library.

use rtlicious;
let src =
r#"module \test
wire $a;
end
"#;
let design = rtlicious::parse(src).unwrap();
assert_eq!(design.modules().len(), 1);

Structs§

  • Represents a case
  • Represents a logic cell
  • A design is optional autoindex statement followed by zero or more modules.
  • Represents a memory cell
  • Represents a memwr statement
  • Represents a module A module is a collection of wires, memories, cells, processes, and connections
  • Represents a process
  • Represents a switch
  • Represents a sync
  • Represents a wire

Enums§

Functions§

  • Parse a RTLIL design from a type that implements AsRef<str>.