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.

What to consider when writing VHDL codes for Altera devices?

Status
Not open for further replies.

Nidhi gupta

Newbie level 1
Joined
Jan 12, 2005
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
12
Synthesis using altera

My design consists of many FSMs interacting with each other.What factors we should consider while writing vhdl code for Altera devices so as to optimise the design
also, is it possible to use vhdl testbench file instead of scf file.


EDA E-books Upload/Download is not a place for such discussions. Read the rules and obey, or you will be warned and eventually banned. Post in the correct forum. Topic moved.
/pisoiu
 

Synthesis using @ltera

for coding styles for fsm's please refer to the book by ben cohen.It clearly mentions the guidelines for coding for synthesis.if u are trying to code ur fsm as a mealy or moore machine,first separate the code into combinational and sequential blocks(when u synthesize the design u will see the state register and combintorial block clearly in your design,without any ambiguity).do not use variables inside clocked processes ,(they will infer latches,to avoid assign initial values to variables).These are generallized guidelines for synthesis.,for more u can refer to the book.

regards
amarnath
 

Re: Synthesis using altera

Hi Nidhi

I think u can use "One Hot Encoding" in ur state machines, it can optimize the synthesis results.

Regards

Jaspreet Singh
 

Synthesis using @ltera

ben cohen's book is quite good!!!
 

Re: Synthesis using altera

well, though it can optimise the design(one-hot) is it not a lengthy and use a large number of flip flops, well using mealy gives u a perfect idea on what u r doing.
 

Re: Synthesis using altera

If the FSM has less states then you can use binary coding for them i.e. "000" "001" 010" "011" ..... "111".
If the states are more than 7 then go for one-hot.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top