I drew two structures to make an input peak triggered output, one is producer/ consumer, and the other is just a case structure. but when I test the result, the trigger value didn't show a pattern. the trigger pulse follows the peak boolean true value, but it did not trigger after an input peak, I changed different threshold and width and did not see any trigger follow a peak. did I use the peak detector wrongly? or the structure causes a huge delay?