All: Is there any reason not to create a 'image attribute for composite types (arrays and records)? Right now it only exists for scalar types like integer, real, etc. One possible definition is a paren-enclosed, comma-delimited sequence of the element images from left to right (array) or first-to-last defined (record). I believe this would make X'image a valid VHDL aggregate expression representing the current value of X. It's easy to define, unambiguous, and quite general. Example: process images is variable ary : std_logic_vector(0 to 3) := b"011"; variable ln : LINE; begin write(ln, ary'image); writeline(OUTPUT, ln); end process; -- Will print "('0','1','1')" according to my suggestion. Thanks! --- Ryan Hinton L-3 Communications / Communication Systems West ryan.w.hinton@L-3com.com -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.Received on Mon Jul 21 10:10:54 2014
This archive was generated by hypermail 2.1.8 : Mon Jul 21 2014 - 10:11:50 PDT