calyx 0.7.1

Compiler Infrastructure for Hardware Accelerator Generation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import "primitives/core.futil";
import "primitives/memories/comb.futil";

component main() -> () {
  cells {
    r = std_reg(32);
  }
  wires {
    group no_drive {
      r.in = 32'd1;
      no_drive[done] = r.done;
    }
  }
  control {
    no_drive;
  }
}