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

negative sints were not being recorded properly #114

Merged
merged 3 commits into from
Feb 26, 2018

Conversation

chick
Copy link
Contributor

@chick chick commented Feb 26, 2018

Now shows them in binary with MSB set
Fixes part of interpreter issue #109

Now shows them in binary with MSB set
Fixes part of interpreter issue #109
@chick chick requested a review from ucbjrl February 26, 2018 20:43
@@ -482,7 +482,9 @@ case class VCD(
val initialValues = new mutable.HashSet[Change]
var scopeRoot = Scope(scope)
val wires = new mutable.HashMap[String, Wire]
var aliasedWires = new mutable.HashMap[String, mutable.HashSet[Wire]] {
var aliasedWires : mutable.HashMap[String, mutable.HashSet[Wire]] =
Copy link
Contributor

Choose a reason for hiding this comment

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

Did IntelliJ suggest this change? It looks like a DRY-violation to me.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes it did, it's quite particular about public members of classes having explicit declarations.

Simplified rendering of negative BigInt values
Fixed poisoned values so they now render in VCD as negative values.
This required passing down .poisoned as uninitialized to VCD
Added some tests of poisoned.
Copy link
Contributor

@ucbjrl ucbjrl left a comment

Choose a reason for hiding this comment

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

lgtm

@chick chick merged commit c0c0f46 into master Feb 26, 2018
chick added a commit that referenced this pull request Mar 13, 2018
in vcd log clock and other one bit signals tracked wrong.
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