]> jspc29.x-matter.uni-frankfurt.de Git - trb3.git/commitdiff
some typo errors. Design generates bitstream but has timing errors.
authorTobias Weber <webert@kph.uni-mainz.de>
Mon, 23 Feb 2015 10:09:14 +0000 (11:09 +0100)
committerTobias Weber <webert@kph.uni-mainz.de>
Mon, 23 Feb 2015 10:09:14 +0000 (11:09 +0100)
mupix/sources/TimeWalkWithFiFo.vhd

index c24caeb75aa0fe4feeab431197f9eff1523d0190..93c210fc19be7c1030bd6fd8274a685173d423df 100644 (file)
@@ -108,7 +108,7 @@ begin  -- architecture TimeWalk_arch
   begin  -- process edge_counter
     if rising_edge(trb_slv_clock) then
       hitbusRisingEdge <= hitbusRisingEdge(0) & hitbus;
-      szintilatorRisingEdge <= szintilatorRisingEdge & szintillator_trigger;
+      szintilatorRisingEdge <= szintilatorRisingEdge(0) & szintillator_trigger;
       if szintilatorRisingEdge = "01" then
         szintilatorEdgeCounter <= szintilatorEdgeCounter + 1;
       end if;
@@ -215,10 +215,10 @@ begin  -- architecture TimeWalk_arch
           when x"0403" =>
             slv_data_out <= hitbus_timeout;
             slv_ack_out <= '1';
-          when x"0404"
+          when x"0404" =>
             slv_data_out <= szintilatorEdgeCounter;
             slv_ack_out <= '1';
-          when x"0405"
+          when x"0405" =>
             slv_data_out <= hitbusEdgeCounter;
             slv_ack_out <= '1';
           when others =>