iyyappanbala
Newbie level 5
Dear friends,
please help me to solve this problem,
How to swap number in behavioral modeling(non Blocking) Verilog Hdl,
module swap(a,b);
inout [3:0] a,b;
reg [3:0] a,b;
always@(a,b)
begin
b<=a;
a<=b;
end
endmodule
please help me to solve this problem,
How to swap number in behavioral modeling(non Blocking) Verilog Hdl,
module swap(a,b);
inout [3:0] a,b;
reg [3:0] a,b;
always@(a,b)
begin
b<=a;
a<=b;
end
endmodule