]> jspc29.x-matter.uni-frankfurt.de Git - trb3.git/commitdiff
Data output fix
authorAndreas Neiser <neiser@kph.uni-mainz.de>
Wed, 18 Feb 2015 10:11:26 +0000 (11:11 +0100)
committerAndreas Neiser <neiser@kph.uni-mainz.de>
Sat, 13 Jun 2015 15:36:57 +0000 (17:36 +0200)
ADC/sim/dqsinput_dummy.vhd

index a3d63afea00621a6e3a41464d527c7ca86db2beb..adc94542dfd21a019cb992b85b81a2ec33c514ff 100644 (file)
@@ -138,17 +138,17 @@ begin
     q(19 downto 16) <= "0011";
     
     wait until rising_edge(sclk_int);
-    q(3  downto  0) <= words(1)(0)(7 downto 4);
-    q(7  downto  4) <= words(1)(1)(7 downto 4);
-    q(11 downto  8) <= words(1)(2)(7 downto 4);
-    q(15 downto 12) <= words(1)(3)(7 downto 4);
+    q(3  downto  0) <= words(2)(0)(7 downto 4);
+    q(7  downto  4) <= words(2)(1)(7 downto 4);
+    q(11 downto  8) <= words(2)(2)(7 downto 4);
+    q(15 downto 12) <= words(2)(3)(7 downto 4);
     q(19 downto 16) <= "1111";
     
     wait until rising_edge(sclk_int);
-    q(3  downto  0) <= words(1)(0)(3 downto 0);
-    q(7  downto  4) <= words(1)(1)(3 downto 0);
-    q(11 downto  8) <= words(1)(2)(3 downto 0);
-    q(15 downto 12) <= words(1)(3)(3 downto 0);
+    q(3  downto  0) <= words(2)(0)(3 downto 0);
+    q(7  downto  4) <= words(2)(1)(3 downto 0);
+    q(11 downto  8) <= words(2)(2)(3 downto 0);
+    q(15 downto 12) <= words(2)(3)(3 downto 0);
     q(19 downto 16) <= "1111";   
     
   end process dataoutput;