Problems with constructing a 24bit counter

Thread Starter

MikeHutao

Joined Aug 2, 2024
11
1723026185067.png
Hello im trying to build a counter to count up until 10MHz using Logisim. Does this software have any limitations ? because the count doesnt work. i think i have connected it well based on the datasheet.
1723026271042.png

here i provide the corresponding file
 

Papabravo

Joined Feb 24, 2006
22,058
What signal is on the bottom trace that goes from 0 to -1 and back to 0? That is the key.

ETA: If you write the successive counts in binary, it should make it obvious where the problem is located.

51455 = 0b 1100 1000 1111 1111

55296 = 0b 1101 1000 0000 0000

When the least significant counters rolled over you incremented the wrong counter and one of the counters remain unchanged. That is the one you should have incremented.
 
Last edited:
Top