Raining Season

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

1. Install QFSM on your Ubuntu PC. Here is how to do it ->

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->
What is Finite-state machine ->

Share this page :

Custom Search