style="display:inline-block;width:468px;height:60px"
data-ad-client="ca-pub-8809257555105760"
data-ad-slot="9085542108">


Trick or Treat

FPGA : Design Finite State Machines with QFSM

Date : Sunday,10 January 2016
Writer : Ataya P

If FPGA design is too complicated for you, may be you need the tool to makes it more simple.
This time, I will introduce you how to use QFSM tool (A graphical tool for designing finite state machines). Let's see ...

Working Platform :
Lenovo Notebook , Intel Pentium Dual Core T2080 1.73GHz
2Gbyte RAM
Ubuntu Ubuntu 12.04.3 LTS +QFSM installed



Details
1. Install QFSM on your Ubuntu PC. Here is how to do it ->
http://lemongrass-studio.net/main/node/66

2. Run QFSM and make new project.
From menu bar select File->New
New project

3. Create all states and transitions as you see below.
State detail

State Machine design

4. Test the design by simulate the state machine.
From menu bar select Machine->Simulate
Simulator panel will pop up. Enter '1' or '0' in inputs box and press 'Send' button to simulate the state machine's flow.
Simulator panel

5. Check the design is working as you desire or not by looking at state transition.
Simulate result

6. Finally you can generate HDL file from the design.
From menu bar select File -> Export -> VHDL or Verilog HDL

Next time I will using the generated VHDL file to execute on real FPGA board.
See you next time :)

Useful Link :
QFSM website->
http://qfsm.sourceforge.net/index.html
What is Finite-state machine ->
http://en.wikipedia.org/wiki/Finite-state_machine

Custom Search