![]() |
|
|
|
#1 |
|
In the generate statement, in the If- generation scheme,
generate-label : if (expression) generate If I want to test more than one expression , how can I do this? Thanks crazyrdx |
|
|
|
|
#2 |
|
Posts: n/a
|
Why don't you use
if (expression1) and (expression2) and (expression3) generate You can also use if (expression1) and (not (expression2)) or (expression3) generate Hubble Hubble |
|
|
|
#3 |
|
Posts: n/a
|
> generate-label : if (expression) generate > > If I want to test more than one expression , how can I do this? You can use AND or OR etc to combine expressions but the expression should be a function of your index. Also you should write all the cases exhaustively. vizziee@gmail.com |
|
|
|
#4 |
|
Posts: n/a
|
crazyrdx wrote:
> In the generate statement, in the If- generation scheme, > > generate-label : if (expression) generate > > If I want to test more than one expression , how can I do this? Peter Ashenden's VHDL book has an excellent section on generates. You might consider buying that book and reading it ... -a Andy Peters |
|
![]() |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Generate .aspx file and .cs file behind it | jyoti.bannigidad@gmail.co | Software | 0 | 09-18-2008 07:54 AM |
| As growth slows, Hollywood faces a DVD standoff. | Allan | DVD Video | 0 | 07-11-2005 02:10 PM |