/////////////////////////////////////////////////////////////////////// // // cpu module // // this is simply a shell representing the pad_ring // which instances cpu_core // /////////////////////////////////////////////////////////////////////// module cpu( output logic nME, ALE, RnW, nOE, SDO, inout [15:0] Data, `ifndef nointerrupt input nIRQ, `endif `ifndef nowait input nWait, `endif input Clock, nReset, Test, SDI ); timeunit 1ns; timeprecision 100ps; wire [15:0] Data_in; wire [15:0] Data_out; wire ENB; // // Simulation of bidirectional pads // assign Data = (ENB == 0) ? ~(~Data_out) : 16'bz; assign Data_in = ~(~Data); cpu_core CPU_core ( .Data_out, .Data_in, .ENB, .nME, .ALE, .RnW, .nOE, .SDO, `ifndef nointerrupt .nIRQ, `endif `ifndef nowait .nWait, `endif .Clock, .nReset, .Test, .SDI ); endmodule