]> jspc29.x-matter.uni-frankfurt.de Git - trbnet.git/commitdiff
*** empty log message ***
authorhadaq <hadaq>
Wed, 19 Oct 2011 14:24:08 +0000 (14:24 +0000)
committerhadaq <hadaq>
Wed, 19 Oct 2011 14:24:08 +0000 (14:24 +0000)
testbenches/command_sender.vhd

index 27b4453b3eec051a327d0487363d938c63b3929d..2db2ae6648cdea9eb97face6fa30216eae8f1ec4 100644 (file)
@@ -16,18 +16,19 @@ end entity;
 architecture x of command_sender is
 
 
-type cmd_arr is array 0 to 14 of std_logic_vector(15 downto 0);
-type num_arr is array 0 to 4 of std_logic_vector(15 downto 0);
+type cmd_arr is array (0 to 14) of std_logic_vector(15 downto 0);
+type num_arr is array (0 to 4) of std_logic_vector(2 downto 0);
+
 constant commands : cmd_arr := (x"0031",x"FFFF",x"FFFF",x"FFFF",x"0008",
-                               (x"0030",x"0000",x"a0c0",x"affe",x"dead",
-                               (x"0033",x"0000",x"0000",x"0000",x"0008");
+                               x"0030",x"0000",x"a0c0",x"affe",x"dead",
+                               x"0033",x"0000",x"0000",x"0000",x"0008");
                                
                                
 constant packetnums : num_arr := ("100","000","001","010","011"); 
 begin
 
 process begin
-  stat_op    <= (others => '0');
+
   dataready  <= '0';
   data       <= (others => '0');
   packet_num <= "100";
@@ -48,4 +49,4 @@ process begin
 end process;
 
 
-end architecture;
\ No newline at end of file
+end architecture;