aboutsummaryrefslogtreecommitdiff
path: root/src/tb/freqsweep_tb.h
blob: d5a328cf5b69cc1f694daff3ba5f2dac810befa8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#pragma once

#include <optical_signal.h>
#include <systemc.h>
#include <waveguide.h>
#include <directional_coupler.h>
#include <probe.h>
#include <crow.h>
#include <specs.h>

SC_MODULE(freqsweep_tb)
{
public:
    spx::oa_port_out_type IN;
    spx::oa_port_in_type OUT;

    void run_1();
    void monitor();
    SC_CTOR(freqsweep_tb)
    {
        SC_HAS_PROCESS(freqsweep_tb);

        SC_THREAD(run_1);

        SC_THREAD(monitor);
        sensitive << IN << OUT;
    }
};

//void freqsweep_tb_run();
void freqsweep_tb_run_add_drop();
void freqsweep_tb_run_crow();