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

Allow multiple-cycle instruction execution #19

Open
lukem512 opened this issue Dec 2, 2015 · 1 comment
Open

Allow multiple-cycle instruction execution #19

lukem512 opened this issue Dec 2, 2015 · 1 comment

Comments

@lukem512
Copy link
Owner

lukem512 commented Dec 2, 2015

In reality instructions take a variable number of cycles to execute. The simulator currently assumes all instructions execute in a single cycle - which makes the pipeline and SS much simpler. To continue, the EU should take multiple cycles to perform some instructions.

This will also require changes to the FU and DU as, at times, the DU will be waiting for a free EU, and likewise the FU for a free DU.

@lukem512
Copy link
Owner Author

lukem512 commented Dec 5, 2015

This is in progress: 1cf67cb.

n = # FUs
m = # DUs
l  = # EUs

The application seems to work for n FUs, where n < m, l and where m == l.

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

No branches or pull requests

1 participant