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

gsim: generate cpp extmodule functions #489

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

gsim: generate cpp extmodule functions #489

wants to merge 1 commit into from

Conversation

klin02
Copy link
Member

@klin02 klin02 commented Oct 31, 2024

When using GSIM for simulation, we will use generated cpp function to replace extern verilog modules.

This change support generating cppExtFuncs with dependent header, including dpic wrappers and extern module funcs, such as xxHelper.

Note we rename extern module name from DifftestXX to DiffExtXX to avoid extern func name conflicts with stuct. Also, we add uint16_t and shortint support to DPIC args.

@klin02 klin02 marked this pull request as draft October 31, 2024 06:49
@klin02
Copy link
Member Author

klin02 commented Oct 31, 2024

Logic in LogPerfHelper wait for gsim fix chisel annotation and save donTouch top signals.

When using GSIM for simulation, we will use generated cpp function
to replace extern verilog modules.

This change support generating cppExtFuncs with dependent header,
including dpic wrappers and extern module funcs, such as xxHelper.

Note we rename extern module name from DifftestXX to DiffExtXX to
avoid extern func name conflicts with stuct. Also, we add uint16_t
and shortint support to DPIC args.
@klin02
Copy link
Member Author

klin02 commented Nov 2, 2024

Sequential Logic seems still not supported in externModule cpp-funcs of GSIM. Need further effort.

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.

1 participant