`timescale 1ns/1ns module main_mod( input clk, input rst_n, input [7:0]a, input [7:0]b, input [7:0]c, output [7:0]d ); wire [7:0] d1,d2; compare compare1(clk,rst_n,a,b,d1); compare compare2(clk,rst_n,a,c,d2); compare compare3(clk,rst_n,d1,d2,d); endmodule module compare ( input clk,r...