Searched refs:modulator (Results 1 - 6 of 6) sorted by relevance

/gem5/ext/dsent/model/optical/
H A DOpticalTestModel.cc65 // Create modulator
66 RingModulator* modulator = new RingModulator("Modulator", getTechModel()); local
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.
119 Model* modulator = getSubInstance("Modulator"); local
[all...]
H A DSWMRLink.cc139 // Update the modulator
140 Model* modulator = getSubInstance("Modulator"); local
141 modulator->setProperty("ExtinctionRatio", extinction_ratio);
142 modulator->setProperty("InsertionLoss", insertion_loss);
143 modulator->update();
161 // Set transition info for the modulator
162 OpticalModel* modulator = (OpticalModel*) getSubInstance("Modulator"); local
163 propagatePortTransitionInfo(modulator, "In", "In");
164 modulator->use();
167 const TransitionInfo& mod_out_transitions = modulator
248 RingModulator* modulator = new RingModulator("Modulator", getTechModel()); local
[all...]
H A DSWSRLink.cc189 // Update the modulator
190 Model* modulator = getSubInstance("Modulator"); local
191 modulator->setProperty("ExtinctionRatio", extinction_ratio);
192 modulator->setProperty("InsertionLoss", insertion_loss);
193 modulator->update();
218 // Set transition info for the modulator
219 OpticalModel* modulator = (OpticalModel*) getSubInstance("Modulator"); local
220 propagatePortTransitionInfo(modulator, "In", tx_backend, "Out");
221 modulator->use();
224 const TransitionInfo& mod_out_transitions = modulator
294 RingModulator* modulator = new RingModulator("Modulator", getTechModel()); local
[all...]
/gem5/ext/dsent/model/optical_graph/
H A DOpticalWavelength.h31 // detector, the loss to that detector, and the modulator driving
36 OpticalModulator* modulator; member in struct:DSENT::OpticalDataPath
41 : laser(laser_), modulator(modulator_), detectors(1, detector_), losses(1, loss_) {}
71 // Keeps track of a table of laser, detector, modulator mappings
H A DOpticalGraph.cc81 // Default to worst possible modulator
88 + ", Modulator = " + data_path.modulator->getInstanceName());
90 if (data_path.modulator->canOptimizeLoss())
97 // Ask the modulator to try this new ER and IL
98 bool success = data_path.modulator->setModulatorSpec(IL, ER);
99 // If the modulator was successful
103 double modulator_power = data_path.modulator->getPower(util_);
117 bool success = data_path.modulator->setModulatorSpec(best_IL, best_ER);
160 // Check if the current node is a laser, modulator or detector
173 "modulator ("
[all...]
H A DOpticalWavelength.cc64 // Check to see if the modulator and laser already have a data path entry
70 bool current_modulator = current.modulator == modulator_;
115 // Get the extinction ratio of the modulator
116 double ER_dB = current_path.modulator->getExtinctionRatio();
117 // Get the insertion loss of the modulator
118 double IR_dB = current_path.modulator->getInsertionLoss();

Completed in 9 milliseconds