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

difftest: generate Svh Interface between Cores and Difftest #483

Merged
merged 4 commits into from
Oct 25, 2024

Conversation

xiaokamikami
Copy link
Contributor

When using json to generate difftest, it is necessary to manually connect difftest in ST environment. Now through the generated svh file, it is possible to automatically connect the difftest interface in ST environment without being affected by interface changes

@klin02
Copy link
Member

klin02 commented Oct 24, 2024

We can call generateSvh(numCores) in DifftestTop, and use interfaces in DifftestModule. Seems no need to count numCores again and set config like needSvh

@klin02 klin02 force-pushed the dualnew_batchio branch 2 times, most recently from 512e6e1 to 716380b Compare October 25, 2024 03:07
@klin02 klin02 merged commit 0f6d775 into master Oct 25, 2024
5 checks passed
@klin02 klin02 deleted the dualnew_batchio branch October 25, 2024 08:16
@klin02 klin02 changed the title difftest: endpoint connection optimization difftest: generate Svh Interface between Cores and Difftest Oct 25, 2024
klin02 added a commit that referenced this pull request Oct 28, 2024
Previous in PR #483 we generate interface according to collected
instances by Gateway. However, these collected instances have
already been processed by Gateway and different from original.

To generated original interface, we use Instances from Jsonprofile
directly to avoid impact of Gateway optimization
klin02 added a commit that referenced this pull request Oct 29, 2024
Previous in PR #483 we generate interface according to collected
instances by Gateway. However, these collected instances have
already been processed by Gateway and different from original.

To generated original interface, we use Instances from Jsonprofile
directly to avoid impact of Gateway optimization.

Also fix missing semicolon in instance assignment.

---------

Co-authored-by: klin02 <youkunlin20@mails.ucas.ac.cn>
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