const NO : boolean := false;
activeFlag_x = (others : begin NO);
I know what "(others => '0')" means, but I can't figure out the above?
It means that either
a) someone has made a few bad keystrokes on a smart text
editor that has keyboard shortcuts for VHDL keywords, or
b) someone has used a badly flawed template file (and yes,
such things do exist), or
c) someone was coding whilst making use of (in Peter Cook's
unforgettable phrase) recreational pharmaceuticals.
I suspect the line should have said
activeFlag_x := (others => NO);
but it's really anyone's guess.
The really interesting question is: how is it that someone
allowed code like this, which has no chance of getting past
any compiler, leak out from their text editor into the wild?
--
Jonathan Bromley, Consultant
DOULOS - Developing Design Know-how
VHDL * Verilog * SystemC * e * Perl * Tcl/Tk * Project Services
Doulos Ltd., 22 Market Place, Ringwood, BH24 1AW, UK
(e-mail address removed)
http://www.MYCOMPANY.com
The contents of this message may contain personal views which
are not the views of Doulos Ltd., unless specifically stated.