Please assist with part A & B and please write legibly.
(1.30 pts) Design a 3-bit counter with two low-active synchronous reset signals (resetn0 and resetnl) and a synchronous high-active enable control (en). The counting sequence is the same as the state. Hint: You may use Q<=Q+2 as the state transition equation because when resetn0 is high and resetnl is low, the counter resets to state 0. Output z is 6+2=0 and 7+2=1 for 3-bit additions. (10 pts) Write the pseudo-code for the problem.
(20 pts) Complete the Verilog design.
module mycounter01(clock, resetn0, resetnl, en, z);
input en, clock, resetn0, resetnl;
output [2:0] z;
// Verilog design code goes here
endmodule