slicc: support for arbitrary DPRINTF flags (not just RubySlicc)
Review Request #2800 - Created May 11, 2015 and submitted
| Information | |
|---|---|
| Tony Gutierrez | |
| gem5 | |
| default | |
| Reviewers | |
| Default | |
Changeset 10832:cddb1f164072 --------------------------- slicc: support for arbitrary DPRINTF flags (not just RubySlicc) This patch allows DPRINTFs to be used in SLICC state machines similar to how they are used by the rest of gem5. Previously all DPRINTFs in the .sm files had to use the RubySlicc flag.
Posted (May 11, 2015, 9:25 p.m.)
-
src/mem/slicc/ast/VarExprAST.py (Diff revision 1) -
Is the function 4 lines below not enough?
Review request changed
Updated (May 14, 2015, 5:21 p.m.)
Description: |
|
||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Diff: |
Revision 2 (+31 -8) |
Review request changed
Updated (May 14, 2015, 5:23 p.m.)
Description: |
|
||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Diff: |
Revision 3 (+30 -8) |
Ship It!
Other than the small thing below.
-
src/mem/slicc/symbols/StateMachine.py (Diff revision 3) -
Do you need this to be explicitly added? Shouldn't is automatically be added when someone uses a DPRINTF with this flag?
I see why RubyGenerated needs to be here, but I don't believe any generated code uses RubySlicc (with a cursory grep).
