data/full_repos/permissive/154123726/3rdParty/sha256/CSA.v
data/verilator_xmls/8dfadfde-568a-4376-a3f6-755693d87072.xml
module CSA( 
            X,   
            Y,   
            Z,   
            VS,  
            VC   
            );
input  [31:0] X;
input  [31:0] Y;
input  [31:0] Z;
output [31:0] VS;
output [31:0] VC;

assign VS = X ^ Y ^ Z;
assign VC = {((X[30:0] & Y[30:0]) | ((X[30:0] ^ Y[30:0]) & Z[30:0])),1'b0};

endmodule
module CSA( 
            X,   
            Y,   
            Z,   
            VS,  
            VC   
            );

input  [31:0] X;
input  [31:0] Y;
input  [31:0] Z;
output [31:0] VS;
output [31:0] VC;

assign VS = X ^ Y ^ Z;
assign VC = {((X[30:0] & Y[30:0]) | ((X[30:0] ^ Y[30:0]) & Z[30:0])),1'b0};

endmodule