Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > VHDL > Generate Statement

Reply
Thread Tools

Generate Statement

 
 
sridar sridar is offline
Member
Join Date: Jun 2007
Posts: 52
 
      11-02-2009
Hi all, I want to know whether the following approach is correct using for generate statement

l1: For i in 0 to 5 generate

l2: For j in 0 to (2**(5-i))-1 generate

Note that in the loop 2, I am referring loop1's value i.
 
Reply With Quote
 
 
 
 
joris joris is offline
Senior Member
Join Date: Jan 2009
Posts: 153
 
      11-03-2009
yes that should work fine
 
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
Failed to generate a user instance of SQL Server. Only an integratedconnection can generate a user instance. Harlan Messinger ASP .Net 2 03-28-2010 06:51 PM
How to generate warnings when How generate a warning when int is converted to bool or vice versa? PengYu.UT@gmail.com C++ 3 04-06-2006 11:24 PM
How to generate variable labels for same component within a generate loop Weng Tianxiang VHDL 5 02-16-2006 01:45 PM
For Loop Generate Statement Roman Zeilinger VHDL 2 09-23-2004 02:59 PM
Error Generate Statement Isaac VHDL 3 08-07-2003 07:24 PM



Advertisments