<?xml version='1.0'?>
<lsccip:ip xmlns:xi="http://www.w3.org/2001/XInclude" version="1.0" xmlns:lsccip="http://www.latticesemi.com/XMLSchema/Radiant/ip">
    <lsccip:general>
        <lsccip:vendor>latticesemi.com</lsccip:vendor>
        <lsccip:library>ip</lsccip:library>
        <lsccip:name>gp_timer</lsccip:name>
        <lsccip:display_name>Timer-Counter</lsccip:display_name>
        <lsccip:version>1.5.0</lsccip:version>
        <lsccip:category>Processors_Controllers_and_Peripherals</lsccip:category>
        <lsccip:min_radiant_version>2023.2</lsccip:min_radiant_version>
        <lsccip:min_esi_version>2.2</lsccip:min_esi_version>	
        <lsccip:supported_products>
            <lsccip:supported_family name="*"></lsccip:supported_family>
        </lsccip:supported_products>
		<lsccip:supported_platforms>
            <lsccip:supported_platform name="radiant"/>
            <lsccip:supported_platform name="esi"/>
        </lsccip:supported_platforms>
        </lsccip:general>
             <lsccip:settings>
                  <lsccip:setting
                     id                 = "num_of_timers"
                     type               = "input"
                     conn_mod           = "lscc_gp_timer_core"
                     value_type         = "int"
                     title              = "Number of Timers"
                     default            = "4"
                     value_range        = "(1, 8)"
                     group1             = "General"
                     group2             = "Configuration"
                 />
			 
				 <lsccip:setting
                     id                 = "NUM_OF_TIMERS"
                     type               = "param"
                     conn_mod           = "lscc_gp_timer_core"
                     value_type         = "int"
                     title              = "Number of Timers"
                     value_expr         = "num_timer(num_of_timers)"
					 editable           = "False"
                     hidden             = "True"
                     group1             = "General"
                     group2             = "Configuration"
                 />
				 
				 <lsccip:setting
                     id                 = "NUM_OF_TIMERS_BUS"
                     type               = "param"
                     conn_mod           = "lscc_gp_timer_core"
                     value_type         = "int"
                     title              = "Number of Timers"
                     value_expr         = "num_of_timers"
					 editable           = "False"
                     hidden             = "True"
                     group1             = "General"
                     group2             = "Configuration"
                 />
				 
                 <lsccip:setting
                     id                 = "PCNTR_WIDTH"
                     type               = "param"
                     conn_mod           = "lscc_gp_timer_core"
                     value_type         = "int"
                     title              = "Prescaler Size"
					 default            = "32"
					 value_range        = "(1, 32)"
                     group1             = "General"
                     group2             = "Configuration"
                 />
                 <lsccip:setting
                     id                 = "CSR_IF"
                     type               = "param"
                     conn_mod           = "lscc_gp_timer_core"
                     value_type         = "string"
                     title              = "Host Interface"
					 default            = "APB"
					 options            = "['APB', 'AHB-lite']"
                     group1             = "General"
                     group2             = "Configuration"
                 />
<!-- INTERNAL PER TIMER ENABLE SETTINGS -->
                 <lsccip:setting 
				    conn_mod           = "lscc_gp_timer_core"
                    group1             = "Hidden Parameters"
                    id                 = "en_timer1"
                    type               = "input"
                    value_type         = "int"
                    default            = "0"
					value_expr         = "ext_check_timer_range(1)"
                    editable           = "False"
                    hidden             = "True"
                    title              = "Timer 1 Enable/Disable"
                 />
<!--TIMER 1-->
                <lsccip:setting 
				    id                 = "t1_cnt_up"
                    type               = "input"
                    conn_mod           = "lscc_gp_timer_core"
                    value_type         = "string"
                    title              = "Direction"
					default            = "count-down"
                    options            = "[('count-down'), ('count-up')]"
					editable           = "en_timer1"
					group1             = "Timer 1 Settings"
                    group2             = "Configuration"
                 />		
                 <lsccip:setting
                     id                 = "T1_CNT_UP"
                     type               = "param"
                     conn_mod           = "lscc_gp_timer_core"
                     value_type         = "int"
                     value_expr         = "cnt_dir(t1_cnt_up)"
					 title              = "Direction"
					 editable           = "False"
                     hidden             = "True"
					 group1             = "Timer 1 Settings"
                     group2             = "Configuration"
                 />
                 <lsccip:setting
                     id                 = "T1_PERIOD_WIDTH"
                     type               = "param"
                     conn_mod           = "lscc_gp_timer_core"
                     value_type         = "int"
                     title              = "Counter size"
					 default            = "2"
					 value_range        = "(1, 32)"
                     editable           = "en_timer1"
					 group1             = "Timer 1 Settings"
                     group2             = "Configuration"
                 />
				 <lsccip:setting
                     id                 = "t1_period_val"
                     type               = "input"
                     conn_mod           = "lscc_gp_timer_core"
                     value_type         = "string"
					 default            = "3"
					 drc                = "check_hex_format(t1_period_val, T1_PERIOD_WIDTH)"
                     title              = "Timer Preloaded Value (HEX)"
					 editable           = "en_timer1"
					 group1             = "Timer 1 Settings"
                     group2             = "Configuration"
                 />
                 <lsccip:setting
                     id                 = "T1_PERIOD_VAL"
                     type               = "param"
                     conn_mod           = "lscc_gp_timer_core"
                     value_type         = "float"
					 default            = "3"
					 value_expr         = "hex_to_dec_conv(t1_period_val)"
					 drc                = "check_range (hex_to_dec_conv(t1_period_val) , 2**T1_PERIOD_WIDTH)"
                     title              = "Timer Preloaded Value"
					 editable           = "False"
					 hidden             = "True"
					 group1             = "Timer 1 Settings"
                     group2             = "Configuration"
                 />
				 <lsccip:setting
                     id                 = "t1_dis_pscaler"
                     type               = "input"
                     conn_mod           = "lscc_gp_timer_core"
                     value_type         = "bool"
                     title              = "Disable Prescaler"
                     default            = "False"
                     editable           = "en_timer1"
					 group1             = "Timer 1 Settings"
                     group2             = "Configuration"
                 />
				 <lsccip:setting
                     id                 = "T1_DIS_PSCALER"
                     type               = "param"
                     conn_mod           = "lscc_gp_timer_core"
                     value_type         = "int"
                     title              = "Disable Prescaler"
                     default            = "0"
					 value_expr         = "0 if t1_dis_pscaler==False else 1"
					 editable           = "False"
                     hidden             = "True"
					 group1             = "Timer 1 Settings"
                     group2             = "Configuration"
                 />
				 
				 <lsccip:setting 
				    id                 = "t1_pscaler_ratio"
                    type               = "input"
                    conn_mod           = "lscc_gp_timer_core"
                    value_type         = "string"
                    title              = "Prescaler Ratio"
					default            = "1:2"
                    options            = "pscaler_opt(PCNTR_WIDTH)"
					editable           = "(T1_DIS_PSCALER == False) and (en_timer1)"
					group1             = "Timer 1 Settings"
                    group2             = "Configuration"
                 />	
				 
				 <lsccip:setting 
				    id                 = "T1_PSCALER_RATIO"
                    type               = "param"
                    conn_mod           = "lscc_gp_timer_core"
                    value_type         = "int"
                    title              = "Prescaler Ratio"
					value_expr         = "pscaler_val(t1_pscaler_ratio)"
					editable           = "False"
                    hidden             = "True"
					group1             = "Timer 1 Settings"
                    group2             = "Configuration"
                 />	
				 				 
				 <lsccip:setting
                     id                 = "T1_START_STOP_CONTROL"
                     type               = "param"
                     conn_mod           = "lscc_gp_timer_core"
                     value_type         = "bool"
                     title              = "Software-controlled Retrigger"
                     default            = "True"
                     editable           = "en_timer1"
					 group1             = "Timer 1 Settings"
                     group2             = "Configuration"
                 />
				 
                 <lsccip:setting
                     id                 = "T1_WRITABLE_PERIOD"
                     type               = "param"
                     conn_mod           = "lscc_gp_timer_core"
                     value_type         = "bool"
                     title              = "Timer Register Write Accessibility"
					 default            = "True"
                     editable           = "(T1_START_STOP_CONTROL == True) and (en_timer1)"
					 group1             = "Timer 1 Settings"
                     group2             = "Configuration"
                 />
