aboutsummaryrefslogtreecommitdiff
path: root/src/tb/alltestbenches.cpp
blob: 107dfdcfd8bef3d9800f46b30e62b5694af99305 (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
#include <map>
#include <tb/alltestbenches.h>

#if defined(BUILD_TB) && BUILD_TB == 1
std::map<std::string, tb_func_t> tb_map = {
    { "wg", wg_tb_run },
    { "waveguide", wg_tb_run },
    { "merg", Merger_tb_run },
    { "merger", Merger_tb_run },
    { "dc", DirectionalCoupler_tb_run },
    { "directional_coupler", DirectionalCoupler_tb_run },
    { "spli", Splitter_tb_run },
    { "splitter", Splitter_tb_run },
    { "det", Detector_tb_run },
    { "detector", Detector_tb_run },
    { "pcm", PCMElement_tb_run },
    { "mzi", MZI_tb_run },
    { "ring", Ring_tb_run },
    { "ac_add_drop", freqsweep_tb_run_add_drop },
    { "ac_crow", crow_tb_run },
    { "lambda", lambda_tb_run },
    { "phaseshifter", ps_tb_run },
    { "ps", ps_tb_run },
    { "mesh", mesh_tb_run },
};
#else
std::map<std::string, tb_func_t> tb_map = {};
#endif