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

FPGA: exclude unused svdpi.h #592

Merged
merged 1 commit into from
Mar 4, 2025
Merged

FPGA: exclude unused svdpi.h #592

merged 1 commit into from
Mar 4, 2025

Conversation

xiaokamikami
Copy link
Collaborator

No description provided.

@xiaokamikami xiaokamikami marked this pull request as ready for review February 28, 2025 09:02
klin02
klin02 previously approved these changes Mar 2, 2025
@@ -357,9 +357,11 @@ object DPIC {
interfaceCpp += ""
interfaceCpp += "#include <cstdint>"
interfaceCpp += "#include \"diffstate.h\""
interfaceCpp += "#ifndef CONFIG_PLATFORM_FPGA"
Copy link
Member

Choose a reason for hiding this comment

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

Or we can use define like follows:
#if defined(CONFIG_DIFFTEST_BATCH) && !defined(CONFIG_PLATFORM_FPGA)
may be more clear then nested ifdef

@klin02 klin02 changed the title fix: fix batch include on fpga FPGA: exclude unused svdpi.h Mar 2, 2025
@klin02 klin02 merged commit 7b2f9ea into master Mar 4, 2025
5 checks passed
@klin02 klin02 deleted the fix_batch_inc branch March 4, 2025 03:49
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