MoonBit-native SPEF parasitic RC network parser, analyzer, auditor, and visualizer
Dependencies
SPEF text
-> source-positioned lexer
-> section-aware parser
-> syntax AST
-> name/unit model builder
-> RCNetwork
-> topology + RC + Elmore analysis
-> rule-based audit
-> JSON / DOT / Markdown
-> moonrc CLImoon 0.1.20260819
moonc v0.10.9moon check --deny-warn
moon test --deny-warn
moon build cmd/moonrc --target nativemoon run cmd/moonrc -- --helpmoon add alicedhaha/moonrcinspect@0.2.1moon run cmd/moonrc -- analyze examples/small.spefMoonRCInspect analysis
nets: 1
nodes: 4
resistors: 3
capacitors: 4
total resistance: 60 ohm
total capacitance: 4e-15 Fmoon run cmd/moonrc -- audit examples/medium.spef
moon run cmd/moonrc -- audit examples/invalid.spef --strictmoon run cmd/moonrc -- visualize examples/small.spef \
--net clk --output clk.dot
dot -Tpng clk.dot -o clk.pngmoon run cmd/moonrc -- parse examples/small.spef -o small.json
moon run cmd/moonrc -- report examples/small.spef -o report.mdmoon run cmd/moonrc -- path examples/small.spef --net clk --from clk --to u_buf:A
moon run cmd/moonrc -- matrix examples/small.spef --net clk --format csvmoon run cmd/moonrc -- coupling examples/medium.spef --format json
moon run cmd/moonrc -- reduce examples/medium.spef --format csv
moon run cmd/moonrc -- audit examples/invalid.spef --format sarif -o audit.sarifmoonrc parse <file.spef> [--format json] [-o FILE]
moonrc analyze <file.spef> [--format text|json] [-o FILE]
moonrc audit <file.spef> [--strict] [--format text|json] [-o FILE]
moonrc visualize <file.spef> [--net NAME] [--format dot|json] [-o FILE]
moonrc report <file.spef> [--format markdown|json] [-o FILE]
moonrc path <file.spef> --net NET --from NODE --to NODE [--mode resistance|hops] [--format text|json|csv]
moonrc matrix <file.spef> --net NET [--format text|json|csv] [-o FILE]
moonrc coupling <file.spef> [--format text|json|csv] [-o FILE]
moonrc reduce <file.spef> [--format text|json|csv] [-o FILE]moon test
moon test --deny-warnInstall
Download zipMoonBit-native SPEF parasitic RC network parser, analyzer, auditor, and visualizer
Dependencies