Repository navigation
feat(tutorial): add the counter stage - #105
Merged
Merged
Conversation
Stage 7 counts from 0000 to 1111 and back with a FlipFlop, a Const of 0001 and the four-digit adder handed over. It starts with a 7seg and a Display, and its texts explain time steps, FlipFlop and Const. The goal of a stage over time is a table with a column of time steps, which skips the steps between with a row of dots. A check now holds what its goal shows: the examples of a combinational check, or the steps of a sequential one. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… step with the row The counter's goal now says what a time step is, before its steps and the table use the word, and the Const step says to write four digits, as a wire cannot connect pins of different widths. A row of a table holds its own time step, so the cells cannot shift under the wrong column, and the order of the columns and rows is worked out apart from the view and tested. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…step numbers "In the tables, 1 is ON" could be read as covering the 1 in the column of time steps. The legend now says the tables write ON as 1 and OFF as 0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…puts The view was fitted only to the nodes a stage starts with. The counter starts with nothing on the left, so its display and output came to the middle and left little room to build. The view now also takes in the span between the columns of input and output pins. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Deploying create-cpu-c8345196-9409-4cce-afc4-389f413ad8ee with
|
| Latest commit: |
64ff8cb
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://cbb2cf79.create-cpu-c8345196-9409-4cce-afc4-389f413ad8ee.pages.dev |
| Branch Preview URL: | https://feat-counter-stage.create-cpu-c8345196-9409-4cce-afc4-389f413ad8ee.pages.dev |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Stage 7 is the first stage over time, on the way to the stopwatch: a counter that shows 0 to F on a display.
Not in this PR
Testing
npx vitest run(227 tests),npx tsc -p .andnpx biome check srcpass. New tests cover:🤖 Generated with Claude Code