Lines Matching refs:modulator
65 // Create modulator
66 RingModulator* modulator = new RingModulator("Modulator", getTechModel());
67 modulator->setParameter("InStart", 0);
68 modulator->setParameter("InEnd", wavelengths-1);
69 modulator->setParameter("ModStart", 0);
70 modulator->setParameter("ModEnd", wavelengths-1);
71 modulator->construct();
101 opticalPortConnect(modulator, "In", "LaserToMod");
102 opticalPortConnect(modulator, "Out", "WaveguideDet-0");
105 addSubInstances(modulator, 1.0);
119 Model* modulator = getSubInstance("Modulator");
120 modulator->setProperty("ExtinctionRatio", extinction_ratio);
121 modulator->setProperty("InsertionLoss", insertion_loss);
122 modulator->setProperty("DataRate", data_rate);
123 modulator->setProperty("P(In)", 0.5);
124 modulator->setProperty("Act(In)", 1.0);
125 modulator->update();