{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

13 ch10-digitalSysDesign

13 ch10-digitalSysDesign - Chapter 10 Digital System Design...

Info icon This preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon
Chapter 10 — Digital System Design EE 2730 flip-flop with enable Figure 10.1. A flip-flop with an enable input good Figure 10.43. Clock enable circuit flawed 2 D Q Q Q R Clock E 0 1 D Q Q Data Clock E
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
flip-flop with enable - Verilog Figure 10.1. A flip-flop with an enable input 3 D Q Q Q R Clock E 0 1 module rege (R, Clock, Resetn, E, Q); input R, Clock, Resetn, E; output reg Q; always @( posedge Clock, negedge Resetn) if (Resetn == 0) Q <= 0; else if (E) Q <= R; endmodule Figure 10.2. Code for a D flip-flop with enable shift register with enable 4 Figure 10.4. A shift register with parallel-load and enable control inputs.
Image of page 2
bit counter Figure 10.9. Pseudo- code for the bit counter 5 B = 0 ; while A ! 0 do if a 0 = 1 then B = B + 1 ; end if; Right-shift A ; end while; Shift right A Done B B 1 + ! A 0 = ? B 0 ! s Load A a 0 Reset S3 0 1 0 1 0 1 s S1 S2 1 0 Figure 10.10. ASM chart for the pseudo-code in Figure 10.9. bit counter - datapath 6 Figure 10.11. Datapath for the ASM chart in Figure 10.10.
Image of page 3

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
bit counter – ASM for control 7 EA EB z LB s a 0 Reset S3 0 1 0 1 0 1 s S2 S1 0 1 Done Figure 10.12. ASM chart for the bit counter datapath circuit.
Image of page 4
Image of page 5
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern