To the previous two posters: between the number and the unit the space is
not optional.
vcom Message # 1207:
[13.2 Lexical elements, separators, and delimiters], line 130:
At least one separator is required between an identifier or an
abstract literal and an adjacent identifier or abstract literal.
Thanks for the info. I'm often not online and so can't check the web.
I noticed that in the example code for my application they left out the
space, so that's how I typed it and it works ok. Doing a Google search
I found this discussion...
http://www.eda.org/isac/IRs-VHDL-87/IR0003.txt
"VHDL Issue Number: 0003
Classification: Examples, Notes, and Appendices
Language Version: VHDL-87
Summary: Examples in the LRM do not have a space
between the abstract literal and the
unit name of physical literals
"
....
"Description of Problem
----------------------
The fourth paragraph of section 13.2 of the LRM states that:
"... At least one separator is required between an identifier
or an abstract literal and an adjacent identifier or abstract
literal."
Thus a space is always required between the abstract literal and the
unit name in a physical literal. Nevertheless, many of the examples
in the LRM incorrectly include physical literals which contain no
space between the abstract literal and the unit name.
"
So it seems that at one time at least the LRM didn't practice what it
preached and so I expect all vendors will accept code that does not
include a space between the literal and the unit. Still, it's not a
good practice to follow. There is always the potential for a new tool
to be more strict and all your code would then break!
Rick