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 1 microsecond ?(1), and
two natural numbers a, and b
The system generates a square wave, f, with period equal to (a+b) microseconds, as shown in figure. Does the
following pseudocode correctly describe the control sub-system?
(1) Variable ref_positive_edge takes the value TRUE when a positive edge of signal ref arrives, and FALSE
otherwise.
loop
f1;
for i in 1 to a loop
end loop;
wait until ref_positive_edge = TRUE;
f;
for i in 1 to b loop
end loop;
wait until ref_positive_edge = TRUE;
end loop;
SI / YES
NO
 Consider a system with three input signals: ref, a square wave

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!