//////////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2014 PANGO MICROSYSTEMS, INC
// ALL RIGHTS REVERVED.
//
// THE SOURCE CODE CONTAINED HEREIN IS PROPRIETARY TO PANGO MICROSYSTEMS, INC.
// IT SHALL NOT BE REPRODUCED OR DISCLOSED IN WHOLE OR IN PART OR USED BY
// PARTIES WITHOUT WRITTEN AUTHORIZATION FROM THE OWNER.
//
//////////////////////////////////////////////////////////////////////////////
// trigger_condition module, set the trigger condition
// Called by     :  debug_core
// Modification history
//change rst intitial value from parameter,2020/06/01
//----------------------------------------------------------------------

module ips_dbc_trigger_condition_v1_3
#(
  parameter NEW_JTAG_IF     = 1,
  parameter  TRIG_PIPELINE             = 0,	    //0~1, EXPERIMENTAL
  parameter  MU_PIPELINE               = 0,	    //0~4, EXPERIMENTAL
  parameter  TRIG0_TO_15_MU            = 1,	    //1~16
  parameter  MAX_SEQ_LEVEL             = 1,	    //1~16
  parameter  TRIG_COND_CHAIN_BIT       = 2,	    //{trig_m0_en,trig_m0_neg...trig_m15_en,trig_m15_neg,trig_neg_whole}
  parameter  INIT_TRIG_COND = 0 
 )
 (
  input                         h_rstn ,
  input [1:0]                   clk_conf_trig ,
  input [1:0]                   rst_conf_trig ,
  input                         conf_sel, 
  input                         conf_tdi, 
  input                         shift_i,
  input [TRIG0_TO_15_MU-1:0]    match,
  output [TRIG0_TO_15_MU-1:0]   trig_mu_neg,         
  output                        trigger,
  input                         conf_rden,
  input [4:0]                   conf_id,
  input                         conf_sel_rd,
  output                        conf_rdlast,
  output                        conf_rdata  
 );

`pragma protect begin_protected
`pragma protect version=1
`pragma protect author="default"
`pragma protect author_info="default"
`pragma protect encrypt_agent="Synplify encryptP1735.pl"
`pragma protect encrypt_agent_info="Synplify encryptP1735.pl Version 1.1"

`pragma protect encoding=(enctype="base64", line_length=76, bytes=256)
`pragma protect key_keyowner="Synplicity", key_keyname="SYNP15_1", key_method="rsa"
`pragma protect key_block
1PLeuF1aSUU6y7UCscVfz3n19vpSNZGFFekWPRqXkBflpyHlPPqwPxT8A/hg9sS/peaNdoagG7Dm
RKkugHmuAv7q2g1psVibs1xmjGJ33Czgh9AgcOD5gHAC5kXdbITmxSfBWcN5RhWUMIjoAk9D2Biz
eGwHDXdbtVESAMgQ5pmpdJgvMt4cXJT/uTowyg19VFrj0bEDY74dtpv+1Zi8+EGlaA3Sm2EM/5hT
75EUMsG3l7odqGujh4iJgSY+jT0XHv+RIU9cMTPjqiSl2kSAXM6NnEJHxROd052EGsGhvCF30lzD
C+Q7m4Zwzgyf5UJnYkSnjpsxG0QpuG+yQpExFg==

`pragma protect encoding=(enctype="base64", line_length=76, bytes=256)
`pragma protect key_keyowner="Pango Microsystems", key_keyname="PANGO_18", key_method="rsa"
`pragma protect key_block
JeTkBi1VnYbkCrBRKpVr0Xude90AcrgPX5nHUsu8k5qX9sUvyO4WJY4T6A08fueCEvZFZ8G14+p5
PkndR6+CQEzZXM3uk070gWdd+2cIS0AsjKXXRrbYmV9S0eIzfbmxJHfoAehIAN/3BspRKnrqDLa8
BueYo3H0rdfBO0qzIfhRjCTfoe/In2FZ68/Tx59zLes8PW1bFUdM0+iDkzUAEOazymPZcU1HwjVS
h9bXsTHRuGvSDEo6hTBrkKVUb3Thf4rQTPrusHM4o1s+Ye6WT2oU++FMD6a9GdrBCAh2xrBniMwt
35TsDbx9r59oejFyalMFRnCn56nnOBmajoBnFA==

`pragma protect data_method="aes128-cbc"
`pragma protect encoding=(enctype="base64", line_length=76, bytes=11360)
`pragma protect data_block
[encoded data, 15124 characters]
Od4mbWd9+ZFX2GRJURuxZWQ=

`pragma protect end_protected
endmodule