![]() |
|
|
|
#1 |
|
I'm designing a flash memory controller which will have a sub-block
dedicated to a special function. I want to use a generic to either generate the sub-module or not, and to tie what were sub-module outputs (inputs to the main flash mem controller block) to a default level. Is this possible? I've only used generate (a long time ago, 1992!) to create a daisy-chain of JTAG modules which were always wanted. Not sure how to do what I want, but something like: IF gen_special GENERATE special_inst: special PORT MAP (...............); ELSE -- illegal? END GENERATE; I could have a "null" sub-module with the required default port levels, but how do I then generate either/or? TIA, Kev P. Niv |
|
|
|
|
#2 |
|
Posts: n/a
|
Niv wrote: > I'm designing a flash memory controller which will have a sub-block > dedicated to a special function. > I want to use a generic to either generate the sub-module or not, and > to tie what were sub-module outputs (inputs to the main flash mem > controller block) to a default level. > > Is this possible? > > I've only used generate (a long time ago, 1992!) to create a > daisy-chain of JTAG modules which were always wanted. > > Not sure how to do what I want, but something like: > > IF gen_special GENERATE > special_inst: special PORT MAP (...............); > ELSE -- illegal? > > END GENERATE; > > I could have a "null" sub-module with the required default port levels, > but how do I then generate either/or? > > TIA, Kev P. Sorted it myself (eventually). Ta anyway, Kev P. Niv |
|
![]() |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| ImportError: No module named server | manasonnet | Software | 0 | 11-20-2008 04:53 AM |
| Generate .aspx file and .cs file behind it | jyoti.bannigidad@gmail.co | Software | 0 | 09-18-2008 07:54 AM |
| WFS:GBIC module | Helenzhou | Hardware | 0 | 06-19-2008 08:04 AM |
| I have an Invalid Page Fault in module XVID.AX | Wassup Mang! | DVD Video | 1 | 10-19-2003 02:40 PM |
| Re: SmartCertify A+ Core Module | Tony Sivori | A+ Certification | 2 | 07-17-2003 05:56 AM |