/********************************************** _ _ Cook Darwin __

_ descript: Version: VERA.0.0

use data_c_pipe_intc_M2S_robin

creaded: madified: ***********************************************/ `timescale 1ns/1ps `include “define_macro.sv” module data_c_pipe_intc_M2S_robin_with_id #(

parameter   NUM    = 8,
parameter   IDSIZE = 1

)(

input [IDSIZE-1:0]          sid [NUM-1:0],
output[IDSIZE-1:0]          mid,
data_inf_c.slaver           s00 [NUM-1:0],
data_inf_c.master           m00

);

data_inf_c #(m00.DSIZE + IDSIZE ) m00_plus (m00.clock,m00.rst_n); data_inf_c #(m00.DSIZE + IDSIZE ) s00_plus (m00.clock,m00.rst_n);

genvar KK; generate for(KK=0;KK<NUM;KK++)begin assign s00_plus.data = {sid,s00.data}; assign s00_plus.valid = s00.valid; assign s00.ready = s00_plus.ready; end endgenerate

assign {mid,m00.data} = m00_plus.data; assign m00.valid = m00_plus.valid; assign m00_plus.ready = m00.ready;

data_c_pipe_intc_M2S_robin #(

.NUM   (NUM     )

)data_c_pipe_intc_M2S_robin_inst( /* data_inf_c.slaver */ .s00 (s00_plus ),//[NUM-1:0], /* data_inf_c.master */ .m00 (m00_plus ) );

endmodule