8 releases

✓ Uses Rust 2018 edition

new 0.1.7 Mar 27, 2020
0.1.6 Feb 22, 2020
0.1.1 Jan 30, 2020

#16 in Emulators

Download history 16/week @ 2020-01-21 34/week @ 2020-01-28 40/week @ 2020-02-04 20/week @ 2020-02-11 73/week @ 2020-02-18 32/week @ 2020-02-25 10/week @ 2020-03-03 14/week @ 2020-03-10 25/week @ 2020-03-17 35/week @ 2020-03-24

97 downloads per month


5.5K SLoC


An HDL embedded in Rust.

Latest version Documentation License

kaze provides an API to describe Modules composed of Signals, which can then be used to generate Rust simulator code or Verilog modules.

kaze's API is designed to be as minimal as possible while still being expressive. It's designed to prevent the user from being able to describe buggy or incorrect hardware as much as possible. This enables a user to hack on designs fearlessly, while the API and generators ensure that these designs are sound.


kaze = "0.1"


use kaze::*;

fn main() -> std::io::Result<()> {
    // Create a context, which will contain our module(s)
    let c = Context::new();

    // Create a module
    let inverter = c.module("Inverter");
    let i = inverter.input("i", 1); // 1-bit input
    inverter.output("o", !i); // Output inverted input

    // Generate Rust simulator code
    sim::generate(inverter, std::io::stdout())?;

    // Generate Verilog code
    verilog::generate(inverter, std::io::stdout())?;



See changelog for release information.


Licensed under either of

at your option.


Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.