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

Is there a way to make a rising edge detector?

A topic by Blockbuster287 created 65 days ago Views: 175 Replies: 2
Viewing posts 1 to 3
(1 edit)

i wanna sync my  instructions with my cpu to the clock but the clock doesnt pulse for a single frame so it just keeps firing during the time the  clock is on. Is there a way to make a thingy that only pulses once for a frame when rising or falling edge is happening?

Take a look into a JK Flip Flop implementation here in Community Tab, you can also implement with registers.

I just made one after trial and error, issue is now for some reason the memory doesnt fully update? the top input is the instruction (write) second and third are data fourth is adress

https://imgur.com/a/Ywb8hE0

on the right you see the memory before 1 clock cycle of writing

https://imgur.com/a/w5s6Xdc

it works fine with a long pulse