signal timecounter : integer range 0 to MAX_COUNTER;\r
signal rst_tc_x : std_logic;\r
constant IDLE_PERIOD : integer := 1000; -- unit [ns]\r
- constant READOUT_PERIOD : integer := 500000; -- unit [ns]\r
+ constant READOUT_PERIOD : integer := 1000000000; -- unit [ns]\r
constant I2C_CYCLE : integer := 5000; -- unit [ns]\r
constant I2C_PERIOD : integer := (((I2C_CYCLE / CLK_PERIOD) - 2)/8);\r
\r
buf_COMMON_STAT_REG_IN(8) <= lvl1_tmg_trg_missing_flag;
buf_COMMON_STAT_REG_IN(13) <= stat_lvl1_handler(7);
buf_COMMON_STAT_REG_IN(15) <= link_error_i;
- if REGIO_USE_1WIRE_INTERFACE = c_YES then
+ if REGIO_USE_1WIRE_INTERFACE /= c_NO then
buf_COMMON_STAT_REG_IN(31 downto 20) <= temperature;
end if;
buf_COMMON_STAT_REG_IN(47 downto 32) <= int_trigger_num;