Simple state machine X52189


Statement
 

pdf   zip   verilog

html

Design a sequential network described by the following state/output table (PS: Present State; NS: Next state, z is the 2-bit output). Assume A is the initial state and encode the outputs as a=00, b=01 and c=10.

||

PSInput
 x=0x=1
AB,aF,b
BC,aA,c
CD,aB,b
DE,bC,c
EF,bD,b
FA,cE,c
 NS,z

||

Specification

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

Input

  • clk is the clock signal.
  • rst is the synchronous reset signal.
  • x is the input signal.

Output

  • z is the 2-bit signal encoding the outputs a, b and c.
Information
Author
Jordi Cortadella
Language
English
Official solutions
Unknown. This problem is being checked.
User solutions