SebLague / Digital-Logic-Sim

https://sebastian.itch.io/digital-logic-sim
Other
3.54k stars 431 forks source link

[BUG]Branching Buses #172

Open JoshuaClick opened 1 year ago

JoshuaClick commented 1 year ago

Half bug report, half suggestion.

I have two buses, laid out like so: Screenshot (6)

I'd like to connect them like this: Screenshot (7)

Despite being connected by a wire, the two buses do not interact at all: Screenshot (9)

Screenshot (10)

Screenshot (11)

This seems like unintended behavior, or at least it's not well communicated that bus cannot and should not be connected to bus.

TheOneTrueMongoloid commented 1 year ago

Out of curiosity, why not just curve the bus? Wouldn't that do the same thing or can they not be turned like wires can? I don't use them at the moment so I don't know.

JoshuaClick commented 1 year ago

They can be turned like wires, the problem is that we apparently can't connect bus-to-bus.

I'd like to be able to do that for things like RAM cards, where being able to branch the bus would save a lot of space over winding the thing all over the chip.

Gwentrino commented 1 year ago

Just a workaround, but the pins can be connected to multiple buses. Just set the buses where you need them, and wire the pins to both.