issues with buses

Quote from average_simulide_enjoyer on February 13, 2025, 3:43 pm
i was doing a couple logic stuff and i found an issue with buses that im not sure is a bug or me using them wrong.
i made a simple 1 bit register. it just stores a value. then i proceeded to an 8 bit one, so i stacked 8 of them and used a 8bit bus as input and output.
for some reason, after i select the store button, the value is displayed, aka its outputing it, but if i untick store, it goes back to 0
UPDATE: i figured out the issue, but its weird. Apparently, if i have more than 1 of my 1bit subcircuits, only the last placed works??
i was doing a couple logic stuff and i found an issue with buses that im not sure is a bug or me using them wrong.
i made a simple 1 bit register. it just stores a value. then i proceeded to an 8 bit one, so i stacked 8 of them and used a 8bit bus as input and output.
for some reason, after i select the store button, the value is displayed, aka its outputing it, but if i untick store, it goes back to 0
UPDATE: i figured out the issue, but its weird. Apparently, if i have more than 1 of my 1bit subcircuits, only the last placed works??

Quote from arcachofo on February 13, 2025, 5:18 pmI doubt that the problem is about buses, but who knows.
In any case, can you share the circuit to test it?
I doubt that the problem is about buses, but who knows.
In any case, can you share the circuit to test it?

Quote from average_simulide_enjoyer on February 13, 2025, 5:27 pmi have been thinkering alot with the circuit, so its a bit diferent. but as i said, i figured out the issue. only the last placed subcircuit works. perhaps something related with output refeeding (sequential) logic circuits down the chain?
U would need to add 2 extra subcircuits for u to try it, but here u go:
i have been thinkering alot with the circuit, so its a bit diferent. but as i said, i figured out the issue. only the last placed subcircuit works. perhaps something related with output refeeding (sequential) logic circuits down the chain?
U would need to add 2 extra subcircuits for u to try it, but here u go:
Uploaded files:

Quote from arcachofo on February 13, 2025, 5:42 pmUPDATE: i figured out the issue, but its weird. Apparently, if i have more than 1 of my 1bit subcircuits, only the last placed works??
Ok, now I remember, it must be this problem:
https://simulide.com/p/forum/topic/incorrect-connection-of-pins-of-two-instances-of-custom-package/
UPDATE: i figured out the issue, but its weird. Apparently, if i have more than 1 of my 1bit subcircuits, only the last placed works??
Ok, now I remember, it must be this problem:
https://simulide.com/p/forum/topic/incorrect-connection-of-pins-of-two-instances-of-custom-package/

Quote from average_simulide_enjoyer on February 13, 2025, 5:46 pmso its some weird inner bug when we stack 2 or more subcircuits? im using the latest most stable version. is that vesion on the report more modern?
so its some weird inner bug when we stack 2 or more subcircuits? im using the latest most stable version. is that vesion on the report more modern?

Quote from arcachofo on February 14, 2025, 12:24 amYes, it happens when there are several subcircuits of the same type inside a subcircuit that is inside another subcircuit (2 levels of nesting).
And yes, that one is newer.
Yes, it happens when there are several subcircuits of the same type inside a subcircuit that is inside another subcircuit (2 levels of nesting).
And yes, that one is newer.

Quote from average_simulide_enjoyer on February 14, 2025, 12:29 amIs it one of the test unstable builds, or it's literally the most stable version with this specific correction (and maybe others u hve done and saved)?
Is it one of the test unstable builds, or it's literally the most stable version with this specific correction (and maybe others u hve done and saved)?

Quote from arcachofo on February 14, 2025, 12:35 amThe later: the most stable version with this specific correction and others.
The later: the most stable version with this specific correction and others.

Quote from average_simulide_enjoyer on February 14, 2025, 12:53 amThank you. Also, about subcircuits. This is a sugestión, not really for help.
This would be low priority, but have U ever thought about a button, that once u click in start simulation, u get an option in subcircuits to "peak inside them", and see the inputs and outputs working (including with animated circuit option)?
Thank you. Also, about subcircuits. This is a sugestión, not really for help.
This would be low priority, but have U ever thought about a button, that once u click in start simulation, u get an option in subcircuits to "peak inside them", and see the inputs and outputs working (including with animated circuit option)?