#pragma once #include #include #include #include #include #include #include SC_MODULE(mzi_tb) { public: spx::oa_port_out_type IN; spx::oa_port_in_type OUT1, OUT2; sc_out vphi,vtheta; void run_1(); void monitor(); SC_CTOR(mzi_tb) { SC_HAS_PROCESS(mzi_tb); SC_THREAD(run_1); SC_THREAD(monitor); sensitive << IN << OUT1 << OUT2 << vphi << vtheta; } }; void MZI_tb_run();