-
Notifications
You must be signed in to change notification settings - Fork 52
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
Cassandra Nicole Sziklai
committed
Jun 20, 2024
1 parent
662fd4a
commit e7805b6
Showing
14 changed files
with
121,432 additions
and
285 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
error: ./runt.toml is missing. Runt expects a directory with a runt.toml file. |
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,15 @@ | ||
# For usage, see gen_queue_data_expect.sh | ||
|
||
import sys | ||
import calyx.queues as queues | ||
from calyx import queue_util | ||
|
||
if __name__ == "__main__": | ||
max_cmds, len = int(sys.argv[1]), int(sys.argv[2]) | ||
commands, values = queue_util.parse_json() | ||
|
||
# Our PIFO is simple: it just orchestrates three FIFOs. The boundary is 200. | ||
pifo = queues.NPifo(3, 200, len) | ||
|
||
ans = queues.operate_queue(commands, values, pifo, max_cmds) | ||
queue_util.dump_json(commands, values, ans) |
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,119 @@ | ||
{ | ||
"commands": { | ||
"data": [ | ||
2, | ||
0, | ||
2, | ||
0, | ||
2, | ||
2, | ||
2, | ||
2, | ||
0, | ||
0, | ||
2, | ||
0, | ||
2, | ||
2, | ||
2, | ||
2, | ||
0, | ||
0, | ||
2, | ||
0, | ||
2, | ||
2, | ||
2, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0 | ||
], | ||
"format": { | ||
"is_signed": false, | ||
"numeric_type": "bitnum", | ||
"width": 2 | ||
} | ||
}, | ||
"values": { | ||
"data": [ | ||
317, | ||
317, | ||
228, | ||
65, | ||
68, | ||
1, | ||
3, | ||
108, | ||
397, | ||
111, | ||
85, | ||
86, | ||
149, | ||
161, | ||
102, | ||
277, | ||
348, | ||
321, | ||
105, | ||
94, | ||
354, | ||
101, | ||
197, | ||
153, | ||
12, | ||
185, | ||
213, | ||
85, | ||
75, | ||
136 | ||
], | ||
"format": { | ||
"is_signed": false, | ||
"numeric_type": "bitnum", | ||
"width": 32 | ||
} | ||
}, | ||
"ans_mem": { | ||
"data": [ | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0, | ||
0 | ||
], | ||
"format": { | ||
"is_signed": false, | ||
"numeric_type": "bitnum", | ||
"width": 32 | ||
} | ||
} | ||
} |
Empty file.
Oops, something went wrong.