Forum breadcrumbs - You are here:ForumGeneral: Helpissues with buses
You need to log in to create posts and topics.

issues with buses

Page 1 of 2Next

8 bit register failingsingle 1bit register as test workingi 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 doubt that the problem is about buses, but who knows.

In any case, can you share the circuit to test it?

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:

Not sure if these are the correct files, 8bit register.sim1 contains this:

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/

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?

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.

average_simulide_enjoyer has reacted to this post.
average_simulide_enjoyer

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)? 

The later: the most stable version with this specific correction and others.

average_simulide_enjoyer has reacted to this post.
average_simulide_enjoyer

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)? 

Page 1 of 2Next