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

Reply

VHDL - Generic design using generate statement

 
Thread Tools Search this Thread
Old 01-15-2006, 05:37 PM   #1
Default Generic design using generate statement


Hi,

I want to have a very high generic model. For that I instantiate no. of
modules in a generic way. And I need generic number of interconnecting
to make connection between these modules..

So Can I make the declaration in generic way using generate statement.?
To be specific, can I use generate statement for declaration of
variables..?

Please relpy me...

Junaid



junaid.ece@gmail.com
  Reply With Quote
Old 01-15-2006, 11:08 PM   #2
Mike Treseler
 
Posts: n/a
Default Re: Generic design using generate statement
wrote:

> So Can I make the declaration in generic way using generate statement.?
> To be specific, can I use generate statement for declaration of
> variables..?


Variables are declared inside the process,
but variable types can use generic constants
for any dimension of the structure.

See the how the generic char_len_c
is used in the reference design here:

http://home.comcast.net/~mike_treseler/

-- Mike Treseler


Mike Treseler
  Reply With Quote
Old 01-16-2006, 10:03 AM   #3
junaid.ece@gmail.com
 
Posts: n/a
Default Re: Generic design using generate statement

Mike Treseler wrote:
> wrote:
>
> > So Can I make the declaration in generic way using generate statement.?
> > To be specific, can I use generate statement for declaration of
> > variables..?

>
> Variables are declared inside the process,
> but variable types can use generic constants
> for any dimension of the structure.
>
> See the how the generic char_len_c
> is used in the reference design here:
>
> http://home.comcast.net/~mike_treseler/
>
> -- Mike Treseler


Hi Mike,

Thank you for your reply.

I am basically dealing with SystemVerilog and want to have generic
interconnecting wires..

--Junaid



junaid.ece@gmail.com
  Reply With Quote
Old 01-16-2006, 08:53 PM   #4
Rob Dekker
 
Posts: n/a
Default Re: Generic design using generate statement

<> wrote in message news: oups.com...
>
> Mike Treseler wrote:
>> wrote:
>>
>> > So Can I make the declaration in generic way using generate statement.?
>> > To be specific, can I use generate statement for declaration of
>> > variables..?

>>
>> Variables are declared inside the process,
>> but variable types can use generic constants
>> for any dimension of the structure.
>>
>> See the how the generic char_len_c
>> is used in the reference design here:
>>
>> http://home.comcast.net/~mike_treseler/
>>
>> -- Mike Treseler

>
> Hi Mike,
>
> Thank you for your reply.
>
> I am basically dealing with SystemVerilog and want to have generic
> interconnecting wires..


If you need help with System Verilog, try comp.lang.verilog.

If you need to turn System Verilog into a VHDL design, then
'generate' statements in SV work pretty similar to VHDL generate statements.

You 'generate' concurrent statements, which means you can declare 'signals'
and processes (with variables) under a generate statement.

Rob

>
> --Junaid
>





Rob Dekker
  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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error: Physical sythesis tool PALAC is not supported by Formal Verification tool Conf bbiandov Software 0 12-22-2008 05:25 AM
Sewing, Embroidery & SignMaking Software.. embsupply Software 0 10-02-2007 04:29 PM
Sewing, Embroidery & SignMaking Software.. embsupply Software 0 08-14-2007 04:01 PM
Conformal LEC of a VHDL design (RTL Vs Netlist) sharatd Hardware 0 10-18-2006 02:47 PM
Re: Reference Material On Server Chassis Design? AG A+ Certification 0 01-30-2004 06:12 PM




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