neoh 0.1.2

A declarative HDL transpiler for rapid testbench development.
1
2
3
4
5
6
7
8
9
10
11
12
block my_logic(a, b) {
    ret tempassign x <= a + b;
    ret y;
}

testbench my_tb(my_logic) {
    getvars(a, b);
    when(BEGIN) {
        put x = 10;
        /1 expect(1 == 1);
    }
}