Skip to content
This repository was archived by the owner on Aug 19, 2024. It is now read-only.

Remove Icarus debug messages #607

Merged
merged 1 commit into from
Jan 12, 2023
Merged

Remove Icarus debug messages #607

merged 1 commit into from
Jan 12, 2023

Conversation

pineapplehunter
Copy link

When using Icarus backend there was many debug messages that was not needed. I changed it to not output anything normally but show debug messages when SimulatorDebugAnnotation is set, like the Verilator backend.

By the way I found that some tests in PeekPokeCompliance had not properly finished the dut. it was causing the simulator to keep running after the test finished.

@pineapplehunter
Copy link
Author

It seems like the CI is having some network issues.
I think it would pass if run again.

@ekiwi
Copy link
Collaborator

ekiwi commented Jan 11, 2023

It seems like the CI is having some network issues.
I think it would pass if run again.

What happened is that we now disallow warnings and Chisel just added a new deprecation warning. I will make a PR to fix that shortly, then you can rebase on main and it should work.

Copy link
Collaborator

@ekiwi ekiwi left a comment

Choose a reason for hiding this comment

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

LGTM. I will make a PR to deal with the deprecation warning soon.

@@ -91,6 +91,7 @@ abstract class PeekPokeCompliance(sim: Simulator, tag: Tag = DefaultTag) extends
if(res != values) { dut.finish() }
assert(res == values, s"width = $w")
}
dut.finish()
Copy link
Collaborator

Choose a reason for hiding this comment

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

This is a great catch!

@ekiwi ekiwi added this to the 0.6.0 milestone Jan 11, 2023
@ekiwi
Copy link
Collaborator

ekiwi commented Jan 11, 2023

OK, so we are waiting for: #608 to be merged, then you can rebase.

@ekiwi
Copy link
Collaborator

ekiwi commented Jan 11, 2023

@pineapplehunter Once you rebase on main, we can get this in.

When using Icarus backend there was many debug messages that was not needed.
I changed it to not output anything normally but show debug messages when "SimulatorDebugAnnotation" is set, like the Verilator backend.

By the way I found that some tests in `PeekPokeCompliance` had not properly finished the dut. it was causing the simulator to keep running after the test finished.
@pineapplehunter
Copy link
Author

Rebased!

@ekiwi ekiwi merged commit 823366b into ucb-bar:main Jan 12, 2023
@ekiwi
Copy link
Collaborator

ekiwi commented Jan 12, 2023

Awesome. Thank you!

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

Successfully merging this pull request may close these issues.

2 participants