>>> On 18 February 2011 at 13:29, in message
<AANLkTi=Nxyy50DpJsnn-g2e2XifH-NbQP9z6UnCdnW9b@mail.gmail.com>, Daniel
Kho
<daniel.kho@gmail.com> wrote:
> Hi Martin,
>
> If Rst is in the sensitivity list, does this not imply an async
reset? And
> if not, then a sync reset?
>
> Yes, you're right. I think the intent of having Rst in the
sensitivity list
> together with specifying "synchronous" or "asynchronous" within the
process
> is to distinguish between the two.
>
That's my point - you don't need to specify it, the sensitivity list
already does (and we're all already used to doing so). Specifying it
twice allows you to get it wrong once :)
(For example currently you can intend an async reset, but get a sync
one:
process (clk)
being
if async reset = '1' then — this is actually a "both edges" sync
reset!
—
elseif rising_edge.....
end if
With a "just use the sensitivity list" approach, you can;t make that
mistake...
> Yes, we may need to evaluate how much gains this enhancement would
bring to
> the community. As for myself, I do try to use many small processes as
much
> as I can (sometimes with only several lines of code per process). I
do start
> with a big process in the beginning, but will try to break the
single
> process down into smaller processes.
Out of interest (and maybe reply to this off-list ;) why do you feel
theneed to break things down to very small processes?
Cheers,
Martin
-- Martin Thompson CEng MIET TRW Conekt, Stratford Road, Solihull, B90 4GW. UK +44 (0)121-627-3569 : martin.j.thompson@trw.com http://www.conekt.co.uk/ Conekt is a trading division of TRW Limited Registered in England, No. 872948 Registered Office Address: Stratford Road, Solihull B90 4AX -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.Received on Fri Feb 18 05:47:21 2011
This archive was generated by hypermail 2.1.8 : Fri Feb 18 2011 - 05:47:49 PST