/////////////////////////////////////////////////////////////////////// // // cpu_core module // /////////////////////////////////////////////////////////////////////// module cpu_core( output wire [15:0] Data_out, input wire [15:0] Data_in, output wire ENB, output wire nME, ALE, RnW, nOE, SDO, input wire Clock, nReset, Test, SDI, input wire nIRQ, nWait ); timeunit 1ns; timeprecision 100ps; import definitions::*; wire alu_functions_t Function; wire [3:0] Opcode; // // This system doesn't simulate the scan path // assign SDO = SDI; // // This system is built from two smaller modules // control Control ( Function, SelInc, LoadPC, LoadIR, TrisOperand, TrisPC, TrisAcc, TrisMem, ENB, nME, ALE, RnW, nOE, Opcode, Zflag, nWait, Clock, nReset ); datapath Datapath ( Data_out, Data_in, Opcode, Zflag, Function, SelInc, LoadPC, LoadIR, TrisOperand, TrisPC, TrisAcc, TrisMem, Clock, nReset ); endmodule