<!-- INTERNAL PER TIMER ENABLE SETTINGS -->
                 <lsccip:setting 
				    conn_mod           = "lscc_gp_timer_core"
                    group1             = "Hidden Parameters"
                    id                 = "en_timer2"
                    type               = "input"
                    value_type         = "int"
                    default            = "0"
					value_expr         = "ext_check_timer_range(2)"
                    editable           = "False"
                    hidden             = "True"
                    title              = "Timer 2 Enable/Disable"
                 />
<!--TIMER 2-->
                <lsccip:setting 
				    id                 = "t2_cnt_up"
                    type               = "input"
                    conn_mod           = "lscc_gp_timer_core"
                    value_type         = "string"
                    title              = "Direction"
					default            = "count-down"
                    options            = "[('count-down'), ('count-up')]"
					editable           = "en_timer2"
					group1             = "Timer 2 Settings"
                    group2             = "Configuration"
                 />		
                 <lsccip:setting
                     id                 = "T2_CNT_UP"
                     type               = "param"
                     conn_mod           = "lscc_gp_timer_core"
                     value_type         = "int"
                     value_expr         = "cnt_dir(t2_cnt_up)"
					 title              = "Direction"
					 editable           = "False"
                     hidden             = "True"
					 group1             = "Timer 2 Settings"
                     group2             = "Configuration"
                 />
                 <lsccip:setting
                     id                 = "T2_PERIOD_WIDTH"
                     type               = "param"
                     conn_mod           = "lscc_gp_timer_core"
                     value_type         = "int"
                     title              = "Counter size"
					 default            = "2"
					 value_range        = "(1, 32)"
                     editable           = "en_timer2"
					 group1             = "Timer 2 Settings"
                     group2             = "Configuration"
                 />				 
                 <lsccip:setting
                     id                 = "t2_period_val"
                     type               = "input"
                     conn_mod           = "lscc_gp_timer_core"
                     value_type         = "string"
					 default            = "3"
					 drc                = "check_hex_format(t2_period_val, T2_PERIOD_WIDTH)"
                     title              = "Timer Preloaded Value (HEX)"
					 editable           = "en_timer2"
					 group1             = "Timer 2 Settings"
                     group2             = "Configuration"
                 />
                 <lsccip:setting
                     id                 = "T2_PERIOD_VAL"
                     type               = "param"
                     conn_mod           = "lscc_gp_timer_core"
                     value_type         = "float"
					 default            = "3"
					 value_expr         = "hex_to_dec_conv(t2_period_val)"
					 drc                = "check_range (hex_to_dec_conv(t2_period_val) , 2**T2_PERIOD_WIDTH)"
                     title              = "Timer Preloaded Value"
					 editable           = "False"
					 hidden             = "True"
					 group1             = "Timer 2 Settings"
                     group2             = "Configuration"
                 />
				 
				 <lsccip:setting
                     id                 = "t2_dis_pscaler"
                     type               = "input"
                     conn_mod           = "lscc_gp_timer_core"
                     value_type         = "bool"
                     title              = "Disable Prescaler"
                     default            = "False"
                     editable           = "en_timer2"
					 group1             = "Timer 2 Settings"
                     group2             = "Configuration"
                 />
				 <lsccip:setting
                     id                 = "T2_DIS_PSCALER"
                     type               = "param"
                     conn_mod           = "lscc_gp_timer_core"
                     value_type         = "int"
                     title              = "Disable Prescaler"
                     default            = "0"
					 value_expr         = "0 if t2_dis_pscaler==False else 1"
					 editable           = "False"
                     hidden             = "True"
					 group1             = "Timer 2 Settings"
                     group2             = "Configuration"
                 />
				 
				 <lsccip:setting 
				    id                 = "t2_pscaler_ratio"
                    type               = "input"
                    conn_mod           = "lscc_gp_timer_core"
                    value_type         = "string"
                    title              = "Prescaler Ratio"
					default            = "1:2"
                    options            = "pscaler_opt(PCNTR_WIDTH)"
					editable           = "(T2_DIS_PSCALER == False) and (en_timer2)"
					group1             = "Timer 2 Settings"
                    group2             = "Configuration"
                 />	
				 
				 <lsccip:setting 
				    id                 = "T2_PSCALER_RATIO"
                    type               = "param"
                    conn_mod           = "lscc_gp_timer_core"
                    value_type         = "int"
                    title              = "Prescaler Ratio"
					value_expr         = "pscaler_val(t2_pscaler_ratio)"
					editable           = "False"
                    hidden             = "True"
					group1             = "Timer 2 Settings"
                    group2             = "Configuration"
                 />	
				 
				 <lsccip:setting
                     id                 = "T2_START_STOP_CONTROL"
                     type               = "param"
                     conn_mod           = "lscc_gp_timer_core"
                     value_type         = "bool"
                     title              = "Software-controlled Retrigger"
                     default            = "True"
                     editable           = "en_timer2"
					 group1             = "Timer 2 Settings"
                     group2             = "Configuration"
                 />
				 
                 <lsccip:setting
                     id                 = "T2_WRITABLE_PERIOD"
                     type               = "param"
                     conn_mod           = "lscc_gp_timer_core"
                     value_type         = "bool"
                     title              = "Timer Register Write Accessibility"
					 default            = "True"
                     editable           = "(T1_START_STOP_CONTROL == True) and (en_timer2)"
					 group1             = "Timer 2 Settings"
                     group2             = "Configuration"
                 />				 
