hoodlum
A nice-looking hardware description language with FSM generation, simple reset generation, and more. Hackable so you can add your own constructs.
cargo install hoodlum
Add this to test.hdl
:
entity Main
And run
hoodlum test.hdl output.v
Goals:
- Emit compatible Verilog and VHDL code.
- Define a DSL that's as simple (and Rust-like) as possible.
- Create abstractions to simplify generation of state machines and complex logic.
- Detect errors before they reach synthesis stage.
- In the future, add simulation capabilities.
Non-goals:
- Don't compile Rust into HDL. Rust's stdlib fits an entirely different computing model. The abstraction mismatch makes bad output.
- Don't support all features of Verilog-2001 or VHDL, just a functional subset.
License
MIT or Apache-2.0.