Skip to content

Commit

Permalink
Piezo, PIFO tree: 10000 pushes and pops (#1790)
Browse files Browse the repository at this point in the history
* 10000 pushes and pops

* 10000

* Don't write zeroes to ans
  • Loading branch information
anshumanmohan authored Nov 26, 2023
1 parent 695ad03 commit bf1a909
Show file tree
Hide file tree
Showing 13 changed files with 598,663 additions and 1,658 deletions.
2 changes: 1 addition & 1 deletion calyx-py/calyx/queue_data_gen.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def dump_json(piezo: bool):
}
values = {
"values": {
"data": [random.randint(0, 400) for _ in range(queue_util.MAX_CMDS)],
"data": [random.randint(1, 400) for _ in range(queue_util.MAX_CMDS)],
# The `values` memory has queue_util.MAX_CMDS items: random values
# between 0 and 400.
"format": format_gen(32),
Expand Down
2 changes: 1 addition & 1 deletion calyx-py/calyx/queue_util.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import json
import sys

MAX_CMDS = 100
MAX_CMDS = 20000
QUEUE_SIZE = 10


Expand Down
Loading

0 comments on commit bf1a909

Please sign in to comment.