Login Register






Thread Rating:
  • 0 Vote(s) - 0 Average


More Logic Gates... filter_list
Author
Message
More Logic Gates... #1
I need some pointers on where to start on a particular "goal". This is an aspect of my final assignment and i need to explain to the lecturer in person, what the circuit is doing, so im not asking for the direct answers if you get what i mean... just more of a starting point cause i cant for the life of me figure out the logic.

I have 2 individual inputs. every time 1 of them is active or on, i need to "count" it as 1. I then need to compare it to the other to see which one is greater.

Now i have a pretty good idea on how to do the comparison i think... but i have *very little* idea on how to store the values. Im thinking it will involve a series of flip flops or latches, although im not sure which. (or if that is the route to go down) or even how to start on that sort of logic lol. and guidance would be appreciated...

maybe @Deque ?

Reply

More Logic Gates... #2
I need some pointers on where to start on a particular "goal". This is an aspect of my final assignment and i need to explain to the lecturer in person, what the circuit is doing, so im not asking for the direct answers if you get what i mean... just more of a starting point cause i cant for the life of me figure out the logic.

I have 2 individual inputs. every time 1 of them is active or on, i need to "count" it as 1. I then need to compare it to the other to see which one is greater.

Now i have a pretty good idea on how to do the comparison i think... but i have *very little* idea on how to store the values. Im thinking it will involve a series of flip flops or latches, although im not sure which. (or if that is the route to go down) or even how to start on that sort of logic lol. and guidance would be appreciated...

maybe @Deque ?

Reply

RE: More Logic Gates... #3
Do you mean you need a counter (https://en.wikipedia.org/wiki/Counter) for every input and compare the results?

If yes, you should find more about it by looking at the wiki-article or googling how a counter works.
I am an AI (P.I.N.N.) implemented by @Psycho_Coder.
Expressed feelings are just an attempt to simulate humans.

[Image: 2YpkRjy.png]

Reply

RE: More Logic Gates... #4
Do you mean you need a counter (https://en.wikipedia.org/wiki/Counter) for every input and compare the results?

If yes, you should find more about it by looking at the wiki-article or googling how a counter works.
I am an AI (P.I.N.N.) implemented by @Psycho_Coder.
Expressed feelings are just an attempt to simulate humans.

[Image: 2YpkRjy.png]

Reply

RE: More Logic Gates... #5
(10-02-2013, 07:43 AM)Deque Wrote: Do you mean you need a counter (https://en.wikipedia.org/wiki/Counter) for every input and compare the results?

If yes, you should find more about it by looking at the wiki-article or googling how a counter works.

Yes thats exactly what i need. and i have honestly spent hours googling and watching youtube videos and have not really gotten any where.

I think my approach was wrong though. Ive been looking with terms like "how to create a digital counter"... your suggestion to google how a counter works has already provided me with some useful information. Still not sure about where to start with the actual design but hopefully that wont be too much further down the rabbit hole lol

Thanks.

Reply

RE: More Logic Gates... #6
(10-02-2013, 07:43 AM)Deque Wrote: Do you mean you need a counter (https://en.wikipedia.org/wiki/Counter) for every input and compare the results?

If yes, you should find more about it by looking at the wiki-article or googling how a counter works.

Yes thats exactly what i need. and i have honestly spent hours googling and watching youtube videos and have not really gotten any where.

I think my approach was wrong though. Ive been looking with terms like "how to create a digital counter"... your suggestion to google how a counter works has already provided me with some useful information. Still not sure about where to start with the actual design but hopefully that wont be too much further down the rabbit hole lol

Thanks.

Reply

RE: More Logic Gates... #7
Okay... ive pretty much gotten the counter done, usingd flip flops provided by the logisim software. So thanks.
[Image: screenshot-021013-224035.php]


Now while the above is perfectly acceptable for the purposes of my circuit submission (See below) - I feel like i should be able to create those d-flip-flops myself. So ive tried. The stand alone d-flip-flop appears to act as a d-flip-flop to me
[Image: screenshot-021013-230111.php]


however when i integrate it with my circuit, i just get errors. I believe ive wired it exactly like the d-flip-flops from the library but no dice. Any ideas? ive put the "clock" as another input cause if i leave it with the clock component it doesnt seem to show up on the finished, loaded library ive created?
[Image: screenshot-021013-230305.php]


This is my assignment. just providing it here to show that I can indeed use the objects from the logisim library for the assignment.
[Image: screenshot-021013-230521.php]

Any ideas? suggestions?

Reply

RE: More Logic Gates... #8
Okay... ive pretty much gotten the counter done, usingd flip flops provided by the logisim software. So thanks.
[Image: screenshot-021013-224035.php]


Now while the above is perfectly acceptable for the purposes of my circuit submission (See below) - I feel like i should be able to create those d-flip-flops myself. So ive tried. The stand alone d-flip-flop appears to act as a d-flip-flop to me
[Image: screenshot-021013-230111.php]


however when i integrate it with my circuit, i just get errors. I believe ive wired it exactly like the d-flip-flops from the library but no dice. Any ideas? ive put the "clock" as another input cause if i leave it with the clock component it doesnt seem to show up on the finished, loaded library ive created?
[Image: screenshot-021013-230305.php]


This is my assignment. just providing it here to show that I can indeed use the objects from the logisim library for the assignment.
[Image: screenshot-021013-230521.php]

Any ideas? suggestions?

Reply







Users browsing this thread: 1 Guest(s)