On Fri, 09 Jul 2004 16:57:55 +0200, Nicolas Matringe
<> wrote:
>Jonathan Bromley a écrit:
>
[concerning multiple sources on a signal)
>
>ModelSim won't give any warning or error at compile time (I've already
>posted about this a few weeks ago)
Sorry Nicolas, I missed your post on that issue.
Hmmm... A few days ago I was doing some complicated and messy
stuff with "generate", and the compiler warned me that there
MIGHT be multiple sources... it was right, until I fixed the
code

but even when my "generate" code was correct, I still
got the warning. In this case, of course, there was no error
at elaboration.
>I didn't know at the time that the error detection was due at
>elaboration time.
There are many possible errors that cannot be detected until
elaboration. On the other hand, some simple cases could
in principle be detected earlier. I guess it's just a question
of how hard the compiler is prepared to work, to detect some
of these cases.
--
Jonathan Bromley, Consultant
DOULOS - Developing Design Know-how
VHDL, Verilog, SystemC, Perl, Tcl/Tk, Verification, Project Services
Doulos Ltd. Church Hatch, 22 Market Place, Ringwood, BH24 1AW, UK
Tel: +44 (0)1425 471223 mail:
Fax: +44 (0)1425 471573 Web:
http://www.doulos.com
The contents of this message may contain personal views which
are not the views of Doulos Ltd., unless specifically stated.