data/full_repos/permissive/169574047/bahavior/bahavior.srcs/sources_1/new/blocking_and_nonblocking_assign.v
'utf-8' codec can't decode byte 0xb7 in position 588: invalid start byte
1: b"%Error: data/full_repos/permissive/169574047/bahavior/bahavior.srcs/sources_1/new/blocking_and_nonblocking_assign.v:37: syntax error, unexpected '@', expecting TYPE-IDENTIFIER\n    reg2 <= @(negedge clock) in2^in3;\n            ^\n%Error: Exiting due to 1 error(s)\n"
module blocking_and_nonblocking_assign;

reg clock;
reg reg1,reg2,reg3;
wire in1,in2,in3;






always @(posedge clock)
begin
    reg1 <= #1 in1;
    reg2 <= @(negedge clock) in2^in3;
    reg3 <= #1 reg1;
end


reg a,b;

always @(posedge clock)
    a = b;
always @(posedge clock)
    b = a;

always @(posedge clock)
    a <= b;
always @(posedge clock)
    b <= a;


reg temp_a,temp_b;

always @(posedge clock)
begin


    temp_a = a;
    temp_b = b;


    a = temp_b;
    b = temp_a;
end

endmodule
module blocking_and_nonblocking_assign;


reg clock;
reg reg1,reg2,reg3;
wire in1,in2,in3;






always @(posedge clock)
begin
    reg1 <= #1 in1;
    reg2 <= @(negedge clock) in2^in3;
    reg3 <= #1 reg1;
end


reg a,b;

always @(posedge clock)
    a = b;
always @(posedge clock)
    b = a;

always @(posedge clock)
    a <= b;
always @(posedge clock)
    b <= a;


reg temp_a,temp_b;

always @(posedge clock)
begin


    temp_a = a;
    temp_b = b;


    a = temp_b;
    b = temp_a;
end

endmodule