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

Check and add Hwacha tests #284

Merged
merged 5 commits into from
Oct 14, 2019
Merged

Check and add Hwacha tests #284

merged 5 commits into from
Oct 14, 2019

Conversation

abejgonzalez
Copy link
Contributor

Basic example of checking for a Hwacha parameter to add its tests.

@abejgonzalez
Copy link
Contributor Author

@a0u previously used a cleaner way to query the Hwacha parameters. I am using that instead.

https://github.com/firesim/firesim/blob/bf453c19e99993934e12294b88f02c808a03469a/sim/src/main/scala/firesim/Generator.scala#L203-L209

Copy link
Member

@a0u a0u left a comment

Choose a reason for hiding this comment

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

This works fine for now, although there should be a more scalable approach of injecting tests as part of the accelerator mix-in.

This scheme also doesn't support heterogenous RoCC configurations, but that is a broader issue with the assembly tests themselves.

@abejgonzalez abejgonzalez merged commit b004ecc into dev Oct 14, 2019
@abejgonzalez abejgonzalez deleted the add-hwacha-tests branch October 14, 2019 17:43
@abejgonzalez
Copy link
Contributor Author

I agree this mechanism is just to make things work. We need to think more about how to inject tests based on tiles, rocc modules, etc.

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

Successfully merging this pull request may close these issues.

2 participants