text: // ==============================================================
  // RTL generated by Vivado(TM) HLS - High-Level Synthesis from C, C++ and OpenCL
  // Version: 2019.2
  // Copyright (C) 1986-2019 Xilinx, Inc. All Rights Reserved.
  // 
  // ===========================================================
  
  #ifndef _checkAxis_2_HH_
  #define _checkAxis_2_HH_
  
  #include "systemc.h"
  #include "AESL_pkg.h"
  
  #include "lineIntersectsPlane.h"
  #include "pointOnSegment.h"
  #include "p_hls_fptosi_float_i.h"
  
  namespace ap_rtl {
  
  struct checkAxis_2 : public sc_module {
      // Port declarations 13
      sc_in_clk ap_clk;
      sc_in< sc_logic > ap_rst;
      sc_in< sc_logic > ap_start;
      sc_out< sc_logic > ap_done;
      sc_out< sc_logic > ap_idle;
      sc_out< sc_logic > ap_ready;
      sc_in< sc_lv<32> > edge_p1_x;
      sc_in< sc_lv<32> > edge_p1_y;
      sc_in< sc_lv<32> > edge_p1_z;
      sc_in< sc_lv<32> > edge_p2_x;
      sc_in< sc_lv<32> > edge_p2_y;
      sc_in< sc_lv<32> > edge_p2_z;
      sc_out< sc_lv<64> > ap_return;
  
  
      // Module declarations
      checkAxis_2(sc_module_name name);
      SC_HAS_PROCESS(checkAxis_2);
  
      ~checkAxis_2();
  
      sc_trace_file* mVcdFile;
  
      lineIntersectsPlane* grp_lineIntersectsPlane_fu_122;
      pointOnSegment* grp_pointOnSegment_fu_143;
      p_hls_fptosi_float_i* grp_p_hls_fptosi_float_i_fu_156;
      p_hls_fptosi_float_i* grp_p_hls_fptosi_float_i_fu_161;
      sc_signal< sc_lv<17> > ap_CS_fsm;
      sc_signal< sc_logic > ap_CS_fsm_state1;
      sc_signal< sc_lv<32> > reg_178;
      sc_signal< sc_logic > ap_CS_fsm_state2;
      sc_signal< sc_logic > grp_lineIntersectsPlane_fu_122_ap_ready;
      sc_signal< sc_logic > grp_lineIntersectsPlane_fu_122_ap_done;
      sc_signal< sc_logic > ap_CS_fsm_state6;
      sc_signal< sc_logic > ap_CS_fsm_state10;
      sc_signal< sc_logic > ap_CS_fsm_state14;
      sc_signal< sc_lv<32> > reg_184;
      sc_signal< sc_lv<32> > reg_190;
      sc_signal< sc_lv<32> > grp_p_hls_fptosi_float_i_fu_156_ap_return;
      sc_signal< sc_lv<32> > reg_195;
      sc_signal< sc_logic > ap_CS_fsm_state4;
      sc_signal< sc_logic > grp_pointOnSegment_fu_143_ap_ready;
      sc_signal< sc_logic > grp_pointOnSegment_fu_143_ap_done;
      sc_signal< sc_lv<1> > grp_pointOnSegment_fu_143_ap_return;
      sc_signal< sc_logic > ap_CS_fsm_state8;
      sc_signal< sc_logic > ap_CS_fsm_state12;
      sc_signal< sc_logic > ap_CS_fsm_state16;
      sc_signal< sc_lv<32> > grp_p_hls_fptosi_float_i_fu_161_ap_return;
      sc_signal< sc_lv<32> > reg_199;
      sc_signal< sc_lv<1> > tmp_s_reg_446;
      sc_signal< sc_lv<64> > or_ln108_fu_241_p2;
      sc_signal< sc_logic > ap_CS_fsm_state5;
      sc_signal< sc_lv<1> > tmp_1_reg_455;
      sc_signal< sc_lv<64> > or_ln108_1_fu_291_p2;
      sc_signal< sc_logic > ap_CS_fsm_state9;
      sc_signal< sc_lv<1> > tmp_2_reg_464;
      sc_signal< sc_lv<64> > or_ln108_2_fu_347_p2;
      sc_signal< sc_logic > ap_CS_fsm_state13;
      sc_signal< sc_lv<1> > tmp_3_reg_473;
      sc_signal< sc_logic > grp_lineIntersectsPlane_fu_122_ap_start;
      sc_signal< sc_logic > grp_lineIntersectsPlane_fu_122_ap_idle;
      sc_signal< sc_lv<32> > grp_lineIntersectsPlane_fu_122_plane;
      sc_signal< sc_lv<32> > grp_lineIntersectsPlane_fu_122_ap_return_0;
      sc_signal< sc_lv<32> > grp_lineIntersectsPlane_fu_122_ap_return_1;
      sc_signal< sc_lv<32> > grp_lineIntersectsPlane_fu_122_ap_return_2;
      sc_signal< sc_logic > grp_pointOnSegment_fu_143_ap_start;
      sc_signal< sc_logic > grp_pointOnSegment_fu_143_ap_idle;
      sc_signal< sc_logic > grp_p_hls_fptosi_float_i_fu_156_ap_ready;
      sc_signal< sc_logic > grp_p_hls_fptosi_float_i_fu_161_ap_ready;
      sc_signal< sc_lv<64> > collisions_5_0_reg_78;
      sc_signal< sc_lv<64> > collisions_5_1_reg_90;
      sc_signal< sc_lv<64> > collisions_5_2_reg_101;
      sc_signal< sc_lv<64> > or_ln108_3_fu_403_p2;
      sc_signal< sc_lv<64> > ap_phi_mux_collisions_5_3_phi_fu_115_p4;
      sc_signal< sc_lv<64> > collisions_5_3_reg_112;
      sc_signal< sc_logic > ap_CS_fsm_state17;
      sc_signal< sc_logic > grp_lineIntersectsPlane_fu_122_ap_start_reg;
      sc_signal< sc_logic > grp_pointOnSegment_fu_143_ap_start_reg;
      sc_signal< sc_logic > ap_CS_fsm_state3;
      sc_signal< sc_logic > ap_CS_fsm_state7;
      sc_signal< sc_logic > ap_CS_fsm_state11;
      sc_signal< sc_logic > ap_CS_fsm_state15;
      sc_signal< sc_lv<32> > shl_ln80_fu_203_p2;
      sc_signal< sc_lv<32> > add_ln80_fu_209_p2;
      sc_signal< sc_lv<64> > zext_ln107_fu_215_p1;
      sc_signal< sc_lv<32> > add_ln80_1_fu_225_p2;
      sc_signal< sc_lv<64> > zext_ln108_fu_231_p1;
      sc_signal< sc_lv<64> > shl_ln107_fu_219_p2;
      sc_signal< sc_lv<64> > shl_ln108_fu_235_p2;
      sc_signal< sc_lv<32> > shl_ln80_1_fu_247_p2;
      sc_signal< sc_lv<32> > add_ln80_2_fu_253_p2;
      sc_signal< sc_lv<32> > add_ln80_3_fu_259_p2;
      sc_signal< sc_lv<64> > zext_ln107_1_fu_265_p1;
      sc_signal< sc_lv<64> > zext_ln108_1_fu_275_p1;
      sc_signal< sc_lv<64> > shl_ln108_1_fu_279_p2;
      sc_signal< sc_lv<64> > or_ln108_4_fu_285_p2;
      sc_signal< sc_lv<64> > shl_ln107_1_fu_269_p2;
      sc_signal< sc_lv<32> > shl_ln80_2_fu_297_p2;
      sc_signal< sc_lv<32> > add_ln80_4_fu_303_p2;
      sc_signal< sc_lv<32> > add_ln80_5_fu_309_p2;
      sc_signal< sc_lv<64> > zext_ln107_2_fu_315_p1;
      sc_signal< sc_lv<32> > add_ln80_6_fu_325_p2;
      sc_signal< sc_lv<64> > zext_ln108_2_fu_331_p1;
      sc_signal< sc_lv<64> > shl_ln108_2_fu_335_p2;
      sc_signal< sc_lv<64> > or_ln108_5_fu_341_p2;
      sc_signal< sc_lv<64> > shl_ln107_2_fu_319_p2;
      sc_signal< sc_lv<32> > shl_ln80_3_fu_353_p2;
      sc_signal< sc_lv<32> > add_ln80_7_fu_359_p2;
      sc_signal< sc_lv<32> > add_ln80_8_fu_365_p2;
      sc_signal< sc_lv<64> > zext_ln107_3_fu_371_p1;
      sc_signal< sc_lv<32> > add_ln80_9_fu_381_p2;
      sc_signal< sc_lv<64> > zext_ln108_3_fu_387_p1;
      sc_signal< sc_lv<64> > shl_ln108_3_fu_391_p2;
      sc_signal< sc_lv<64> > or_ln108_6_fu_397_p2;
      sc_signal< sc_lv<64> > shl_ln107_3_fu_375_p2;
      sc_signal< sc_lv<64> > ap_return_preg;
      sc_signal< sc_lv<17> > ap_NS_fsm;
      static const sc_logic ap_const_logic_1;
      static const sc_logic ap_const_logic_0;
      static const sc_lv<17> ap_ST_fsm_state1;
      static const sc_lv<17> ap_ST_fsm_state2;
      static const sc_lv<17> ap_ST_fsm_state3;
      static const sc_lv<17> ap_ST_fsm_state4;
      static const sc_lv<17> ap_ST_fsm_state5;
      static const sc_lv<17> ap_ST_fsm_state6;
      static const sc_lv<17> ap_ST_fsm_state7;
      static const sc_lv<17> ap_ST_fsm_state8;
      static const sc_lv<17> ap_ST_fsm_state9;
      static const sc_lv<17> ap_ST_fsm_state10;
      static const sc_lv<17> ap_ST_fsm_state11;
      static const sc_lv<17> ap_ST_fsm_state12;
      static const sc_lv<17> ap_ST_fsm_state13;
      static const sc_lv<17> ap_ST_fsm_state14;
      static const sc_lv<17> ap_ST_fsm_state15;
      static const sc_lv<17> ap_ST_fsm_state16;
      static const sc_lv<17> ap_ST_fsm_state17;
      static const sc_lv<32> ap_const_lv32_0;
      static const sc_lv<32> ap_const_lv32_1;
      static const sc_lv<32> ap_const_lv32_5;
      static const sc_lv<32> ap_const_lv32_9;
      static const sc_lv<32> ap_const_lv32_D;
      static const sc_lv<32> ap_const_lv32_3;
      static const sc_lv<1> ap_const_lv1_1;
      static const sc_lv<32> ap_const_lv32_7;
      static const sc_lv<32> ap_const_lv32_B;
      static const sc_lv<32> ap_const_lv32_F;
      static const sc_lv<32> ap_const_lv32_4;
      static const sc_lv<32> ap_const_lv32_8;
      static const sc_lv<32> ap_const_lv32_C;
      static const sc_lv<64> ap_const_lv64_0;
      static const sc_lv<1> ap_const_lv1_0;
      static const sc_lv<32> ap_const_lv32_10;
      static const sc_lv<32> ap_const_lv32_3F800000;
      static const sc_lv<32> ap_const_lv32_40000000;
      static const sc_lv<32> ap_const_lv32_40400000;
      static const sc_lv<32> ap_const_lv32_2;
      static const sc_lv<32> ap_const_lv32_6;
      static const sc_lv<32> ap_const_lv32_A;
      static const sc_lv<32> ap_const_lv32_E;
      static const sc_lv<64> ap_const_lv64_1;
      static const sc_lv<32> ap_const_lv32_FFFFFFF0;
      static const sc_lv<32> ap_const_lv32_20;
      static const sc_lv<32> ap_const_lv32_30;
      static const bool ap_const_boolean_1;
      // Thread declarations
      void thread_ap_clk_no_reset_();
      void thread_add_ln80_1_fu_225_p2();
      void thread_add_ln80_2_fu_253_p2();
      void thread_add_ln80_3_fu_259_p2();
      void thread_add_ln80_4_fu_303_p2();
      void thread_add_ln80_5_fu_309_p2();
      void thread_add_ln80_6_fu_325_p2();
      void thread_add_ln80_7_fu_359_p2();
      void thread_add_ln80_8_fu_365_p2();
      void thread_add_ln80_9_fu_381_p2();
      void thread_add_ln80_fu_209_p2();
      void thread_ap_CS_fsm_state1();
      void thread_ap_CS_fsm_state10();
      void thread_ap_CS_fsm_state11();
      void thread_ap_CS_fsm_state12();
      void thread_ap_CS_fsm_state13();
      void thread_ap_CS_fsm_state14();
      void thread_ap_CS_fsm_state15();
      void thread_ap_CS_fsm_state16();
      void thread_ap_CS_fsm_state17();
      void thread_ap_CS_fsm_state2();
      void thread_ap_CS_fsm_state3();
      void thread_ap_CS_fsm_state4();
      void thread_ap_CS_fsm_state5();
      void thread_ap_CS_fsm_state6();
      void thread_ap_CS_fsm_state7();
      void thread_ap_CS_fsm_state8();
      void thread_ap_CS_fsm_state9();
      void thread_ap_done();
      void thread_ap_idle();
      void thread_ap_phi_mux_collisions_5_3_phi_fu_115_p4();
      void thread_ap_ready();
      void thread_ap_return();
      void thread_grp_lineIntersectsPlane_fu_122_ap_start();
      void thread_grp_lineIntersectsPlane_fu_122_plane();
      void thread_grp_pointOnSegment_fu_143_ap_start();
      void thread_or_ln108_1_fu_291_p2();
      void thread_or_ln108_2_fu_347_p2();
      void thread_or_ln108_3_fu_403_p2();
      void thread_or_ln108_4_fu_285_p2();
      void thread_or_ln108_5_fu_341_p2();
      void thread_or_ln108_6_fu_397_p2();
      void thread_or_ln108_fu_241_p2();
      void thread_shl_ln107_1_fu_269_p2();
      void thread_shl_ln107_2_fu_319_p2();
      void thread_shl_ln107_3_fu_375_p2();
      void thread_shl_ln107_fu_219_p2();
      void thread_shl_ln108_1_fu_279_p2();
      void thread_shl_ln108_2_fu_335_p2();
      void thread_shl_ln108_3_fu_391_p2();
      void thread_shl_ln108_fu_235_p2();
      void thread_shl_ln80_1_fu_247_p2();
      void thread_shl_ln80_2_fu_297_p2();
      void thread_shl_ln80_3_fu_353_p2();
      void thread_shl_ln80_fu_203_p2();
      void thread_zext_ln107_1_fu_265_p1();
      void thread_zext_ln107_2_fu_315_p1();
      void thread_zext_ln107_3_fu_371_p1();
      void thread_zext_ln107_fu_215_p1();
      void thread_zext_ln108_1_fu_275_p1();
      void thread_zext_ln108_2_fu_331_p1();
      void thread_zext_ln108_3_fu_387_p1();
      void thread_zext_ln108_fu_231_p1();
      void thread_ap_NS_fsm();
  };
  
  }
  
  using namespace ap_rtl;
  
  #endif
  