<!-- INTERNAL PER TIMER ENABLE SETTINGS -->
                 <lsccip:setting 
				    conn_mod           = "lscc_gp_timer_core"
                    group1             = "Hidden Parameters"
                    id                 = "en_timer3"
                    type               = "input"
                    value_type         = "int"
                    default            = "0"
					value_expr         = "ext_check_timer_range(3)"
                    editable           = "False"
                    hidden             = "True"
                    title              = "Timer 3 Enable/Disable"
                 />
<!--TIMER 3-->
                <lsccip:setting 
				    id                 = "t3_cnt_up"
                    type               = "input"
                    conn_mod           = "lscc_gp_timer_core"
                    value_type         = "string"
                    title              = "Direction"
					default            = "count-down"
                    options            = "[('count-down'), ('count-up')]"
					editable           = "en_timer3"
					group1             = "Timer 3 Settings"
                    group2             = "Configuration"
                 />		
                 <lsccip:setting
                     id                 = "T3_CNT_UP"
                     type               = "param"
                     conn_mod           = "lscc_gp_timer_core"
                     value_type         = "int"
                     value_expr         = "cnt_dir(t3_cnt_up)"
					 title              = "Direction"
					 editable           = "False"
                     hidden             = "True"
					 group1             = "Timer 3 Settings"
                     group2             = "Configuration"
                 />
                 <lsccip:setting
                     id                 = "T3_PERIOD_WIDTH"
                     type               = "param"
                     conn_mod           = "lscc_gp_timer_core"
                     value_type         = "int"
                     title              = "Counter size"
					 default            = "2"
					 value_range        = "(1, 32)"
                     editable           = "en_timer3"
					 group1             = "Timer 3 Settings"
                     group2             = "Configuration"
                 />				 
                 <lsccip:setting
                     id                 = "t3_period_val"
                     type               = "input"
                     conn_mod           = "lscc_gp_timer_core"
                     value_type         = "string"
					 default            = "3"
					 drc                = "check_hex_format(t3_period_val, T3_PERIOD_WIDTH)"
                     title              = "Timer Preloaded Value (HEX)"
					 editable           = "en_timer3"
					 group1             = "Timer 3 Settings"
                     group2             = "Configuration"
                 />
                 <lsccip:setting
                     id                 = "T3_PERIOD_VAL"
                     type               = "param"
                     conn_mod           = "lscc_gp_timer_core"
                     value_type         = "float"
					 default            = "3"
					 value_expr         = "hex_to_dec_conv(t3_period_val)"
					 drc                = "check_range (hex_to_dec_conv(t3_period_val) , 2**T3_PERIOD_WIDTH)"
                     title              = "Timer Preloaded Value"
					 editable           = "False"
					 hidden             = "True"
					 group1             = "Timer 3 Settings"
                     group2             = "Configuration"
                 />
				 
				 <lsccip:setting
                     id                 = "t3_dis_pscaler"
                     type               = "input"
                     conn_mod           = "lscc_gp_timer_core"
                     value_type         = "bool"
                     title              = "Disable Prescaler"
                     default            = "False"
                     editable           = "en_timer3"
					 group1             = "Timer 3 Settings"
                     group2             = "Configuration"
                 />
				 <lsccip:setting
                     id                 = "T3_DIS_PSCALER"
                     type               = "param"
                     conn_mod           = "lscc_gp_timer_core"
                     value_type         = "int"
                     title              = "Disable Prescaler"
                     default            = "0"
					 value_expr         = "0 if t3_dis_pscaler==False else 1"
					 editable           = "False"
                     hidden             = "True"
					 group1             = "Timer 3 Settings"
                     group2             = "Configuration"
                 />
				 
				 <lsccip:setting 
				    id                 = "t3_pscaler_ratio"
                    type               = "input"
                    conn_mod           = "lscc_gp_timer_core"
                    value_type         = "string"
                    title              = "Prescaler Ratio"
					default            = "1:2"
                    options            = "pscaler_opt(PCNTR_WIDTH)"
					editable           = "(T3_DIS_PSCALER == False) and (en_timer3)"
					group1             = "Timer 3 Settings"
                    group2             = "Configuration"
                 />	
				 
				 <lsccip:setting 
				    id                 = "T3_PSCALER_RATIO"
                    type               = "param"
                    conn_mod           = "lscc_gp_timer_core"
                    value_type         = "int"
                    title              = "Prescaler Ratio"
					value_expr         = "pscaler_val(t3_pscaler_ratio)"
					editable           = "False"
                    hidden             = "True"
					group1             = "Timer 3 Settings"
                    group2             = "Configuration"
                 />	
				 
				 <lsccip:setting
                     id                 = "T3_START_STOP_CONTROL"
                     type               = "param"
                     conn_mod           = "lscc_gp_timer_core"
                     value_type         = "bool"
                     title              = "Software-controlled Retrigger"
                     default            = "True"
                     editable           = "en_timer3"
					 group1             = "Timer 3 Settings"
                     group2             = "Configuration"
                 />
				 
                 <lsccip:setting
                     id                 = "T3_WRITABLE_PERIOD"
                     type               = "param"
                     conn_mod           = "lscc_gp_timer_core"
                     value_type         = "bool"
                     title              = "Timer Register Write Accessibility"
					 default            = "True"
                     editable           = "(T3_START_STOP_CONTROL == True) and (en_timer3)"
					 group1             = "Timer 3 Settings"
                     group2             = "Configuration"
                 />							 
<!-- INTERNAL PER TIMER ENABLE SETTINGS -->
                 <lsccip:setting 
				    conn_mod           = "lscc_gp_timer_core"
                    group1             = "Hidden Parameters"
                    id                 = "en_timer4"
                    type               = "input"
                    value_type         = "int"
                    default            = "0"
					value_expr         = "ext_check_timer_range(4)"
                    editable           = "False"
                    hidden             = "True"
                    title              = "Timer 4 Enable/Disable"
                 />
