slicc: improved stalling support in protocols
Review Request #2808 - Created May 11, 2015 and submitted
| Information | |
|---|---|
| Tony Gutierrez | |
| gem5 | |
| default | |
| Reviewers | |
| Default | |
Changeset 10840:3064139721f0 --------------------------- slicc: improved stalling support in protocols Adds features to allow protocols to reschedule controllers when conditionally stalling within inport logic or actions. Also insures that resource and protocol stalls are re-evaluated the next cycle.
Issue Summary
2
2
0
0
| Description | From | Last Updated | Status |
|---|---|---|---|
| Why has this file been renamed? | Nilay Vaish | May 12, 2015, 9:35 a.m. | Open |
| This file was not renamed. It simply was created from the prior file using "hg cp". | Brad Beckmann | May 12, 2015, 12:30 p.m. | Open |
Posted (May 12, 2015, 9:35 a.m.)
-
src/mem/slicc/ast/CheckNextCycleAST.py (Diff revision 1) -
Why has this file been renamed?
Posted (May 12, 2015, 12:30 p.m.)
-
src/mem/slicc/ast/CheckNextCycleAST.py (Diff revision 1) -
This file was not renamed. It simply was created from the prior file using "hg cp".
Similar to a couple of the other patches, it would be great if this SLICC change was documented on the wiki.
This adds a new builtin function to SLICC, right? Could you make this more explicit in the commit message? Something like "This adds the "void stallPort()" builtin function that can be called from the in_port logic or an action." Or whatever is appropriate.
Posted (May 14, 2015, 7:53 a.m.)
First, why do you need both stallPort() and check_next_cycle()? Both are going to call scheduleEvent(Cycles(1)). Second, why not just expose scheduleEvent() function and let the protocol author use it in whatever way they like. Why add a new keyword for calling a function that simply calls another function?
Review request changed
Updated (May 26, 2015, 1:07 p.m.)
Description: |
|
||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Diff: |
Revision 2 (+56 -1) |
