kseng2002
Member level 2
- Joined
- Aug 27, 2004
- Messages
- 51
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,286
- Location
- Malaysia
- Activity points
- 467
verilog code for fsm
Hi , can any1 guide me on how to write the following Verilog code from the table below ? Im new to Verilog and using Quartus II. Thanks in advance.
PS Inputs NS Outputs
y1y2 rw rdy Y1Y2 oe we
0 0 0 0 0 0 0 0
0 0 0 1 0 1 0 0
0 0 1 1 0 1 0 0
0 0 1 0 0 0 0 0
0 1 0 0 1 1 0 0
0 1 0 1 1 1 0 0
0 1 1 1 1 0 0 0
0 1 1 0 1 0 0 0
1 1 0 0 1 1 0 1
1 1 0 1 0 0 0 1
1 1 1 1 0 0 0 1
1 1 1 0 1 1 0 1
1 0 0 0 1 0 1 0
1 0 0 1 0 0 1 0
1 0 1 1 0 0 1 0
1 0 1 0 1 0 1 0
Hi , can any1 guide me on how to write the following Verilog code from the table below ? Im new to Verilog and using Quartus II. Thanks in advance.
PS Inputs NS Outputs
y1y2 rw rdy Y1Y2 oe we
0 0 0 0 0 0 0 0
0 0 0 1 0 1 0 0
0 0 1 1 0 1 0 0
0 0 1 0 0 0 0 0
0 1 0 0 1 1 0 0
0 1 0 1 1 1 0 0
0 1 1 1 1 0 0 0
0 1 1 0 1 0 0 0
1 1 0 0 1 1 0 1
1 1 0 1 0 0 0 1
1 1 1 1 0 0 0 1
1 1 1 0 1 1 0 1
1 0 0 0 1 0 1 0
1 0 0 1 0 0 1 0
1 0 1 1 0 0 1 0
1 0 1 0 1 0 1 0