<!--TIMER 4-->
                <lsccip:setting 
				    id                 = "t4_cnt_up"
                    type               = "input"
                    conn_mod           = "lscc_gp_timer_core"
                    value_type         = "string"
                    title              = "Direction"
					default            = "count-down"
                    options            = "[('count-down'), ('count-up')]"
					editable           = "en_timer4"
					group1             = "Timer 4 Settings"
                    group2             = "Configuration"
                 />		
                 <lsccip:setting
                     id                 = "T4_CNT_UP"
                     type               = "param"
                     conn_mod           = "lscc_gp_timer_core"
                     value_type         = "int"
                     value_expr         = "cnt_dir(t4_cnt_up)"
					 title              = "Direction"
					 editable           = "False"
                     hidden             = "True"
					 group1             = "Timer 4 Settings"
                     group2             = "Configuration"
                 />
                 <lsccip:setting
                     id                 = "T4_PERIOD_WIDTH"
                     type               = "param"
                     conn_mod           = "lscc_gp_timer_core"
                     value_type         = "int"
                     title              = "Counter size"
					 default            = "2"
					 value_range        = "(1, 32)"
                     editable           = "en_timer4"
					 group1             = "Timer 4 Settings"
                     group2             = "Configuration"
                 />				 
                 <lsccip:setting
                     id                 = "t4_period_val"
                     type               = "input"
                     conn_mod           = "lscc_gp_timer_core"
                     value_type         = "string"
					 default            = "3"
					 drc                = "check_hex_format(t4_period_val, T4_PERIOD_WIDTH)"
                     title              = "Timer Preloaded Value (HEX)"
					 editable           = "en_timer4"
					 group1             = "Timer 4 Settings"
                     group2             = "Configuration"
                 />
                 <lsccip:setting
                     id                 = "T4_PERIOD_VAL"
                     type               = "param"
                     conn_mod           = "lscc_gp_timer_core"
                     value_type         = "float"
					 default            = "3"
					 value_expr         = "hex_to_dec_conv(t4_period_val)"
					 drc                = "check_range (hex_to_dec_conv(t4_period_val) , 2**T4_PERIOD_WIDTH)"
                     title              = "Timer Preloaded Value"
					 editable           = "False"
					 hidden             = "True"
					 group1             = "Timer 4 Settings"
                     group2             = "Configuration"
                 />
				 
				 <lsccip:setting
                     id                 = "t4_dis_pscaler"
                     type               = "input"
                     conn_mod           = "lscc_gp_timer_core"
                     value_type         = "bool"
                     title              = "Disable Prescaler"
                     default            = "False"
                     editable           = "en_timer4"
					 group1             = "Timer 4 Settings"
                     group2             = "Configuration"
                 />
				 <lsccip:setting
                     id                 = "T4_DIS_PSCALER"
                     type               = "param"
                     conn_mod           = "lscc_gp_timer_core"
                     value_type         = "int"
                     title              = "Disable Prescaler"
                     default            = "0"
					 value_expr         = "0 if t4_dis_pscaler==False else 1"
					 editable           = "False"
                     hidden             = "True"
					 group1             = "Timer 4 Settings"
                     group2             = "Configuration"
                 />
				 
				 <lsccip:setting 
				    id                 = "t4_pscaler_ratio"
                    type               = "input"
                    conn_mod           = "lscc_gp_timer_core"
                    value_type         = "string"
                    title              = "Prescaler Ratio"
					default            = "1:2"
                    options            = "pscaler_opt(PCNTR_WIDTH)"
					editable           = "(T4_DIS_PSCALER == False) and (en_timer4)"
					group1             = "Timer 4 Settings"
                    group2             = "Configuration"
                 />	
				 
				 <lsccip:setting 
				    id                 = "T4_PSCALER_RATIO"
                    type               = "param"
                    conn_mod           = "lscc_gp_timer_core"
                    value_type         = "int"
                    title              = "Prescaler Ratio"
					value_expr         = "pscaler_val(t4_pscaler_ratio)"
					editable           = "False"
                    hidden             = "True"
					group1             = "Timer 4 Settings"
                    group2             = "Configuration"
                 />	
				 
				 <lsccip:setting
                     id                 = "T4_START_STOP_CONTROL"
                     type               = "param"
                     conn_mod           = "lscc_gp_timer_core"
                     value_type         = "bool"
                     title              = "Software-controlled Retrigger"
                     default            = "True"
                     editable           = "en_timer4"
					 group1             = "Timer 4 Settings"
                     group2             = "Configuration"
                 />
				 
                 <lsccip:setting
                     id                 = "T4_WRITABLE_PERIOD"
                     type               = "param"
                     conn_mod           = "lscc_gp_timer_core"
                     value_type         = "bool"
                     title              = "Timer Register Write Accessibility"
					 default            = "True"
                     editable           = "(T4_START_STOP_CONTROL == True) and (en_timer4)"
					 group1             = "Timer 4 Settings"
                     group2             = "Configuration"
                 />								 
<!-- INTERNAL PER TIMER ENABLE SETTINGS -->
                 <lsccip:setting 
				    conn_mod           = "lscc_gp_timer_core"
                    group1             = "Hidden Parameters"
                    id                 = "en_timer5"
                    type               = "input"
                    value_type         = "int"
                    default            = "0"
					value_expr         = "ext_check_timer_range(5)"
                    editable           = "False"
                    hidden             = "True"
                    title              = "Timer 5 Enable/Disable"
                 />
