Jump to content

Electronics Q: Asynchronous D flip-flop counter PROBLEM!!!

Ahsan

Hi so the problem:

Design a 3 bit up counter that automatically stops when the count reaches 7. Include a Reset Button (PB_DPST).

 

PLEASE HELP THIS IS DUE TOMORROW D:

I am using Multisim to create the circuit

Processor- AMD Athlon X4 750K Trinity Quad-Core 3.4GHz. Motherboard- MSI Socket FM2 FM2-A75MA-E35. GPU- NVIDIA Geforce GTX 750 Ti SC 2GB GDDR5. RAM-  4GB Corsair Vengeance. Storage- 750GB Seagate Barracuda HDD. PSU- Corsair CX500. Case- Rosewill Line-M MiniATX.

Dell Inspiron N5110 intel i5

Link to comment
Share on other sites

Link to post
Share on other sites

CMONNN SOMONE

Processor- AMD Athlon X4 750K Trinity Quad-Core 3.4GHz. Motherboard- MSI Socket FM2 FM2-A75MA-E35. GPU- NVIDIA Geforce GTX 750 Ti SC 2GB GDDR5. RAM-  4GB Corsair Vengeance. Storage- 750GB Seagate Barracuda HDD. PSU- Corsair CX500. Case- Rosewill Line-M MiniATX.

Dell Inspiron N5110 intel i5

Link to comment
Share on other sites

Link to post
Share on other sites

We're not monkeys here to do your homework, I'm pretty sure they teach you how to work out the problem for yourself or they wouldn't have given it you.
Also not many of the "tech people" on here went to university to do computer science, many of us have decent jobs and have computing as a hobby.

 

That being said 7 is only a 3-bit number and you could easily implement a 4-bit adder that adds the output from a standard D flip-flop and places it back into the 3-bit 'register', where it can repeat over and over.

To stop the 4-bit adder from adding 0001 to 0111 to make it 1000 and removing the 7, you could just implement a manual override to stop (With an AND gate or something) when the 4th bit is one.

Spoiler

CPU: AMD Ryzen 3700X | Mobo: ASUS Strix X570-I Gaming ITX | GPU: Nvidia GeForce RTX 3060 Ti Founders Edition | RAM: Corsair Vengeance RGB PRO 16GB 3600MHz | Storage: Corsair Force MP600 1TB PCI-e Gen 4 & 2x 2TB Seagate Barracuda | Cooler: Stock Prism | Case: NZXT H210i | PSU: Corsair CS500M

Link to comment
Share on other sites

Link to post
Share on other sites

We're not monkeys here to do your homework, I'm pretty sure they teach you how to work out the problem for yourself or they wouldn't have given it you.

Also not many of the "tech people" on here went to university to do computer science, many of us have decent jobs and have computing as a hobby.

 

That being said 7 is only a 3-bit number and you could easily implement a 4-bit adder that adds the output from a standard D flip-flop and places it back into the 3-bit 'register', where it can repeat over and over.

To stop the 4-bit adder from adding 0001 to 0111 to make it 1000 and removing the 7, you could just implement a manual override to stop (With an AND gate or something) when the 4th bit is one.

You made me sound like a hypocrite there sir

but thanks

Processor- AMD Athlon X4 750K Trinity Quad-Core 3.4GHz. Motherboard- MSI Socket FM2 FM2-A75MA-E35. GPU- NVIDIA Geforce GTX 750 Ti SC 2GB GDDR5. RAM-  4GB Corsair Vengeance. Storage- 750GB Seagate Barracuda HDD. PSU- Corsair CX500. Case- Rosewill Line-M MiniATX.

Dell Inspiron N5110 intel i5

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×