# Can anyone help me to solve this question type or suggest me any source for solving?

** Write the MCU super-loop version (state-machine with fixed heartbeat)
of the following code:
while(1) {
wt(2);
AA();
wt(6);
BB();
wt(4);
CC();
}

**Then, Consider above question. Replace:

AA() with aa = bb + cc;
BB() with bb = aa * cc;
CC() with cc = bb - aa;

and write the corresponding Verilog RTL.

Hi Omar

this thread is for mbed-os related questions so I don’t think you will find an answer for your question here I’m afraid.

Regards
Anna