data/full_repos/permissive/154123726/3rdParty/luffa/Luffa_Chaining.v
1: b'%Warning-MULTITOP: data/full_repos/permissive/154123726/3rdParty/luffa/Luffa_Chaining.v:113: Multiple top level modules\n                                                                                           : ... Suggest see manual; fix the duplicates, or use --top-module to select top.\n                   ... Use "/* verilator lint_off MULTITOP */" and lint_on around source to disable this message.\n                                                                                           : ... Top module \'MESSAGE_INJECTION\'\nmodule MESSAGE_INJECTION(\n       ^~~~~~~~~~~~~~~~~\n                                                                                           : ... Top module \'PERMUTATION_Q\'\nmodule PERMUTATION_Q(\n       ^~~~~~~~~~~~~\n                                                                                           : ... Top module \'GEN_CONST\'\nmodule GEN_CONST(\n       ^~~~~~~~~\n%Error: Exiting due to 1 warning(s)\n'
module MIXWORD(
	in0, in1,
	out0, out1
);

input  [31:0] in0, in1;
output [31:0] out0, out1;

wire [31:0] xr_0, xl_0, xr_1;

assign xr_0 = in0 ^ in1;
assign xl_0 = {in0[29:0],in0[31:30]} ^ xr_0;
assign xr_1 = xl_0 ^ {xr_0[17:0],xr_0[31:18]};
assign out0 = {xl_0[21:0],xl_0[31:22]} ^ xr_1;
assign out1 = {xr_1[30:0],xr_1[31]};

endmodule
module MIXWORD(
	in0, in1,
	out0, out1
);


input  [31:0] in0, in1;
output [31:0] out0, out1;

wire [31:0] xr_0, xl_0, xr_1;

assign xr_0 = in0 ^ in1;
assign xl_0 = {in0[29:0],in0[31:30]} ^ xr_0;
assign xr_1 = xl_0 ^ {xr_0[17:0],xr_0[31:18]};
assign out0 = {xl_0[21:0],xl_0[31:22]} ^ xr_1;
assign out1 = {xr_1[30:0],xr_1[31]};

endmodule