Docs / Genus Mode Guide (Developer)

This page is a concise developer guide for the --genus mode flow.

What Genus mode is for

Use --genus when you want full workflow control from parsed netlist stages through metrics and TPI generation.

Typical scope:

Core command flow

Verilog -> parse -> convert -> dag -> cop/scoap -> tpi -> enhanced Verilog

In many paths, Verilog input can trigger auto-pipeline behavior for analysis commands.

Common commands

python3 opentest --genus help
python3 opentest --genus parse -i designs/priority_enc.v
python3 opentest --genus dag -i <netlist.json>
python3 opentest --genus scoap -i <design.v or parsed.txt>
python3 opentest --genus cop -i <design.v or parsed.txt> -j
python3 opentest --genus tpi -i <netlist.json> -m <metrics.json> -t 50 -n 10 -v

Developer checkpoints

  1. validate netlist input schema before TPI (dict-based input pin mapping)
  2. keep reconvergence algorithm selection explicit while debugging
  3. verify output paths through project utilities, not hardcoded directories
  4. check both metric quality and generated Verilog correctness

Output and reports

Common pitfalls

  1. Getting Started
  2. Command Reference
  3. Test Point Insertion Guide
  4. SCOAP API