Multiple trigger signals in Triggered Subsystem
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Tl;dr: How to use multiple trigger signals in Triggered Subsystem?
I would like to make a Phase Frequency Detector(PFD, https://en.wikipedia.org/wiki/Phase_detector#Phase_frequency_detector) in a triggered fasion to decrease simulation time. A PFD has two incomming clock signals and therefore is basically triggered on two signals. I tried to add an extra trigger port to a Triggered Subsystem, but it does not allow me to do so. Is there another way to add a second trigger port to a Triggered Subsystem (or is there another subsystem which has muliple trigger ports which I'm not aware of)?
Note that I have been thinking about combinig the two signals within one signal which has an edge when one of the two incomming clocks has an edge such that one trigger port is sufficient. However this is kinda a shabby solution, increases model complexity and thereby decreases simplicity/overview, and I also think it is not that trivial as it sounds. Therefore, this would be more of a "last resort" solution.
Thanks in advance :)
0 comentarios
Respuestas (1)
Benjamin Thompson
el 4 de Mzo. de 2022
One trigger input to the block sounds less complex than two, to me any way. I vote for taking your two signals and combining them into one trigger input to your block.
0 comentarios
Ver también
Categorías
Más información sobre Schedule Model Components en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!