In reply to ASHISH PATEL:
I would use the following for the data outputs:
assign data_0 = (we_0) ? data0 : `bz;
assign data_1 = (we_1) ? data1 : `bz;
In reply to ASHISH PATEL:
I would use the following for the data outputs:
assign data_0 = (we_0) ? data0 : `bz;
assign data_1 = (we_1) ? data1 : `bz;