``````# Tapeout 5 TM project1

このプロジェクトは、Wokwiの使い方も、TinyTapeoutのこともよくわからないけれど

7segで数字を出す

5・6・7・8のディップスイッチが全部ONの時は0になります。
８のディップスイッチがOFFになったら1になり
5・6・7・8のディップスイッチで２進数を表し、０から９まで表現できます。

あとStepボタンを押すとカウンターになっています。
ディップスイッチの１がOFFの時にdフリップフロップがStepを押すたびにONになります。
ディップスイッチの１がONの時にdフリップフロップがStepを押すたびにOFFになります。

I/OピンにはLEDをOUTとGNDに刺すと各dフリップフロップのON・OFF状態がわかります。

１０回数えたらディップスイッチ1のONOFFをかえると、１０回カウントしたら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.``````
tt-block-input
tt-block-output
tt-block-bidirectional-io
tt-block-bidirectional-io
tt-block-bidirectional-io
tt-block-bidirectional-io
tt-block-bidirectional-io
tt-block-bidirectional-io
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