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

Using Vectors to support multiple pipelines #192

Closed
wants to merge 1 commit into from

Conversation

Forchapeatl
Copy link

@Forchapeatl Forchapeatl commented Aug 5, 2024

  • Introduced support for multiple load/store pipelines by using vectors for queues, pipelines, and ready queues. Each pipeline can be managed independently.

  • Added mutexes (cache_mutex_ and tlb_mutex_) to manage concurrent access to shared resources like cache and MMU/TLB.

  • Updated methods to handle operations per pipeline, like allocateInstToIssueQueue_, appendToReplayQueue_, and popIssueQueue_, which now include pipeline_id to specify which pipeline is being accessed.

@Forchapeatl Forchapeatl marked this pull request as ready for review August 5, 2024 13:01
@klingaard
Copy link
Collaborator

This is awesome, but I feel there are files missing in this PR. Shouldn't the source files be included? Maybe I'm missing something...

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are the mutexes necessary? Did you add threading support to LS (which would be cool)? If you're concerned about asynchronous behaviors between the pipes, the Sparta Framework isn't threaded, so it will most likely call each pipeline in a round-robin fashion.

@klingaard
Copy link
Collaborator

@Forchapeatl can you provide the missing files for this PR?

@Forchapeatl
Copy link
Author

Thank you @klingaard , please i am still working on it.

@klingaard
Copy link
Collaborator

Closing this PR. Thank you for your submission!

@klingaard klingaard closed this Sep 29, 2024
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

Successfully merging this pull request may close these issues.

2 participants