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] add chisel fatal check when simulation quit #693

Merged
merged 1 commit into from
Jul 30, 2024

Conversation

Clo91eaf
Copy link
Contributor

No description provided.

@Clo91eaf Clo91eaf force-pushed the difftest_quit_check branch 2 times, most recently from 3b03972 to d681247 Compare July 28, 2024 15:48
@Clo91eaf Clo91eaf requested a review from FanShupei July 28, 2024 16:06
[difftest] refactor dpi_pre_link.cc to use std::shared_ptr for VerilatedContext and deal with chisel error

[difftest] use return code instead of panic when exiting offline difftest

[difftest] fix wrong unique ptr usage
Comment on lines +295 to +296
std::fs::write("perf.txt", format!("total_cycles: {}", get_t()))
.expect("fail to write into perf.txt");
Copy link
Member

Choose a reason for hiding this comment

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

This function should be handled by a DPI function call at system verilog final block

@sequencer sequencer merged commit c4d5f56 into master Jul 30, 2024
81 checks passed
@sequencer sequencer deleted the difftest_quit_check branch July 30, 2024 19:53
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