entity ap_a_05 is

end entity ap_a_05;


library ieee;  use ieee.std_logic_1164.all;

architecture test of ap_a_05 is

  signal a, b, y, x : std_ulogic;

begin

  -- code from book

  y <= a when x = '1' else
       b;

  -- end code from book

  x <= '0', '1' after 20 ns;
  a <= '0', '1' after 10 ns, '0' after 20 ns, '1' after 30 ns;
  b <= '0', '1' after 15 ns, '0' after 25 ns, '1' after 35 ns;

end architecture test;


<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>