State Machines - coding in Verilog with testbench and implementation on an FPGA
ฝัง
- เผยแพร่เมื่อ 19 ม.ค. 2021
- Finite state machines are essential tool hardware and software design, but they are actually quite simple to understand. We walk through 1) What is a finite state machine?, what is the difference between a Moore and Mealy state machine? 2) How to design a state machine, 3) How to code a machine in Verilog.
We will be using the example of a simple pair detector, but the principle can be applied for any state machine. - วิทยาศาสตร์และเทคโนโลยี
I was really helpful, Even our professor wasn't much perfect, thank you sir and keep doing this kind videos it would be much helpful one again tank you sir 👌👌
Thanks for sharing your useful knowledge!
Very clear and understandable video thanks for informing us about fsm's
13:45 - thats the question i was asking myself for 13 minutes :), so many state machines to consider :)
This was a great video!!
Strictly speaking it seems like the second and third zeros are also a pair. This is a detects something but you don't know if it is pair or triplet.
You are the king!
I see that in the verilog code above, detect is a flopped version of (state == 2'b11); thus, the signal tap does show that detect is asserted 2 clk cycles after consecutive 0’s or 1’s of inbits.
There is a problem where your state machine doesn’t detect the second pair when there’s 3+ matching sequential inputs.
thank you!
Thank youuuuuuuuuu
What is inbits that was shown in first program
thank you so muchh!!
good job.
When I navigate to netlist viewer none of the options are available, what do I do to fix this?
thanks!
im still confused how youre getting the 1s and 0s and which one they belong to
whats the difference between synchronous and asynchronous?
Why wouldn’t you zoom in your test bench??
ERROR ! great but some typo is there. 4:51 complete verilog for states, in state 1
Please Explain the test bench in briefly
Please check out my other channel for longer form/tutorial FPGA content th-cam.com/channels/8gZeNz015waiQN5_-jvj7g.html