From e133d0cc3e28de1fde04d346f43c01041429ad35 Mon Sep 17 00:00:00 2001 From: Tobias Weber Date: Mon, 23 Feb 2015 11:09:14 +0100 Subject: [PATCH] some typo errors. Design generates bitstream but has timing errors. --- mupix/sources/TimeWalkWithFiFo.vhd | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mupix/sources/TimeWalkWithFiFo.vhd b/mupix/sources/TimeWalkWithFiFo.vhd index c24caeb..93c210f 100644 --- a/mupix/sources/TimeWalkWithFiFo.vhd +++ b/mupix/sources/TimeWalkWithFiFo.vhd @@ -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 => -- 2.43.0