Go Back   Velocity Reviews > Newsgroups > VHDL
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

VHDL - From VHDL to gates and LUTs (newbie)

 
Thread Tools Search this Thread
Old 08-10-2004, 03:59 PM   #1
Default From VHDL to gates and LUTs (newbie)


Hello NG!

I'm learning VHDL, but still have to understand how my VHDL-code will
end up as gates and LUTs etc in a FPGA...

I did search google, but all I found was some complex sites describing
how it worked, so I try this NG. Good links which describes the above
for a newbie are highly appreciated! )

1) Default-values?
I have a signal in my architecture of a entity, which I give a default
value, like this:
signal counter : std_logic_vector(7 downto 0) := (others => '0');

Will this default value be put in the FPGA as well? Or should I code
my architecture as if it could be undefined as default?
Maybe it differ from FPGA to FPGA? I'm using a FPGA from the Spartan
family.

2) What's happening when I synthesize?
Can someone in simple steps describe what is happening when I
synthesize, implement design, generate programming file etc. from my
VHDL-code? That could be cool! (I'm using a free version of Xilinx
ISE, but I guess the terms are general).

3) UCF-files
User Constraints Files are mainly (at least for a beginner like me)
how my pins of my FPGA are connected to the outer world, right? - and
how I attach them to inputs on my entities in my VHDL-code.

4) How is my FPGA "booted"?
Now everything has been put in the FPGA and I power up FPGA. Will it
automatically start with the default values right away? Should I wait
for some time, before my entities starts working as expected? I guess
it takes some times to initialize the FPGA? I guess you will refer me
to the datasheets of the specific FPGA on this... ;o) I want to know
if there are some common things, that you have to consider about this
issue. )

--
SanSaurus



SanSaurus
  Reply With Quote
Old 08-11-2004, 07:20 PM   #2
Mike Treseler
 
Posts: n/a
Default Re: From VHDL to gates and LUTs (newbie)
SanSaurus wrote:

> Default-values?
> I have a signal in my architecture of a entity, which I give a default
> value, like this:
> signal counter : std_logic_vector(7 downto 0) := (others => '0');
>
> Will this default value be put in the FPGA as well?


Usually not.

Use a reset input and code specific reset assigments.

> What's happening when I synthesize?


A netlist is generated that simulates the
same as your code.

> How is my FPGA "booted"?
> Now everything has been put in the FPGA and I power up FPGA.


All pins will be 'Z' until the image file is loaded.
Next the reset pulse is applied, and outputs will
start working the same as the functional simulation.

-- Mike Treseler


Mike Treseler
  Reply With Quote
Old 08-13-2004, 12:02 AM   #3
Jeroen
 
Posts: n/a
Default Re: From VHDL to gates and LUTs (newbie)

"SanSaurus" <> wrote in message
news:...
> Hello NG!
>
> I'm learning VHDL, but still have to understand how my VHDL-code will
> end up as gates and LUTs etc in a FPGA...
>


Some synthesizers can provide a schematic view (gates, flipflops, muxs etc)
of what they have produced.

Jeroen




Jeroen
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

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




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

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