Skip to content

Commit

Permalink
Queues: queues with lengths as powers of 2 (#2028)
Browse files Browse the repository at this point in the history
* Make length an argument

* FIFO need not flash ans

* PIFO need not flash ans

* Shared logic for peek, pop

* Change to queue length of 16

* Stashing current Calyx output and stats thereof

* New numbers

* Nix stray file

* Nix more stray files

* Update fifo.py

* Queue length factor in FIFO

* Take max FIFO length factor as arg

* Make PIFOs use the new style of FIFOs
  • Loading branch information
anshumanmohan authored May 7, 2024
1 parent 6462534 commit 4257d90
Show file tree
Hide file tree
Showing 12 changed files with 204,896 additions and 204,905 deletions.
2 changes: 1 addition & 1 deletion calyx-py/calyx/queue_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import sys

MAX_CMDS = 20000
QUEUE_SIZE = 10
QUEUE_SIZE = 16


def parse_json():
Expand Down
Loading

0 comments on commit 4257d90

Please sign in to comment.