{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

06 bus_structure_design

06 bus_structure_design - Bus Structure Design Example EE...

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

View Full Document Right Arrow Icon
Bus Structure: Design Example EE 2730 source: Brown and Vranesic (2008) 2 Figure 7.60. A digital system with k registers.
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
source: Brown and Vranesic (2008) 3 Figure 7.61. Details for connecting registers to a bus. source: Brown and Vranesic (2008) 4 Figure 7.62. A shift-register control circuit..
Image of page 2
source: Brown and Vranesic (2008) 5 Figure 7.63. A modified control circuit. source: Brown and Vranesic (2008) 6 module regn (R, Rin, Clock, Q); parameter n = 8; input [n-1:0] R; input Rin, Clock; output reg [n-1:0] Q; always @( posedge Clock) if (Rin) Q <= R; endmodule Figure 7.66. Code for an n -bit register of the type in Figure 7.61.
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
source: Brown and Vranesic (2008) 7 module trin (Y, E, F); parameter n = 8; input [n-1:0] Y; input E; output wire [n-1:0] F; assign F = E ? Y : 'bz; endmodule Figure 7.67. Code for an n -bit tri-state module. source: Brown and Vranesic (2008) 8 module shiftr (Resetn, w, Clock, Q); parameter m = 4; input Resetn, w, Clock; output reg [1:m] Q; integer k; always @( negedge Resetn, posedge Clock) if (!Resetn) Q <= 0; else begin for (k = m; k > 1; k = k-1) Q[k] <= Q[k-1]; Q[1] <= w;
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