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

What is this bus thing

A topic by ZaxinothDigital created May 10, 2025 Views: 689 Replies: 8
Viewing posts 1 to 7

Idk how to use it

(+1)(-1)

You clearly dont understand how computers work right?

A bus is just a wire that can be shared by other wires.

Not particularly helpful.

(-1)

bru you can have multiple outputs with ease on the bus. say you want a take info from a ALU (Artihmics logic unit) basicly a raw calculater of sorts, and send the info across the cpu to multiple sections far away. and using the tristate buffers you can have multiple inputs as well but that is way above your understanding to do multi input.

(-2)

The wheels on the bus go round and round, round and round, round and round. The wheels on the bus go round and round, all the day long.

(+1)

JUST WATCH SEBASTIAN'S VIDEOS ON YOUTUBE

(-1)

why are you even using a logic sim if you dont even know what a bus is?

I know what a bus is. I just didn't know how to use this one. I am used to Logisim logic where a bus is inserted like any other wire.

Since nobody else is being helpful. You just have two floating connections that you can use to make a wire, without the usual check that enforces you linking an input to an output. Then you can connect the other links to that.

If you're having trouble getting it to work, the 3-state buffer is how you bus. Input 1 is data, input 2 is enable. The output will match data when enabled, but when disabled, the output will be floating. Because outputs here are push-pull, if you don't use the buffer, you'll end up with bus contention. Some simulators use a pullup only system, so you might be used to all outputs being low, and the line only goes high if the enabled output is high.