From f493ce953341585304485312c0c08fda23e519b3 Mon Sep 17 00:00:00 2001 From: Jan Michel Date: Wed, 31 Oct 2018 15:58:34 +0100 Subject: [PATCH] change timestamp generator in CTS to allow notiming triggers --- cts/source/timestamp_generator.vhd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cts/source/timestamp_generator.vhd b/cts/source/timestamp_generator.vhd index 2ddb43f..91e10f9 100644 --- a/cts/source/timestamp_generator.vhd +++ b/cts/source/timestamp_generator.vhd @@ -79,7 +79,7 @@ clock_tick <= not last_timer_clock_reg and timer_clock_reg when rising_edge(CLK BUSRDO_TX.data <= x"00000000"; case rdostate is when RDO_IDLE => - if TRIGGER_IN = '1' and last_TRIGGER_IN = '0' then + if (TRIGGER_IN = '1' and last_TRIGGER_IN = '0') or BUSRDO_RX.valid_notiming_trg = '1' or BUSRDO_RX.invalid_trg = '1' then rdostate <= RDO_WRITE1; end if; when RDO_WRITE1 => -- 2.43.0