<!--TIMER 5-->
                <lsccip:setting 
				    id                 = "t5_cnt_up"
                    type               = "input"
                    conn_mod           = "lscc_gp_timer_core"
                    value_type         = "string"
                    title              = "Direction"
					default            = "count-down"
                    options            = "[('count-down'), ('count-up')]"
					editable           = "en_timer5"
					group1             = "Timer 5 Settings"
                    group2             = "Configuration"
                 />		
                 <lsccip:setting
                     id                 = "T5_CNT_UP"
                     type               = "param"
                     conn_mod           = "lscc_gp_timer_core"
                     value_type         = "int"
                     value_expr         = "cnt_dir(t5_cnt_up)"
					 title              = "Direction"
					 editable           = "False"
                     hidden             = "True"
					 group1             = "Timer 5 Settings"
                     group2             = "Configuration"
                 />
                 <lsccip:setting
                     id                 = "T5_PERIOD_WIDTH"
                     type               = "param"
                     conn_mod           = "lscc_gp_timer_core"
                     value_type         = "int"
                     title              = "Counter size"
					 default            = "2"
					 value_range        = "(1, 32)"
                     editable           = "en_timer5"
					 group1             = "Timer 5 Settings"
                     group2             = "Configuration"
                 />				 
                 <lsccip:setting
                     id                 = "t5_period_val"
                     type               = "input"
                     conn_mod           = "lscc_gp_timer_core"
                     value_type         = "string"
					 default            = "3"
					 drc                = "check_hex_format(t5_period_val, T5_PERIOD_WIDTH)"
                     title              = "Timer Preloaded Value (HEX)"
					 editable           = "en_timer5"
					 group1             = "Timer 5 Settings"
                     group2             = "Configuration"
                 />
                 <lsccip:setting
                     id                 = "T5_PERIOD_VAL"
                     type               = "param"
                     conn_mod           = "lscc_gp_timer_core"
                     value_type         = "float"
					 default            = "3"
					 value_expr         = "hex_to_dec_conv(t5_period_val)"
					 drc                = "check_range (hex_to_dec_conv(t5_period_val) , 2**T5_PERIOD_WIDTH)"
                     title              = "Timer Preloaded Value"
					 editable           = "False"
					 hidden             = "True"
					 group1             = "Timer 5 Settings"
                     group2             = "Configuration"
                 />
				 
				 <lsccip:setting
                     id                 = "t5_dis_pscaler"
                     type               = "input"
                     conn_mod           = "lscc_gp_timer_core"
                     value_type         = "bool"
                     title              = "Disable Prescaler"
                     default            = "False"
                     editable           = "en_timer5"
					 group1             = "Timer 5 Settings"
                     group2             = "Configuration"
                 />
				 <lsccip:setting
                     id                 = "T5_DIS_PSCALER"
                     type               = "param"
                     conn_mod           = "lscc_gp_timer_core"
                     value_type         = "int"
                     title              = "Disable Prescaler"
                     default            = "0"
					 value_expr         = "0 if t5_dis_pscaler==False else 1"
					 editable           = "False"
                     hidden             = "True"
					 group1             = "Timer 5 Settings"
                     group2             = "Configuration"
                 />
				 
				 <lsccip:setting 
				    id                 = "t5_pscaler_ratio"
                    type               = "input"
                    conn_mod           = "lscc_gp_timer_core"
                    value_type         = "string"
                    title              = "Prescaler Ratio"
					default            = "1:2"
                    options            = "pscaler_opt(PCNTR_WIDTH)"
					editable           = "(T5_DIS_PSCALER == False) and (en_timer5)"
					group1             = "Timer 5 Settings"
                    group2             = "Configuration"
                 />	
				 
				 <lsccip:setting 
				    id                 = "T5_PSCALER_RATIO"
                    type               = "param"
                    conn_mod           = "lscc_gp_timer_core"
                    value_type         = "int"
                    title              = "Prescaler Ratio"
					value_expr         = "pscaler_val(t5_pscaler_ratio)"
					editable           = "False"
                    hidden             = "True"
					group1             = "Timer 5 Settings"
                    group2             = "Configuration"
                 />	
				 
				 <lsccip:setting
                     id                 = "T5_START_STOP_CONTROL"
                     type               = "param"
                     conn_mod           = "lscc_gp_timer_core"
                     value_type         = "bool"
                     title              = "Software-controlled Retrigger"
                     default            = "True"
                     editable           = "en_timer5"
					 group1             = "Timer 5 Settings"
                     group2             = "Configuration"
                 />
				 
                 <lsccip:setting
                     id                 = "T5_WRITABLE_PERIOD"
                     type               = "param"
                     conn_mod           = "lscc_gp_timer_core"
                     value_type         = "bool"
                     title              = "Timer Register Write Accessibility"
					 default            = "True"
                     editable           = "(T5_START_STOP_CONTROL == True) and (en_timer5)"
					 group1             = "Timer 5 Settings"
                     group2             = "Configuration"
                 />	
<!-- INTERNAL PER TIMER ENABLE SETTINGS -->
                 <lsccip:setting 
				    conn_mod           = "lscc_gp_timer_core"
                    group1             = "Hidden Parameters"
                    id                 = "en_timer6"
                    type               = "input"
                    value_type         = "int"
                    default            = "0"
					value_expr         = "ext_check_timer_range(6)"
                    editable           = "False"
                    hidden             = "True"
                    title              = "Timer 6 Enable/Disable"
                 />
<!--TIMER 6-->
                <lsccip:setting 
				    id                 = "t6_cnt_up"
                    type               = "input"
                    conn_mod           = "lscc_gp_timer_core"
                    value_type         = "string"
                    title              = "Direction"
					default            = "count-down"
                    options            = "[('count-down'), ('count-up')]"
					editable           = "en_timer6"
					group1             = "Timer 6 Settings"
                    group2             = "Configuration"
                 />		
                 <lsccip:setting
                     id                 = "T6_CNT_UP"
                     type               = "param"
                     conn_mod           = "lscc_gp_timer_core"
                     value_type         = "int"
                     value_expr         = "cnt_dir(t6_cnt_up)"
					 title              = "Direction"
					 editable           = "False"
                     hidden             = "True"
					 group1             = "Timer 6 Settings"
                     group2             = "Configuration"
                 />
                 <lsccip:setting
                     id                 = "T6_PERIOD_WIDTH"
                     type               = "param"
                     conn_mod           = "lscc_gp_timer_core"
                     value_type         = "int"
                     title              = "Counter size"
					 default            = "2"
					 value_range        = "(1, 32)"
                     editable           = "en_timer6"
					 group1             = "Timer 6 Settings"
                     group2             = "Configuration"
                 />				 
                 <lsccip:setting
                     id                 = "t6_period_val"
                     type               = "input"
                     conn_mod           = "lscc_gp_timer_core"
                     value_type         = "string"
					 default            = "3"
					 drc                = "check_hex_format(t6_period_val, T6_PERIOD_WIDTH)"
                     title              = "Timer Preloaded Value (HEX)"
					 editable           = "en_timer6"
					 group1             = "Timer 6 Settings"
                     group2             = "Configuration"
                 />
                 <lsccip:setting
                     id                 = "T6_PERIOD_VAL"
                     type               = "param"
                     conn_mod           = "lscc_gp_timer_core"
                     value_type         = "float"
					 default            = "3"
					 value_expr         = "hex_to_dec_conv(t6_period_val)"
					 drc                = "check_range (hex_to_dec_conv(t6_period_val) , 2**T6_PERIOD_WIDTH)"
                     title              = "Timer Preloaded Value"
					 editable           = "False"
					 hidden             = "True"
					 group1             = "Timer 6 Settings"
                     group2             = "Configuration"
                 />
				 
				 <lsccip:setting
                     id                 = "t6_dis_pscaler"
                     type               = "input"
                     conn_mod           = "lscc_gp_timer_core"
                     value_type         = "bool"
                     title              = "Disable Prescaler"
                     default            = "False"
                     editable           = "en_timer6"
					 group1             = "Timer 6 Settings"
                     group2             = "Configuration"
                 />
				 <lsccip:setting
                     id                 = "T6_DIS_PSCALER"
                     type               = "param"
                     conn_mod           = "lscc_gp_timer_core"
                     value_type         = "int"
                     title              = "Disable Prescaler"
                     default            = "0"
					 value_expr         = "0 if t6_dis_pscaler==False else 1"
					 editable           = "False"
                     hidden             = "True"
					 group1             = "Timer 6 Settings"
                     group2             = "Configuration"
                 />
				 
				 <lsccip:setting 
				    id                 = "t6_pscaler_ratio"
                    type               = "input"
                    conn_mod           = "lscc_gp_timer_core"
                    value_type         = "string"
                    title              = "Prescaler Ratio"
					default            = "1:2"
                    options            = "pscaler_opt(PCNTR_WIDTH)"
					editable           = "(T6_DIS_PSCALER == False) and (en_timer6)"
					group1             = "Timer 6 Settings"
                    group2             = "Configuration"
                 />	
				 
				 <lsccip:setting 
				    id                 = "T6_PSCALER_RATIO"
                    type               = "param"
                    conn_mod           = "lscc_gp_timer_core"
                    value_type         = "int"
                    title              = "Prescaler Ratio"
					value_expr         = "pscaler_val(t6_pscaler_ratio)"
					editable           = "False"
                    hidden             = "True"
					group1             = "Timer 6 Settings"
                    group2             = "Configuration"
                 />	
				 
				 <lsccip:setting
                     id                 = "T6_START_STOP_CONTROL"
                     type               = "param"
                     conn_mod           = "lscc_gp_timer_core"
                     value_type         = "bool"
                     title              = "Software-controlled Retrigger"
                     default            = "True"
                     editable           = "en_timer6"
					 group1             = "Timer 6 Settings"
                     group2             = "Configuration"
                 />
				 
                 <lsccip:setting
                     id                 = "T6_WRITABLE_PERIOD"
                     type               = "param"
                     conn_mod           = "lscc_gp_timer_core"
                     value_type         = "bool"
                     title              = "Timer Register Write Accessibility"
					 default            = "True"
                     editable           = "(T6_START_STOP_CONTROL == True) and (en_timer6)"
					 group1             = "Timer 6 Settings"
                     group2             = "Configuration"
                 />			
