Exams/2014 q3c

From HDLBits

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=0x=1
0000000010
0010011000
0100100010
0110010101
1000111001

Module Declaration

module top_module (
    input clk,
    input [2:0] y,
    input x,
    output Y0,
    output z
);

Write your solution here

Upload a source file...