0 Members and 1 Guest are viewing this topic.
wire wStart , wAdcDv;wire [15:0] wAdcData [8:0];// The for-loop creates 9 ADC statementsgenvar i;generate for (i=0; i < 9; i = i + 1) begin SPI_Master SPI( .i_Clk(i_Clk50MHz), .i_Rst(1'b0), .i_start(wStart), .o_RXData(wAdcData[i]), .o_DV(wAdcDv), .o_Busy(), //physical pins .i_MISO_pin(i_AdcSdo[i]), .o_SCLK_pin(o_AdcSck[i]) ); endendgenerate
Signal o_AdcSck[8] in unit top is connected to following multiple drivers
wire [8:0] o_AdcSck;
ISE would complain about QuoteSignal o_AdcSck[8] in unit top is connected to following multiple driversWhat am I doing wrong?
Usually this means that somewhere else in your code, you have set or assigned 'AdcSck[8] <=' to something. You cannot set 2 different values to the same IO pin or logic cell.
QuoteUsually this means that somewhere else in your code, you have set or assigned 'AdcSck[8] <=' to something. You cannot set 2 different values to the same IO pin or logic cell.Thanks, Stupid me, I have some typo in somewhere else