Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Give me: 1. Introduction 2. Methodology: - Algorithms - planning phase: a. flowchart b. pseudo code c. FSM d. ST table - Implementation ( c

image text in transcribed

Give me: 1. Introduction 2. Methodology: - Algorithms - planning phase: a. flowchart b. pseudo code c. FSM d. ST table - Implementation ( c code (commenting)) 3. Results (output) 4. Discussion/Analysis : - Decription or results - code explanation 5. conclusion

Task 3. In digital electronics and modern computer hardware, a flip-flop is sequential digital circuit used as a basic memory element. It has two stable states and can be used to store state information. One of its states represents ' 1 ' while the other represents ' 0 '. The most common types of flip-flops are SR-flip-flop, JK-flip-flop, and D flip-flop. When used in a finite-state machine, the output and next state depend not only on its Page 2 of 5 current input, but also on its current state (and hence, previous inputs). Figure 1 D-Flip-flop with clock pulse (CP) Figure 1 shows a D flip-flop with clock pulse (CP). D is directly passed from stage 1 to stage 2 through NAND gate and passed as inverted through gate 5 and gate 4 . The input D is always sampled when the system CP is 1 . Considering the memory element in Figure 1, perform the following tasks: a. Simulate the Figure 1 using C programming. Show the steps of your design in the form of a short report. [Marks 20] b. Design 8-bit shift register and simulate it using C, that can multiply or divide the 8 -bit number by 4 . Show the steps of your design in the form of a short report

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases DeMYSTiFieD

Authors: Andy Oppel

2nd Edition

0071747990, 978-0071747998

More Books

Students also viewed these Databases questions