フィルターのクリア

Multiple trigger signals in Triggered Subsystem

2 ビュー (過去 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 Center および File ExchangeSchedule Model Components についてさらに検索

製品


リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by