Question: Consider a system with three input signals: ref, a square wave with a period of 1 microsecond ? ( 1 ) , and two natural
Consider a system with three input signals:
ref, a square wave with a period of microsecond and
two natural numbers and
The system generates a square wave, with period equal to microseconds, as shown in figure. Does the
following pseudocode correctly describe the control subsystem?
Variable refpositiveedge takes the value TRUE when a positive edge of signal ref arrives, and FALSE
otherwise.
loop
;
for in to a loop
end loop;
wait until refpositiveedge TRUE;
;
for in to b loop
end loop;
wait until refpositiveedge TRUE;
end loop;
SI YES
NO
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
