module processor( Clock, nReset ); input Clock, nReset; wire [15:0] DataBus; wire [11:0] AddressBus; wire [3:0] Function; wire [3:0] Opcode; wire Zflag, Mem_Write; control Control ( Function, SelInc, LoadPC, LoadIR, TrisOperand, TrisPC, TrisAcc, Mem_Write, Opcode, Zflag, Clock, nReset ); datapath Datapath ( DataBus, AddressBus, Opcode, Zflag, Function, SelInc, LoadPC, LoadIR, TrisOperand, TrisPC, TrisAcc, Clock, nReset ); memory Memory ( DataBus, AddressBus, Mem_Write, Clock ); endmodule