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
18
import "primitives/core.futil";
import "primitives/memories/comb.futil";

component foo() -> () {
  cells {
    @external r = std_reg(32);
  }
  wires {}
  control {}
}

component main() -> () {
  cells {
    f = foo();
  }
  wires {}
  control {}
}