Exams/2014 q3c
From HDLBits
exams/2014_q3bfsmPrevious
Nextexams/m2014_q6b
Given the state-assigned table shown below, implement the logic functions Y[0] and z.
Present state y[2:0] | Next state Y[2:0] | Output z | |
---|---|---|---|
x=0 | x=1 | ||
000 | 000 | 001 | 0 |
001 | 001 | 100 | 0 |
010 | 010 | 001 | 0 |
011 | 001 | 010 | 1 |
100 | 011 | 100 | 1 |
Module Declaration
module top_module ( input clk, input [2:0] y, input x, output Y0, output z );
exams/2014_q3bfsmPrevious
Nextexams/m2014_q6b