<div dir="ltr">Hi,<div><br></div><div>VAR</div><div>  x : BITS 1 FOR [0..2]; </div><div><br></div><div>is allowed by the compiler but I think its a bug. Surely you need 2 bits to store a 2</div><div>Same with BITS 2 FOR [0..4];  etc</div><div><br></div><div>Looks like an off by one sort of problem.</div><div><br></div><div>Regards Peter</div><div><br></div><div><br></div><div><br></div></div>