LIBRARY ieee;   USE ieee.std_logic_1164.all;

entity d_latch is
   port ( clk : in std_logic;
          d : in std_logic_vector;
          q : out std_logic_vector );
   begin
     assert d'length = q'length
        report "D and Q not equal length in d_latch"
        severity failure;
end entity d_latch;
<div align="center"><br /><script type="text/javascript"><!--
google_ad_client = "pub-7293844627074885";
//468x60, Created at 07. 11. 25
google_ad_slot = "8619794253";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script><br />&nbsp;</div>