Page 1 of 1

Newbie: Problem with rom

Posted: Tue Jul 23, 2019 11:51 am
by asdf
I have made a 4 bit counter which cycles from 0000 to 1111 and I want to use this to cycle through rom addresses. The problem is that however i try to connect it it gives me bit length errors
Image

https://ibb.co/DzbmvzG

Re: Newbie: Problem with rom

Posted: Tue Jul 23, 2019 1:16 pm
by admin
You can use splitter: https://logiccircuit.org/splitter.html
Also I'd recommend to read help pages at: https://logiccircuit.org/help.html

Re: Newbie: Problem with rom

Posted: Wed Jul 24, 2019 12:19 am
by asdf
If I connect (on the address side) a splitter with 4 split pins and 4 bit width it gives the error that the counter and splitter have different bit widths however, if i use one with 4 split pins and one split pin bit width it gives the error that not all address bits are connected. Could you please post an example for how you would use a splitter?

Re: Newbie: Problem with rom

Posted: Wed Jul 24, 2019 10:13 am
by admin
You can look at any sample files from the download section.
What you need to do is double click your ROM and check how many bits in the address. Alternatively just hover mouse over any pin on the circuit symbol side and it will show you bit width and all the other information. Them just make sure the bit widths match.

Re: Newbie: Problem with rom

Posted: Mon Feb 17, 2020 3:40 pm
by Max5923
I know!
The problem is that you had the input width as 4 and thought it was the output. The output width is the sum of all the widths it was input-ed.

Another weird thing is that the output can serve as an input, so you can get every single bit of a higher bit width for operation on it.

This should fix your problem.