Circuit from state diagram

Design a sequential circuit described by the following state diagram.

image

The circuit has two inputs (x1,x0x_1,x_0) and one output (zz). The inputs can take the values 00, 01 and 10 (the value 11 will never occur and can be considered as a don’t care).

Specification

module state_machine(x, z, clk, rst);
    input [1:0] x;
    input clk, rst;
    output z;

Input

Output

Problem information

Author: Jordi Cortadella

Generation: 2026-02-03T12:23:34.631Z

© Jutge.org, 2006–2026.
https://jutge.org