Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Digital Logic Sim

​A minimalistic digital logic simulator · By Sebastian Lague

how do I make a binary counter

A topic by Rando2048 created 81 days ago Views: 507 Replies: 4
Viewing posts 1 to 4

i just need the simplest, most idiot-proof method to making a simple binary counter

just make a normal 1 byte register then add 1 to it and plug it back into the register, make sure the register is triggered by a clock rise or it would increase every tick

you need to make it falling edge then

you need a d-flip-flop, plug its output into a not and its output into it self data, for a clock its input pin, place another , it's input is the output of it's not and the last d-flip-flops not as a clock, repeat this 8 times for a byte, the first input is its selfs not and a input pin

how do i make the d flip flop