<!-- INTERNAL PER TIMER ENABLE SETTINGS -->
                 <lsccip:setting 
				    conn_mod           = "lscc_gp_timer_core"
                    group1             = "Hidden Parameters"
                    id                 = "en_timer7"
                    type               = "input"
                    value_type         = "int"
                    default            = "0"
					value_expr         = "ext_check_timer_range(7)"
                    editable           = "False"
                    hidden             = "True"
                    title              = "Timer 7 Enable/Disable"
                 />
<!--TIMER 7-->
                <lsccip:setting 
				    id                 = "t7_cnt_up"
                    type               = "input"
                    conn_mod           = "lscc_gp_timer_core"
                    value_type         = "string"
                    title              = "Direction"
					default            = "count-down"
                    options            = "[('count-down'), ('count-up')]"
					editable           = "en_timer7"
					group1             = "Timer 7 Settings"
                    group2             = "Configuration"
                 />		
                 <lsccip:setting
                     id                 = "T7_CNT_UP"
                     type               = "param"
                     conn_mod           = "lscc_gp_timer_core"
                     value_type         = "int"
                     value_expr         = "cnt_dir(t7_cnt_up)"
					 title              = "Direction"
					 editable           = "False"
                     hidden             = "True"
					 group1             = "Timer 7 Settings"
                     group2             = "Configuration"
                 />
                 <lsccip:setting
                     id                 = "T7_PERIOD_WIDTH"
                     type               = "param"
                     conn_mod           = "lscc_gp_timer_core"
                     value_type         = "int"
                     title              = "Counter size"
					 default            = "2"
					 value_range        = "(1, 32)"
                     editable           = "en_timer7"
					 group1             = "Timer 7 Settings"
                     group2             = "Configuration"
                 />				 
                 <lsccip:setting
                     id                 = "t7_period_val"
                     type               = "input"
                     conn_mod           = "lscc_gp_timer_core"
                     value_type         = "string"
					 default            = "3"
					 drc                = "check_hex_format(t7_period_val, T7_PERIOD_WIDTH)"
                     title              = "Timer Preloaded Value (HEX)"
					 editable           = "en_timer7"
					 group1             = "Timer 7 Settings"
                     group2             = "Configuration"
                 />
                 <lsccip:setting
                     id                 = "T7_PERIOD_VAL"
                     type               = "param"
                     conn_mod           = "lscc_gp_timer_core"
                     value_type         = "float"
					 default            = "3"
					 value_expr         = "hex_to_dec_conv(t7_period_val)"
					 drc                = "check_range (hex_to_dec_conv(t7_period_val) , 2**T7_PERIOD_WIDTH)"
                     title              = "Timer Preloaded Value"
					 editable           = "False"
					 hidden             = "True"
					 group1             = "Timer 7 Settings"
                     group2             = "Configuration"
                 />
				 
				 <lsccip:setting
                     id                 = "t7_dis_pscaler"
                     type               = "input"
                     conn_mod           = "lscc_gp_timer_core"
                     value_type         = "bool"
                     title              = "Disable Prescaler"
                     default            = "False"
                     editable           = "en_timer7"
					 group1             = "Timer 7 Settings"
                     group2             = "Configuration"
                 />
				 <lsccip:setting
                     id                 = "T7_DIS_PSCALER"
                     type               = "param"
                     conn_mod           = "lscc_gp_timer_core"
                     value_type         = "int"
                     title              = "Disable Prescaler"
                     default            = "0"
					 value_expr         = "0 if t7_dis_pscaler==False else 1"
					 editable           = "False"
                     hidden             = "True"
					 group1             = "Timer 7 Settings"
                     group2             = "Configuration"
                 />
				 
				 <lsccip:setting 
				    id                 = "t7_pscaler_ratio"
                    type               = "input"
                    conn_mod           = "lscc_gp_timer_core"
                    value_type         = "string"
                    title              = "Prescaler Ratio"
					default            = "1:2"
                    options            = "pscaler_opt(PCNTR_WIDTH)"
					editable           = "(T7_DIS_PSCALER == False) and (en_timer7)"
					group1             = "Timer 7 Settings"
                    group2             = "Configuration"
                 />	
				 
				 <lsccip:setting 
				    id                 = "T7_PSCALER_RATIO"
                    type               = "param"
                    conn_mod           = "lscc_gp_timer_core"
                    value_type         = "int"
                    title              = "Prescaler Ratio"
					value_expr         = "pscaler_val(t7_pscaler_ratio)"
					editable           = "False"
                    hidden             = "True"
					group1             = "Timer 7 Settings"
                    group2             = "Configuration"
                 />	
				 
				 <lsccip:setting
                     id                 = "T7_START_STOP_CONTROL"
                     type               = "param"
                     conn_mod           = "lscc_gp_timer_core"
                     value_type         = "bool"
                     title              = "Software-controlled Retrigger"
                     default            = "True"
                     editable           = "en_timer7"
					 group1             = "Timer 7 Settings"
                     group2             = "Configuration"
                 />
				 
                 <lsccip:setting
                     id                 = "T7_WRITABLE_PERIOD"
                     type               = "param"
                     conn_mod           = "lscc_gp_timer_core"
                     value_type         = "bool"
                     title              = "Timer Register Write Accessibility"
					 default            = "True"
                     editable           = "(T7_START_STOP_CONTROL == True) and (en_timer7)"
					 group1             = "Timer 7 Settings"
                     group2             = "Configuration"
                 />		
<!-- INTERNAL PER TIMER ENABLE SETTINGS -->
                 <lsccip:setting 
				    conn_mod           = "lscc_gp_timer_core"
                    group1             = "Hidden Parameters"
                    id                 = "en_timer8"
                    type               = "input"
                    value_type         = "int"
                    default            = "0"
					value_expr         = "ext_check_timer_range(8)"
                    editable           = "False"
                    hidden             = "True"
                    title              = "Timer 8 Enable/Disable"
                 />
