Skip to content

Split merge bit visualisation#34

Merged
EdNutting merged 7 commits intoTeachingTechnologistBeth:masterfrom
EdNutting:split-merge
Nov 4, 2018
Merged

Split merge bit visualisation#34
EdNutting merged 7 commits intoTeachingTechnologistBeth:masterfrom
EdNutting:split-merge

Conversation

@EdNutting
Copy link
Collaborator

Make the label text of split-merge dynamic so that students can see the bits passing through.

This enables students to play with split-merge using switch inputs to see how bits pass through more concretely. Also enables faster debugging even while the clock is enabled.

The new labeling scheme also makes it really simple to find out whether a port of the split-merge is actually being driven or not (because the label reverts to, for example, XXDC, when it's not connected).

Ed Nutting added 7 commits November 2, 2018 10:11
…tter/easier/neater to use. Make them the default. Use Shift+Click to create curved lines. Backwards-compatibly load old files as curved lines. Save new files with type attribute. Old versions of model sim can open the new files but the lines will come out curved instead of straight.
…l output value of B/D bits.

Note that this still isn't completely accurate to real-life because split-merge is wires which should back-propagate, but (as noted in comments in the code) we can't quite simulate reality.
@EdNutting
Copy link
Collaborator Author

Also noticed that split/merge doesn't output the right value for B/D bits in some combinations because it was incorrectly merging undriven and driven bits.

@EdNutting EdNutting merged commit 9cf3169 into TeachingTechnologistBeth:master Nov 4, 2018
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