[vhdl-200x] Backwards incompatibility with std_logic_vector

From: Paul Graham <pgraham@oasys-ds.com>
Date: Thu Aug 22 2013 - 10:34:13 PDT
The vhdl-2008 std_logic_1164 package changes the definition of std_logic_vector.  Previously it was a distinct type from std_ulogic_vector.  In vhdl-2008 it is a subtype of std_ulogic_vector.  This change is not backwards compatible as it can result in homograph conflicts.  For instance:

    function f(x : std_logic_vector) return integer;
    function f(x : std_ulogic_vector) return integer;

Pre-2008 these functions could coexist.  In vhdl-2008 they are homographs and cannot coexist.

Is this a known and expected incompatibility?

Paul

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Thu Aug 22 10:34:22 2013

This archive was generated by hypermail 2.1.8 : Thu Aug 22 2013 - 10:34:57 PDT