Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

examine the verilog module provided on the course website for this experiment and sketch a schematic of the logic that it realizes. hint: this program

examine the verilog module provided on the course website for this experiment and sketch a schematic of the logic that it realizes. hint: this program realizes a bounceless switch, two sr latches with enables, and a d flip-flip (corresponding to always @(posedge ---) block ).

CODE BELOW

module lab8(CLKIN, CS, RS, SS, CM, RM, SM, D, NC, NO,BQ, QM, QM_N, QS, QS_N, QFF); //INPUTS input CLKIN/*synthesis loc="1"*/; input CS /*synthesis loc="2"*/; input RS /*synthesis loc="3"*/; input SS /*synthesis loc="4"*/; input CM /*synthesis loc="5"*/; input RM /*synthesis loc="6"*/; input SM /*synthesis loc="7"*/; input D /*synthesis loc="8"*/; input NC /*synthesis loc="9"*/; input NO /*synthesis loc="10"*/; //OUTPUTS output BQ /*synthesis loc="23"*/; output reg QFF /*synthesis loc="18"*/; output QM /*synthesis loc="17"*/; output QM_N /*synthesis loc="16"*/; output QS /*synthesis loc="15"*/; output QS_N /*synthesis loc="14"*/; // Bounceless Switch assign BQ = ~NO | (NC & BQ); // Slave Latch assign QS = ~(~(SS&CS) & QS_N); assign QS_N = ~(~(RS&CS) & QS); // Master Latch assign QM = ~(~(SM&CM) & QM_N); assign QM_N = ~(~(RM&CM) & QM); // D flipflop always @(posedge CLKIN) begin QFF <= D; end endmodule 

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

Modern Database Management

Authors: Jeff Hoffer, Ramesh Venkataraman, Heikki Topi

13th Edition Global Edition

1292263350, 978-1292263359

More Books

Students also viewed these Databases questions

Question

4. When is it appropriate to show grace toward others?

Answered: 1 week ago