Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Deterministic Finite Automata using Verilog/VHDL

Status
Not open for further replies.

erman_wellem

Newbie level 5
Joined
Jun 12, 2009
Messages
8
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,338
Hi all,

I want to implement a simple DFA on FPGA using Verilog or VHDL. I read from some papers that the states of the DFA and the state transition table can be stored in BRAM. Anybody here can give me a hint how to do this? Thank you.
 

erman_wellem said:
Hi all,

I want to implement a simple DFA on FPGA using Verilog or VHDL. I read from some papers that the states of the DFA and the state transition table can be stored in BRAM. Anybody here can give me a hint how to do this? Thank you.

Hi, I'm new to this board.

I've mostly developed for ASICs. I'm somewhat new to FPGAs. While it's ultimately true that state transition information can be stored in BRAM.

I usually reserve such an explicit setup for state machine "engines", where there is a host of actions the engine could take. And a host of data paths through the engine such that a particular path is setup, based on the action the engine needs to perform.

Once the engine knows the action it wants to execute, it would retrieve the proper bit codes from a BRAM to set the engine's datapaths and go.

Is that really what you want to do or are you looking for something simpler?

In the simpler sense, BRAMs might get used implicitly (behind the scenes) by the synthesis / place & route tools to store the final result of your compile run. In this simpler case, the actual low level details of BRAM resource utilization are hidden from you. Also, in this case, all you need to focus on is the "case/when" coding of your state machine (DFA).

Here's a link to the coding of a DFA (state machine), for you (in the simpler case)...
**broken link removed**

Hope this helps.
 

Thank you. I will try to take a look at the link you give...
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top