ID:	  N-002

Proposed by:  Jim Lewis,  Jim@SynthWorks.com  09/30/2002
Analyzed by:  
Resolved:     

Summary:  
Add array/scalar logical operators. 
See vhdl-200x-ft FT03 and
See std_logic_1164 CP003

Detail:
Add the following 24 functions to numeric_std and numeric_bit
For odd numbered functions below, the std_ulogic type operand 
is interpreted as having the value, (R'range => L). Likewise, 
for the even numbered functions below, the std_ulogic type 
operand is interpreted as having the value, (L'Range => R). 

-- L.15 
  function "and" (L: STD_ULOGIC; R: UNSIGNED) return UNSIGNED; 

-- L.16 
  function "and" (L: UNSIGNED; R: STD_ULOGIC) return UNSIGNED; 

-- L.17 
  function "or" (L: STD_ULOGIC; R: UNSIGNED) return UNSIGNED; 

-- L.18 
  function "or" (L: UNSIGNED; R: STD_ULOGIC) return UNSIGNED; 

-- L.19 
  function "nand" (L: STD_ULOGIC; R: UNSIGNED) return UNSIGNED; 

-- L.20 
  function "nand" (L: UNSIGNED; R: STD_ULOGIC) return UNSIGNED; 

-- L.21 
  function "nor" (L: STD_ULOGIC; R: UNSIGNED) return UNSIGNED; 

-- L.22 
  function "nor" (L: UNSIGNED; R: STD_ULOGIC) return UNSIGNED; 

-- L.23 
  function "xor" (L: STD_ULOGIC; R: UNSIGNED) return NUSIGNED; 

-- L.24 
  function "xor" (L: UNSIGNED; R: STD_ULOGIC) return UNSIGNED; 

-- L.25 
  function "xnor" (L: STD_ULOGIC; R: UNSIGNED) return UNSIGNED; 

-- L.26 
  function "xnor" (L: UNSIGNED; R: STD_ULOGIC) return UNSIGNED; 

-- L.27 
  function "and" (L: STD_ULOGIC; R: SIGNED) return SIGNED; 

-- L.28 
  function "and" (L: SIGNED; R: STD_ULOGIC) return SIGNED; 

-- L.29 
  function "or" (L: STD_ULOGIC; R: SIGNED) return SIGNED; 

-- L.30 
  function "or" (L: SIGNED; R: STD_ULOGIC) return SIGNED; 

-- L.31 
  function "nand" (L: STD_ULOGIC; R: SIGNED) return SIGNED; 

-- L.32 
  function "nand" (L: SIGNED; R: STD_ULOGIC) return SIGNED; 

-- L.33 
  function "nor" (L: STD_ULOGIC; R: SIGNED) return SIGNED; 

-- L.34 
  function "nor" (L: SIGNED; R: STD_ULOGIC) return SIGNED; 

-- L.35 
  function "xor" (L: STD_ULOGIC; R: SIGNED) return SIGNED; 

-- L.36 
  function "xor" (L: SIGNED; R: STD_ULOGIC) return SIGNED; 

-- L.37 
  function "xnor" (L: STD_ULOGIC; R: SIGNED) return SIGNED; 

-- L.38 
  function "xnor" (L: SIGNED; R: STD_ULOGIC) return SIGNED; 

Analysis:

[To be performed by the Working Group]
E-mail discussion

Resolution:

[To be determined by the Working Group]

Back to the numeric package proposals
Please send feedback to David Bishop dbishop@vhdl.org