axi_dmac: Drive unused interface output ports with const value

Drive all output pins of the disabled interfaces with a constant value.
This avoids warnings from the tools about not driven output ports.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
main
Lars-Peter Clausen 2015-09-21 17:30:42 +02:00
parent fed14cf613
commit cfd57fc462
1 changed files with 4 additions and 0 deletions

View File

@ -533,6 +533,8 @@ dmac_dest_axi_stream #(
end else begin end else begin
assign m_axis_valid = 1'b0; assign m_axis_valid = 1'b0;
assign m_axis_last = 1'b0;
assign m_axis_xfer_req = 1'b0;
assign m_axis_data = 'h00; assign m_axis_data = 'h00;
end end
@ -594,6 +596,7 @@ end else begin
assign fifo_rd_valid = 1'b0; assign fifo_rd_valid = 1'b0;
assign fifo_rd_dout = 'h0; assign fifo_rd_dout = 'h0;
assign fifo_rd_underflow = 1'b0; assign fifo_rd_underflow = 1'b0;
assign fifo_rd_xfer_req = 1'b0;
end endgenerate end endgenerate
@ -723,6 +726,7 @@ dmac_src_axi_stream #(
end else begin end else begin
assign s_axis_ready = 1'b0; assign s_axis_ready = 1'b0;
assign s_axis_xfer_req = 1'b0;
end end