entity fg_20_13 is end entity fg_20_13; architecture test of fg_20_13 is attribute trace : string; subtype byte is bit_vector(7 downto 0); type byte_vector is array (natural range <>) of byte; type ram_bus is record d : byte; cmd, status, clk : bit; end record ram_bus; -- code from book procedure mem_read ( address : in natural; result : out byte_vector; signal memory_bus : inout ram_bus ) is attribute trace of address : constant is "integer/hex"; attribute trace of result : variable is "byte/multiple/hex"; attribute trace of memory_bus : signal is "custom/command=rambus.cmd"; -- . . . begin -- . . . -- not in book report address'trace; report result'trace; report memory_bus'trace; -- end not in book end procedure mem_read; -- end code from book signal memory_bus : ram_bus; begin process is variable address : natural; variable result : byte_vector(0 to 3); begin mem_read ( address, result, memory_bus ); wait; end process; 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 /> </div>