util_dac_unpack: Drive unused ports to 0
Silences a few warnings about undriven ports from the tools. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>main
parent
f7ad7e7ab2
commit
50c434044e
|
@ -164,6 +164,11 @@ module util_dac_unpack (
|
||||||
assign dac_data_05 = dac_data[DATA_WIDTH*6-1:DATA_WIDTH*5];
|
assign dac_data_05 = dac_data[DATA_WIDTH*6-1:DATA_WIDTH*5];
|
||||||
assign dac_data_06 = dac_data[DATA_WIDTH*7-1:DATA_WIDTH*6];
|
assign dac_data_06 = dac_data[DATA_WIDTH*7-1:DATA_WIDTH*6];
|
||||||
assign dac_data_07 = dac_data[DATA_WIDTH*8-1:DATA_WIDTH*7];
|
assign dac_data_07 = dac_data[DATA_WIDTH*8-1:DATA_WIDTH*7];
|
||||||
|
end else begin
|
||||||
|
assign dac_data_04 = 'h0;
|
||||||
|
assign dac_data_05 = 'h0;
|
||||||
|
assign dac_data_06 = 'h0;
|
||||||
|
assign dac_data_07 = 'h0;
|
||||||
end
|
end
|
||||||
endgenerate
|
endgenerate
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue