Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > VHDL > variables vs signals

Reply
Thread Tools

variables vs signals

 
 
etoktas etoktas is offline
Junior Member
Join Date: Jul 2006
Posts: 4
 
      07-18-2006
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?
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Variables instead of signals: what about constraints? Cesar VHDL 8 09-26-2010 09:11 PM
Is it possible to watch variables and signals during debug? Dufour VHDL 12 08-25-2006 06:54 PM
signals and variables David Binnie VHDL 3 02-02-2006 06:50 PM
Signals and variables, concurrent and sequential assignments Taras_96 VHDL 5 04-14-2005 03:07 AM
Variables Vs signals zingafriend@yahoo.com VHDL 1 01-18-2005 07:22 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57