필터 지우기
필터 지우기

Multiple trigger signals in Triggered Subsystem

조회 수: 5 (최근 30일)
Wumbo
Wumbo 2019년 6월 14일
답변: Benjamin Thompson 2022년 3월 4일
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 :)

답변 (1개)

Benjamin Thompson
Benjamin Thompson 2022년 3월 4일
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.

카테고리

Help CenterFile Exchange에서 Schedule Model Components에 대해 자세히 알아보기

제품


릴리스

R2018b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by