# Tapeout 5 TM project1
このプロジェクトは、Wokwiの使い方も、TinyTapeoutのこともよくわからないけれど
何か自分がつなげた論理回路で動くものが出来たら楽しいと思ったので作ってみました。
7segで数字を出す
5・6・7・8のディップスイッチが全部ONの時は0になります。
8のディップスイッチがOFFになったら1になり
5・6・7・8のディップスイッチで2進数を表し、0から9まで表現できます。
あとStepボタンを押すとカウンターになっています。
ディップスイッチの1がOFFの時にdフリップフロップがStepを押すたびにONになります。
ディップスイッチの1がONの時にdフリップフロップがStepを押すたびにOFFになります。
I/OピンにはLEDをOUTとGNDに刺すと各dフリップフロップのON・OFF状態がわかります。
最初のON・OFF状態がわからないので、ディップスイッチの1がOFFの時に何回かStepを
押して7segの0の下の点がでたら、ディップスイッチの1 をOFFにしてカウントを開始します。
10回数えたらディップスイッチ1のONOFFをかえると、10回カウントしたら0の下の点がでます。
# Tapeout5 TM project1
I don't know much about Wokwi or TinyTapeout, but I thought it would be fun to make something that worked with the logic circuits I connected to it.
7seg to make numbers
When the dip switches 5, 6, 7, and 8 are all ON, the number is 0.
When the dip switch of 8 is OFF, it becomes 1 and
The dip switches of 5, 6, 7, and 8 represent binary numbers and can be expressed from 0 to 9.
Also, when the Step button is pressed, it is a counter.
When 1 of the DIP switches is OFF, the d flip-flop turns ON each time Step is pressed.
When DIP switch 1 is ON, the d flip-flop is turned OFF each time Step is pressed.
You can see the ON/OFF status of each d-flip-flop by sticking an LED on the I/O pins to OUT and GND.
Since we don't know the initial ON/OFF state, we have to press Step several times when 1 of the DIP switch is OFF.
When the point below the 0 of 7seg appears, turn off DIP switch 1 and start counting.
After 10 counts, change DIP switch 1 ON/OFF, and after 10 counts, the point below 0 will appear.
Loading
tt-block-input
tt-block-input
Loading
tt-block-output
tt-block-output
Loading
tt-block-bidirectional-io
tt-block-bidirectional-io
Loading
tt-block-bidirectional-io
tt-block-bidirectional-io
Loading
tt-block-bidirectional-io
tt-block-bidirectional-io
Loading
tt-block-bidirectional-io
tt-block-bidirectional-io
Loading
tt-block-bidirectional-io
tt-block-bidirectional-io
Loading
tt-block-bidirectional-io
tt-block-bidirectional-io
Loading
tt-block-bidirectional-io
tt-block-bidirectional-io
Loading
tt-block-bidirectional-io
tt-block-bidirectional-io
Bidirectional I/O pins
ERC Warnings
flop10:CLK: Clock driven by combinatorial logic
flop1:CLK: Clock driven by combinatorial logic
flop2:CLK: Clock driven by combinatorial logic
flop3:CLK: Clock driven by combinatorial logic
flop4:CLK: Clock driven by combinatorial logic
flop5:CLK: Clock driven by combinatorial logic
flop6:CLK: Clock driven by combinatorial logic
flop7:CLK: Clock driven by combinatorial logic
flop8:CLK: Clock driven by combinatorial logic
flop9:CLK: Clock driven by combinatorial logic