variables vs signals

Joined
Jul 12, 2006
Messages
3
Reaction score
0
I am working on a project where the speed is so important.

While writing my vhdl code,

Firstly, I have used structural vhdl style where it contains some signals connecting components.The code can be synthesized but speed is low.

Secondly, I have chosen dataflow vhdl style where I used variables connecting some functions and procedures .Synthesis tool (Synplify 8.5B)says that it infers some ROMs and the code uses a lot of resources in the fpgas I targeted (Actel axcelerator ,Proasicplus families).


My questions are :

1) I am thinking that using variables(functions, procedures) makes the code faster,am I right?

2) I have read some about inferring roms (syn_romstyle attribute) etc.

Can you tell me more using this attribute?

3) How can I prevent my code using a lot of combinational resources instead of ROM blocks?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,262
Messages
2,571,056
Members
48,769
Latest member
Clifft

Latest Threads

Top