-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3c22bce
commit 615e939
Showing
5 changed files
with
189 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import "primitives/core.futil"; | ||
import "primitives/binary_operators.futil"; | ||
component main(@foo(32) @go_port in: 32, go: 1, clk: 1, @interval @go go0: 1, @clk clk0: 1, @reset reset: 1) -> (@interval(0) out: 32, done: 1, @done done0: 1) { | ||
cells { | ||
@my_other_set{3240189, 123, 2} r = std_reg(32); | ||
@my_set{32} le = std_le(32); | ||
} | ||
wires { | ||
group upd<"stable"=1, "pos"={1, 4, 8}, "my_z"={4}> { | ||
@dead upd[done] = r.done; | ||
} | ||
comb group cond<"promotable"=0> { | ||
} | ||
} | ||
control { | ||
@pos{2, 5, 100000} @other{1} @z{2, 3, 4} while le.out with cond { | ||
upd; | ||
} | ||
} | ||
} |