Commit feae54fb authored by Tomasz Wlostowski's avatar Tomasz Wlostowski

hdl: fd_delay_channel_driver.vhd: fixed RCR.CONT bit detection (now the core can…

hdl: fd_delay_channel_driver.vhd: fixed RCR.CONT bit detection (now the core can produce continuous waveforms)
parent 8f422f8f
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
-- Author : Tomasz Wlostowski -- Author : Tomasz Wlostowski
-- Company : CERN -- Company : CERN
-- Created : 2011-08-24 -- Created : 2011-08-24
-- Last update: 2012-02-26 -- Last update: 2012-02-29
-- Platform : FPGA-generic -- Platform : FPGA-generic
-- Standard : VHDL'93 -- Standard : VHDL'93
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
...@@ -572,12 +572,12 @@ begin ...@@ -572,12 +572,12 @@ begin
delay_pulse0_o <= '0'; delay_pulse0_o <= '0';
delay_pulse1_o <= '0'; delay_pulse1_o <= '0';
if(pulse_count = 0) then if(pulse_count = 0 and rep_cont_int = '0') then
state <= IDLE; state <= IDLE;
delay_idle_o <= '1'; delay_idle_o <= '1';
regs_out.dcr_pg_trig_i <= '1'; regs_out.dcr_pg_trig_i <= '1';
else else
regs_out.dcr_pg_trig_i <= rep_cont_int; regs_out.dcr_pg_trig_i <= '1';
if(no_fine_int = '1') then if(no_fine_int = '1') then
state <= WAIT_START_PULSE; state <= WAIT_START_PULSE;
else else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment