Lines Matching refs:detector
148 Model* detector = getSubInstance("Detector_" + (String) i);
149 detector->update();
172 OpticalModel* detector = (OpticalModel*) getSubInstance("Detector_" + (String) i);
173 detector->getOpticalInputPort("In")->setTransitionInfo(mod_out_transitions);
174 detector->use();
177 propagatePortTransitionInfo("Out" + (String) i, detector, "Out");
288 // Create resonant ring detector
289 RingDetector* detector = new RingDetector("Detector_" + n, getTechModel());
290 detector->setParameter("DataRate", data_rate);
291 detector->setParameter("InStart", 0);
292 detector->setParameter("InEnd", number_wavelengths-1);
293 detector->setParameter("DetStart", 0);
294 detector->setParameter("DetEnd", number_wavelengths-1);
295 detector->setParameter("DropAll", "FALSE");
296 detector->setParameter("Topology", RingDetector::INTEGRATINGSENSEAMP);
297 detector->construct();
298 addSubInstances(detector, 1.0);
299 getAreaResult("Photonic")->addSubResult(detector->getAreaResult("Photonic"), "Detector_" + n, 1.0);
300 addElectricalSubResults(detector, 1.0);
303 portConnect(detector, "Out", "Out" + (String) i);
305 opticalPortConnect(detector, "In", "WaveguideSegment[" + (String) i + "]");
306 opticalPortConnect(detector, "Out", "WaveguideSegment[" + (String) (i + 1) + "]");