`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] temp1; wire [7:0] temp2; sub_mod u1(clk,rst_n,a,b,temp1); sub_mod u2(clk,rst_n,a,c,temp2); sub_mod u3(clk,rst_n,temp1,temp2,d); endmodule module sub_mod( inp...