;; (define-type dim (record time::int length::int mass::int))

(define-block
  sldemo_enginewc__valvetiming__TDCandBDCdetection


  (
    sldemo_enginewc__valvetiming__TDCandBDCdetection__N__Out1_1_1
    sldemo_enginewc__valvetiming__TDCandBDCdetection__trigger__In1_1_1
  )

  (
    sldemo_enginewc__valvetiming__TDCandBDCdetection__Constant__Out1_1_1
    sldemo_enginewc__valvetiming__TDCandBDCdetection__GetCrankAngleIC0__In1_1_1
    sldemo_enginewc__valvetiming__TDCandBDCdetection__GetCrankAngleIC0__In2_1_1
    sldemo_enginewc__valvetiming__TDCandBDCdetection__GetCrankAngleIC0__Out1_1_1
    sldemo_enginewc__valvetiming__TDCandBDCdetection__GetCrankAngleIC0__Outstate_1_1
    sldemo_enginewc__valvetiming__TDCandBDCdetection__RelationalOperator__In1_1_1
    sldemo_enginewc__valvetiming__TDCandBDCdetection__RelationalOperator__In2_1_1
    sldemo_enginewc__valvetiming__TDCandBDCdetection__RelationalOperator__Out1_1_1
    sldemo_enginewc__valvetiming__TDCandBDCdetection__Terminator__In1_1_1
  )

  (
  )

  (
    (- sldemo_enginewc__valvetiming__TDCandBDCdetection__N__Out1_1_1 (mk-record -1 0 0))
    (- sldemo_enginewc__valvetiming__TDCandBDCdetection__Constant__Out1_1_1 (mk-record 0 0 0))
    (- sldemo_enginewc__valvetiming__TDCandBDCdetection__Terminator__In1_1_1 (mk-record 0 0 0))
    (- sldemo_enginewc__valvetiming__TDCandBDCdetection__trigger__In1_1_1 (mk-record 0 0 0))

    (- sldemo_enginewc__valvetiming__TDCandBDCdetection__GetCrankAngleIC0__Out1_1_1 (increment sldemo_enginewc__valvetiming__TDCandBDCdetection__GetCrankAngleIC0__In1_1_1 0 1))
    (- sldemo_enginewc__valvetiming__TDCandBDCdetection__RelationalOperator__In1_1_1 sldemo_enginewc__valvetiming__TDCandBDCdetection__RelationalOperator__In2_1_1)
    
    (- sldemo_enginewc__valvetiming__TDCandBDCdetection__RelationalOperator__In2_1_1 sldemo_enginewc__valvetiming__TDCandBDCdetection__Constant__Out1_1_1)
    (- sldemo_enginewc__valvetiming__TDCandBDCdetection__GetCrankAngleIC0__In1_1_1 sldemo_enginewc__valvetiming__TDCandBDCdetection__N__Out1_1_1)
    (- sldemo_enginewc__valvetiming__TDCandBDCdetection__RelationalOperator__In1_1_1 sldemo_enginewc__valvetiming__TDCandBDCdetection__GetCrankAngleIC0__Outstate_1_1)
    (- sldemo_enginewc__valvetiming__TDCandBDCdetection__GetCrankAngleIC0__In2_1_1 sldemo_enginewc__valvetiming__TDCandBDCdetection__RelationalOperator__Out1_1_1)
    (- sldemo_enginewc__valvetiming__TDCandBDCdetection__Terminator__In1_1_1 sldemo_enginewc__valvetiming__TDCandBDCdetection__GetCrankAngleIC0__Out1_1_1)
  )
)