- Jan 19, 2024
-
-
Tzung-Han JUANG authored
RepeatHiddens in Nested Functions Approved-by: Yuan-Po (Paul) Teng
-
Tzung-Han JUANG authored
To avoid connecting non function ports to function ports.
-
- Jan 17, 2024
-
-
Tzung-Han JUANG authored
-
Tzung-Han JUANG authored
-
Tzung-Han JUANG authored
-
Tzung-Han JUANG authored
-
Tzung-Han JUANG authored
-
Tzung-Han JUANG authored
Fix Arbiter with FunCall inside Map Approved-by: Yuan-Po (Paul) Teng
-
Yuan-Po (Paul) Teng authored
Generalize some rewrites to work with n-tuples Approved-by: Tzung-Han Juang
-
Paul Teng authored
The original implementation would count all occurrences and check if that matched the number of times it was repeated (which is encoded by the size of the reps sequence). The slight issue is that the reps sequence is actually a cons list, which means calculating its size is O(n). We can do better. The observation is to instead store the number of occurrences that aren't repeated by having the repeating side decrease the counter. So then to check if all occurrences go through some repeat becomes a 0-check, and to check if there is repeats do happen (so it's not like the element is never used) becomes a cons-check.
-
Paul Teng authored
Curiously, the two find...Candidates function are quite similar.
-
Paul Teng authored
For example: \(u : (t0, t1, t2, t3)) -> (u.0, u.1) The above example would unfortunately fulfill all the guard conditions of removeSelect, but we know that this cannot be correct because the function transforms a tuple-4 into a tuple-2. To clarify, the original tuple-2 pattern is safe. I missed this case when generalizing it to tuple-N.
-
Paul Teng authored
By using a map to store the candidates, we can hoist multiple repeats at once. This is more useful for tuples that have more than two elements because for tuple-2's, there usually is only one element that is being repeated.
-
Paul Teng authored
Said rules to occassionally occur when doing in-buffer sliding.
-
Tzung-Han JUANG authored
-
Tzung-Han JUANG authored
Note that initializing variable only works for first time. After that, the variable is contaminated and will break the controller.
-
Tzung-Han JUANG authored
To avoid cases that ready signal is never asserted (Usually caused by full buffer). Also next client mech only switches to the clients with asserted valid signal. This change is to avoid deadlock caused by write-ready and even number of clients. (Write-ready flips every cycle. If the number of clients is even, client 0 cannot be reached because ready signal is always 0 for it.)
-
- Jan 16, 2024
-
-
Jonathan Van der Cruysse authored
Solver-based e-graph extraction, outlining on neural networks Approved-by: Tzung-Han Juang
-
Tzung-Han JUANG authored
-
- Jan 15, 2024
-
-
Jonathan Van der Cruysse authored
-
Jonathan Van der Cruysse authored
-
Jonathan Van der Cruysse authored
-
Jonathan Van der Cruysse authored
-
Jonathan Van der Cruysse authored
-
Tzung-Han JUANG authored
Make visitAndRebuild pattern of mapFissionMapStmFun consistent Approved-by: Jonathan Van der Cruysse
-
- Jan 14, 2024
-
-
Update ClipBankersRound apply for arch level Approved-by: Tzung-Han Juang
-
Tzung-Han JUANG authored
Exclude Lambda's param from RepeatHidden insertion Approved-by: Yuan-Po (Paul) Teng
-
Paul Teng authored
For some reason, this triggered a pretty incomprehensible error while rebuilding ArithType... (and it hasn't happened until now...) In any case, this new definition is now up-to-date with the algo level.
-
Tzung-Han JUANG authored
In repeatFunctionLeaves, we only want to insert RepeatHidden if a param is bounded in Lambda's body. Note that Lambda's param is not bounded if we look at Lambda's body only.
-
- Jan 11, 2024
-
-
Tzung-Han JUANG authored
Fix Aribiters with only Scalar/BasicData inputs Approved-by: Yuan-Po (Paul) Teng
-
Tzung-Han JUANG authored
Such signals are designed for stream so they will get the circuit stuck.
-
- Jan 10, 2024
-
-
Jonathan Van der Cruysse authored
-
Tzung-Han JUANG authored
We have to consider ready signal to proper switch to another client.
-
Tzung-Han JUANG authored
Consider Ready signal to avoid getting stuck
-
Tzung-Han JUANG authored
Fix RepeatHidden Insertion Approved-by: Yuan-Po (Paul) Teng
-
Tzung-Han JUANG authored
-
Jonathan Van der Cruysse authored
-
Yuan-Po (Paul) Teng authored
Avoid an infinite rewrite loop with map map fission Approved-by: Tzung-Han Juang
-
Jonathan Van der Cruysse authored
-
Jonathan Van der Cruysse authored
-