0

I'm trying to simulate a 12h-digital clock in Logisim. Here's the logic diagram: Logic Diagram of a Digital Clock

I could simulate BCD to 7 Segment but I don't know how to create a CTR DIV 10 and CTR DIV 6 in Logisim, so I tried to look into some logic diagram and found this: CTR DIV 10 and CTR DIV 6

Counter and Decoder

By the way, here's the structure of the CTR DIV 10 but I don't understand how it works:

And here's my approach to this implementation: Approach Waveform CTR DIV 10

Any help to simulate this, thanks in advance.

user587779
  • 3
  • 1
  • 2
  • 1
    I'm unsure what your question is. – Andy aka Nov 05 '18 at 16:07
  • How to implement a CTR DIV 10(74F162) and a CTR DIV 6 in Logisim,(in order to simulate a digital clock)? – user587779 Nov 05 '18 at 16:23
  • 1. The Spanish language is nice but note, that please use English. 2. It is hard to distinguish between your work and the designs that you have found online. 3. Still not sure what your question is... Be more specific and remove unnecessary parts. – betontalpfa Nov 06 '18 at 08:46

1 Answers1

0

Still not sure what your question is, but I try to answer what I have understood.

I suggest to make two part of simulating CTR DIV 10

  1. Create the model of 74F162 (aka. a general purpose counter)
  2. Add the overflow logic. (to make the DIV 10)

1. Create the model of 74F162

There are so many detailed counter implementation post like this or this.

2. Add the overflow logic

To create a counter with custom modulo (period) you need to add the overflow/reset logic. This circuit will reset your counter when your counter reach the wanted maximum. (10 at DIV 10 and 6 at DIV 6). Lets do the 10: You need to detect the binary 1010 (which is the decimal 10).

schematic

simulate this circuit – Schematic created using CircuitLab

The output of the circuit above will be high only when the input is decimal 10. You can connect this circuit to reset input of your counter. (Note the polarity, your counter maybe have active low reset input.)

betontalpfa
  • 597
  • 1
  • 6
  • 21