> Message: 8 > Date: Wed, 4 Jun 2008 03:06:57 +0200 > From: Tristan Gingold <[EMAIL PROTECTED]> > Subject: Re: [Ghdl-discuss] Bug > To: GHDL discuss list <ghdl-discuss@gna.org> > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=us-ascii > > On Tue, Jun 03, 2008 at 02:02:54PM +0200, [EMAIL PROTECTED] wrote: >> Hi >> >> I didn't take the time to quote all details as I was in a rush. >> >> I had a problem while writting >> >> for ind in xyz'range generate ... >> >> it is not an hard issue as >> >> for ind in xzz'low to xyz'high generate ... > > Hi, > > this is slightly too vague. I tried a few cases and all were sucessfull. > What is the type of xyz ? > The type was a subtype to integer.
The reason is I like to use 'high 'low 'range etc... rather to hardcode limits in the software. That allows to change the limits ( or take values from a generic ) without reviewing the code, and to set all parameters on the begining of the architecture. _______________________________________________ Ghdl-discuss mailing list Ghdl-discuss@gna.org https://mail.gna.org/listinfo/ghdl-discuss