<!--TIMER 8-->
                <lsccip:setting 
				    id                 = "t8_cnt_up"
                    type               = "input"
                    conn_mod           = "lscc_gp_timer_core"
                    value_type         = "string"
                    title              = "Direction"
					default            = "count-down"
                    options            = "[('count-down'), ('count-up')]"
					editable           = "en_timer8"
					group1             = "Timer 8 Settings"
                    group2             = "Configuration"
                 />		
                 <lsccip:setting
                     id                 = "T8_CNT_UP"
                     type               = "param"
                     conn_mod           = "lscc_gp_timer_core"
                     value_type         = "int"
                     value_expr         = "cnt_dir(t8_cnt_up)"
					 title              = "Direction"
					 editable           = "False"
                     hidden             = "True"
					 group1             = "Timer 8 Settings"
                     group2             = "Configuration"
                 />
                 <lsccip:setting
                     id                 = "T8_PERIOD_WIDTH"
                     type               = "param"
                     conn_mod           = "lscc_gp_timer_core"
                     value_type         = "int"
                     title              = "Counter size"
					 default            = "2"
					 value_range        = "(1, 32)"
                     editable           = "en_timer8"
					 group1             = "Timer 8 Settings"
                     group2             = "Configuration"
                 />				 
                 <lsccip:setting
                     id                 = "t8_period_val"
                     type               = "input"
                     conn_mod           = "lscc_gp_timer_core"
                     value_type         = "string"
					 default            = "3"
					 drc                = "check_hex_format(t8_period_val, T8_PERIOD_WIDTH)"
                     title              = "Timer Preloaded Value (HEX)"
					 editable           = "en_timer8"
					 group1             = "Timer 8 Settings"
                     group2             = "Configuration"
                 />
                 <lsccip:setting
                     id                 = "T8_PERIOD_VAL"
                     type               = "param"
                     conn_mod           = "lscc_gp_timer_core"
                     value_type         = "float"
					 default            = "3"
					 value_expr         = "hex_to_dec_conv(t8_period_val)"
					 drc                = "check_range (hex_to_dec_conv(t8_period_val) , 2**T8_PERIOD_WIDTH)"
                     title              = "Timer Preloaded Value"
					 editable           = "False"
					 hidden             = "True"
					 group1             = "Timer 8 Settings"
                     group2             = "Configuration"
                 />
				 
				 <lsccip:setting
                     id                 = "t8_dis_pscaler"
                     type               = "input"
                     conn_mod           = "lscc_gp_timer_core"
                     value_type         = "bool"
                     title              = "Disable Prescaler"
                     default            = "False"
                     editable           = "en_timer8"
					 group1             = "Timer 8 Settings"
                     group2             = "Configuration"
                 />
				 <lsccip:setting
                     id                 = "T8_DIS_PSCALER"
                     type               = "param"
                     conn_mod           = "lscc_gp_timer_core"
                     value_type         = "int"
                     title              = "Disable Prescaler"
                     default            = "0"
					 value_expr         = "0 if t8_dis_pscaler==False else 1"
					 editable           = "False"
                     hidden             = "True"
					 group1             = "Timer 8 Settings"
                     group2             = "Configuration"
                 />
				 
				 <lsccip:setting 
				    id                 = "t8_pscaler_ratio"
                    type               = "input"
                    conn_mod           = "lscc_gp_timer_core"
                    value_type         = "string"
                    title              = "Prescaler Ratio"
					default            = "1:2"
                    options            = "pscaler_opt(PCNTR_WIDTH)"
					editable           = "(T8_DIS_PSCALER == False) and (en_timer8)"
					group1             = "Timer 8 Settings"
                    group2             = "Configuration"
                 />	
				 
				 <lsccip:setting 
				    id                 = "T8_PSCALER_RATIO"
                    type               = "param"
                    conn_mod           = "lscc_gp_timer_core"
                    value_type         = "int"
                    title              = "Prescaler Ratio"
					value_expr         = "pscaler_val(t8_pscaler_ratio)"
					editable           = "False"
                    hidden             = "True"
					group1             = "Timer 8 Settings"
                    group2             = "Configuration"
                 />	
				 
				 <lsccip:setting
                     id                 = "T8_START_STOP_CONTROL"
                     type               = "param"
                     conn_mod           = "lscc_gp_timer_core"
                     value_type         = "bool"
                     title              = "Software-controlled Retrigger"
                     default            = "True"
                     editable           = "en_timer8"
					 group1             = "Timer 8 Settings"
                     group2             = "Configuration"
                 />
				 
                 <lsccip:setting
                     id                 = "T8_WRITABLE_PERIOD"
                     type               = "param"
                     conn_mod           = "lscc_gp_timer_core"
                     value_type         = "bool"
                     title              = "Timer Register Write Accessibility"
					 default            = "True"
                     editable           = "(T8_START_STOP_CONTROL == True) and (en_timer8)"
					 group1             = "Timer 8 Settings"
                     group2             = "Configuration"
                 />								 
             </lsccip:settings>
             <lsccip:ports>
                 <lsccip:port
                     name                 = "rst_n_i"
                     dir                  = "in"
                     conn_mod             = "lscc_gp_timer_core"
                     conn_port            = "rst_n_i"
				     port_type            = "reset"
                 />
                 <lsccip:port
                     name                 = "clk_i"
                     dir                  = "in"
                     conn_mod             = "lscc_gp_timer_core"
                     conn_port            = "clk_i"
				     port_type            = "clock"
                 />
                 <lsccip:port
                     name                 = "apb_psel_i"
                     dir                  = "in"
                     conn_mod             = "lscc_gp_timer_core"
                     conn_port            = "apb_psel_i"
					 stick_low            = "CSR_IF != 'APB'"
					 bus_interface        = "APB_S0"
                 />
                 <lsccip:port
                     name                 = "apb_paddr_i"
                     dir                  = "in"
                     conn_mod             = "lscc_gp_timer_core"
                     conn_port            = "apb_paddr_i"
                     range                = "(31, 0)"
					 stick_low            = "CSR_IF != 'APB'"
					 bus_interface        = "APB_S0"
                 />
                 <lsccip:port
                     name                 = "apb_pwdata_i"
                     dir                  = "in"
                     conn_mod             = "lscc_gp_timer_core"
                     conn_port            = "apb_pwdata_i"
                     range                = "(31, 0)"
					 stick_low            = "CSR_IF != 'APB'"
					 bus_interface        = "APB_S0"
                 />
                 <lsccip:port
                     name                 = "apb_pwrite_i"
                     dir                  = "in"
                     conn_mod             = "lscc_gp_timer_core"
                     conn_port            = "apb_pwrite_i"
					 stick_low            = "CSR_IF != 'APB'"
					 bus_interface        = "APB_S0"
                 />
                 <lsccip:port
                     name                 = "apb_penable_i"
                     dir                  = "in"
                     conn_mod             = "lscc_gp_timer_core"
                     conn_port            = "apb_penable_i"
					 stick_low            = "CSR_IF != 'APB'"
					 bus_interface        = "APB_S0"
                 />
                 <lsccip:port
                     name                 = "apb_pready_o"
                     dir                  = "out"
                     conn_mod             = "lscc_gp_timer_core"
                     conn_port            = "apb_pready_o"
					 dangling             = "CSR_IF != 'APB'"
					 bus_interface        = "APB_S0"
                 />
                 <lsccip:port
                     name                 = "apb_prdata_o"
                     dir                  = "out"
                     conn_mod             = "lscc_gp_timer_core"
                     conn_port            = "apb_prdata_o"
                     range                = "(31, 0)"
					 dangling             = "CSR_IF != 'APB'"
					 bus_interface        = "APB_S0"
                 />
                 <lsccip:port
                     name                 = "apb_pslverr_o"
                     dir                  = "out"
                     conn_mod             = "lscc_gp_timer_core"
                     conn_port            = "apb_pslverr_o"
					 dangling             = "CSR_IF != 'APB'"
					 bus_interface        = "APB_S0"
                 />
                 <lsccip:port
                     name                 = "int_o"
                     dir                  = "out"
                     conn_mod             = "lscc_gp_timer_core"
                     conn_port            = "int_o"
					 bus_interface        = "INTR"
                 />
				 <lsccip:port
                     name                 = "timeout_o"
                     dir                  = "out"
                     conn_mod             = "lscc_gp_timer_core"
                     conn_port            = "timeout_o"
					 range                = "(NUM_OF_TIMERS_BUS-1, 0)"
                 />
                 <lsccip:port 
                     name                 = "ahbl_hburst_i"
					 dir                  = "in"
                     conn_mod             = "lscc_gp_timer_core"
                     conn_port            = "ahbl_hburst_i"
                     range                = "(2, 0)"
                     stick_low            = "CSR_IF != 'AHB-lite'"
                     bus_interface        = "AHBL_S0"
                 />
                 <lsccip:port
				     name                 = "ahbl_hwrite_i"
					 dir                  = "in"
                     conn_mod             = "lscc_gp_timer_core"
                     conn_port            = "ahbl_hwrite_i"        
                     stick_low            = "CSR_IF != 'AHB-lite'"
                     bus_interface        = "AHBL_S0"
                 />
                 <lsccip:port 
                     name                 = "ahbl_hrdata_o"
                     dir                  = "out"
				     conn_mod             = "lscc_gp_timer_core"
                     conn_port            = "ahbl_hrdata_o"
                     range                = "(31, 0)"
                     dangling             = "CSR_IF != 'AHB-lite'"
                     bus_interface        = "AHBL_S0"
                 />
                 <lsccip:port
                     name                 = "ahbl_hreadyout_o"
                     dir                  = "out"				 
				     conn_mod             = "lscc_gp_timer_core"
                     conn_port            = "ahbl_hreadyout_o"
                     dangling             = "CSR_IF != 'AHB-lite'"
                     bus_interface        = "AHBL_S0"
                 />
                 <lsccip:port 
                     name                 = "ahbl_hsel_i"
                     dir                  = "in"
				     conn_mod             = "lscc_gp_timer_core"
                     conn_port            = "ahbl_hsel_i"
                     stick_low            = "CSR_IF != 'AHB-lite'"
                     bus_interface        = "AHBL_S0"
                 />
                 <lsccip:port
                     name                 = "ahbl_hwdata_i"
                     dir                  = "in"				 
				     conn_mod             = "lscc_gp_timer_core"
                     conn_port            = "ahbl_hwdata_i"
                     range                = "(31, 0)"
                     stick_low            = "CSR_IF != 'AHB-lite'"
                     bus_interface        = "AHBL_S0"
                 />	
                 <lsccip:port
                     name                 = "ahbl_haddr_i"
                     dir                  = "in"				 
				     conn_mod             = "lscc_gp_timer_core"
                     conn_port            = "ahbl_haddr_i"
                     range                = "(31, 0)"
                     stick_low            = "CSR_IF != 'AHB-lite'"
                     bus_interface        = "AHBL_S0"
                 />
                 <lsccip:port
                     name                 = "ahbl_hprot_i"
                     dir                  = "in"
				     conn_mod             = "lscc_gp_timer_core"
                     conn_port            = "ahbl_hprot_i"
                     range                = "(3, 0)"
                     stick_low            = "CSR_IF != 'AHB-lite'"
                     bus_interface        = "AHBL_S0"
                 />
                 <lsccip:port
                     name                 = "ahbl_hsize_i"
                     dir                  = "in"
				     conn_mod             = "lscc_gp_timer_core"
                     conn_port            = "ahbl_hsize_i"
                     range                = "(2, 0)"
                     stick_low            = "CSR_IF != 'AHB-lite'"
                     bus_interface        = "AHBL_S0"
                 />
                 <lsccip:port 
                     name                 = "ahbl_hmastlock_i"
                     dir                  = "in"
				     conn_mod             = "lscc_gp_timer_core"
                     conn_port            = "ahbl_hmastlock_i"
                     stick_low            = "CSR_IF != 'AHB-lite'"
                     bus_interface        = "AHBL_S0"
                 />
                 <lsccip:port 
                     name                 = "ahbl_hresp_o"
                     dir                  = "out"
				     conn_mod             = "lscc_gp_timer_core"
                     conn_port            = "ahbl_hresp_o"
                     dangling             = "CSR_IF != 'AHB-lite'"
                     bus_interface        = "AHBL_S0"
                 />	
                 <lsccip:port
                     name                 = "ahbl_hready_i"
                     dir                  = "in"
				     conn_mod             = "lscc_gp_timer_core"
                     conn_port            = "ahbl_hready_i"
                     stick_low            = "CSR_IF != 'AHB-lite'"
                     bus_interface        = "AHBL_S0"
                 />
				 <lsccip:port
                     name                 = "ahbl_htrans_i"
                     dir                  = "in"
				     conn_mod             = "lscc_gp_timer_core"
                     conn_port            = "ahbl_htrans_i"
					 range                = "(1, 0)"
                     stick_low            = "CSR_IF != 'AHB-lite'"
                     bus_interface        = "AHBL_S0"
                 />
             </lsccip:ports>

        <!--Uncomment below if you have the following files in your package-->
        <xi:include href="bus_interface.xml" parse="xml" />
        <xi:include href="memory_map.xml" parse="xml" />

    <lsccip:componentGenerators>
        <lsccip:componentGenerator>
            <lsccip:name>create_constraint_file</lsccip:name>
            <lsccip:generatorExe>eval/create_constraint.py</lsccip:generatorExe>
        </lsccip:componentGenerator>
    </lsccip:componentGenerators>
</lsccip:ip>
