Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make all Ruby protocols compile together #119

Open
2 tasks
powerjg opened this issue May 2, 2019 · 0 comments
Open
2 tasks

Make all Ruby protocols compile together #119

powerjg opened this issue May 2, 2019 · 0 comments

Comments

@powerjg
Copy link
Member

powerjg commented May 2, 2019

We want to be able to have a single executable with all of the protocols compiled into it. Then it would just take changing the python to use a different protocol.

  • Update the SLICC compiler to make a unique name for each machine
  • Create a python wrapper module to rename back to the normal machine names (e.g., from MESI_two_level import *)
    • This renames things like MESI_two_level_L1Cache to just L1Cache.

Major thing to overcome

There are some static enums that are create for the MachineID and MachineType. These include bitvectors that must be less than 64 entries.

MessageType will also have this problem, but this might be overcome with prepending names like MESI_Two_Level_MsgType.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant