Andrew Beckett
Senior Fellow
Offline
Life, don't talk to me about Life...
Posts: 1742
Bracknell, UK
|
I don't think so Geoffrey - VHDL is a case insensitive language... I just checked in a book I have and it says "The base specifier can be in uppercase or lowercase".
Note that the module above when compiled in ncvhdl gives:
ncvhdl: 15.20-s028: (c) Copyright 1995-2017 Cadence Design Systems, Inc. pcReg <= x"0000"; | ncvhdl_p: *E,EXPTYP (forum2.vhd,17|34): expecting an expression of type STD_LOGIC_VECTOR 87[8.3] 93[8.4]. pcReg <= pcReg + x"0001"; | ncvhdl_p: *E,BITOPR (forum2.vhd,21|26): This feature is allowed only in 93[13.7].
However, if I compile with -v93 or -v200x then it compiles with no problem.
Regards,
Andrew.
|