module pb1 input clk, x, output reg y1, y2); wire w = x1( -1); always @(posedge clk) y2 <= w; always @(negedge clk) y1 <
Posted: Fri May 20, 2022 11:45 pm
this code. Use the proper flip-flop symbols.
PLEASE AND THANK YOU
module pb1 input clk, x, output reg y1, y2); wire w = x1( -1); always @(posedge clk) y2 <= w; always @(negedge clk) y1 <= y2; endmodule