ad_rst: Update all the modules, which instantiate the ad_rst

main
Istvan Csomortani 2018-07-18 15:21:33 +01:00 committed by István Csomortáni
parent 472b12feb7
commit 11071516d1
10 changed files with 20 additions and 16 deletions

View File

@ -122,8 +122,9 @@ module axi_gpreg_clock_mon #(
.d_clk (d_clk_g)); .d_clk (d_clk_g));
ad_rst i_d_rst_reg ( ad_rst i_d_rst_reg (
.preset (up_d_preset), .rst_async (up_d_preset),
.clk (d_clk_g), .clk (d_clk_g),
.rstn (),
.rst (d_rst)); .rst (d_rst));
generate generate

View File

@ -57,9 +57,9 @@ module axi_logic_analyzer_reg (
output [15:0] overwrite_data, output [15:0] overwrite_data,
input [15:0] input_data, input [15:0] input_data,
output [15:0] od_pp_n, output [15:0] od_pp_n,
input triggered, input triggered,
output streaming, output streaming,
// bus interface // bus interface
@ -220,7 +220,7 @@ module axi_logic_analyzer_reg (
end end
end end
ad_rst i_core_rst_reg (.preset(!up_rstn), .clk(clk), .rst(reset)); ad_rst i_core_rst_reg (.rst_async(~up_rstn), .clk(clk), .rstn(), .rst(reset));
up_xfer_cntrl #(.DATA_WIDTH(285)) i_xfer_cntrl ( up_xfer_cntrl #(.DATA_WIDTH(285)) i_xfer_cntrl (
.up_rstn (up_rstn), .up_rstn (up_rstn),

View File

@ -403,8 +403,8 @@ module up_adc_common #(
// resets // resets
ad_rst i_mmcm_rst_reg (.preset(up_mmcm_preset), .clk(up_clk), .rst(mmcm_rst)); ad_rst i_mmcm_rst_reg (.rst_async(up_mmcm_preset), .clk(up_clk), .rstn(), .rst(mmcm_rst));
ad_rst i_core_rst_reg (.preset(up_core_preset), .clk(adc_clk), .rst(adc_rst)); ad_rst i_core_rst_reg (.rst_async(up_core_preset), .clk(adc_clk), .rstn(), .rst(adc_rst));
// adc control & status // adc control & status

View File

@ -176,7 +176,7 @@ module up_clkgen #(
// resets // resets
ad_rst i_mmcm_rst_reg (.preset(up_mmcm_preset), .clk(up_clk), .rst(mmcm_rst)); ad_rst i_mmcm_rst_reg (.rst_async(up_mmcm_preset), .clk(up_clk), .rstn(), .rst(mmcm_rst));
endmodule endmodule

View File

@ -407,8 +407,8 @@ module up_dac_common #(
// resets // resets
ad_rst i_mmcm_rst_reg (.preset(up_mmcm_preset), .clk(up_clk), .rst(mmcm_rst)); ad_rst i_mmcm_rst_reg (.rst_async(up_mmcm_preset), .clk(up_clk), .rstn(), .rst(mmcm_rst));
ad_rst i_core_rst_reg (.preset(up_core_preset), .clk(dac_clk), .rst(dac_rst)); ad_rst i_core_rst_reg (.rst_async(up_core_preset), .clk(dac_clk), .rstn(), .rst(dac_rst));
// dac control & status // dac control & status

View File

@ -205,8 +205,9 @@ module up_delay_cntrl #(
assign delay_rst = delay_rst_s; assign delay_rst = delay_rst_s;
ad_rst i_delay_rst_reg ( ad_rst i_delay_rst_reg (
.preset (up_preset), .rst_async (up_preset),
.clk (delay_clk), .clk (delay_clk),
.rstn (),
.rst (delay_rst_s)); .rst (delay_rst_s));
end end
endgenerate endgenerate

View File

@ -221,8 +221,9 @@ module up_hdmi_rx #(
// resets // resets
ad_rst i_hdmi_rst_reg ( ad_rst i_hdmi_rst_reg (
.preset (up_core_preset), .rst_async (up_core_preset),
.clk (hdmi_clk), .clk (hdmi_clk),
.rstn (),
.rst (hdmi_rst)); .rst (hdmi_rst));
// hdmi control & status // hdmi control & status

View File

@ -267,8 +267,8 @@ module up_hdmi_tx #(
// resets // resets
ad_rst i_core_rst_reg (.preset(up_core_preset), .clk(hdmi_clk), .rst(hdmi_rst)); ad_rst i_core_rst_reg (.rst_async(up_core_preset), .clk(hdmi_clk), .rstn(), .rst(hdmi_rst));
ad_rst i_vdma_rst_reg (.preset(up_core_preset), .clk(vdma_clk), .rst(vdma_rst)); ad_rst i_vdma_rst_reg (.rst_async(up_core_preset), .clk(vdma_clk), .rstn(), .rst(vdma_rst));
// hdmi control & status // hdmi control & status
@ -340,7 +340,7 @@ module up_hdmi_tx #(
up_vdma_tpm_oos_s}), up_vdma_tpm_oos_s}),
.d_rst (vdma_rst), .d_rst (vdma_rst),
.d_clk (vdma_clk), .d_clk (vdma_clk),
.d_data_status ({ vdma_ovf, .d_data_status ({ vdma_ovf,
vdma_unf, vdma_unf,
vdma_tpm_oos})); vdma_tpm_oos}));

View File

@ -118,7 +118,7 @@ module up_pmod #(
// resets // resets
ad_rst i_adc_rst_reg (.preset(up_preset_s), .clk(pmod_clk), .rst(pmod_rst)); ad_rst i_adc_rst_reg (.rst_async(up_preset_s), .clk(pmod_clk), .rstn(), .rst(pmod_rst));
// adc control & status // adc control & status

View File

@ -333,8 +333,9 @@ generate if (ASYNC_SPI_CLK) begin
wire spi_reset; wire spi_reset;
ad_rst i_spi_resetn ( ad_rst i_spi_resetn (
.preset(up_sw_reset), .rst_async(up_sw_reset),
.clk(spi_clk), .clk(spi_clk),
.rstn(),
.rst(spi_reset) .rst(spi_reset)
); );
assign spi_resetn = ~spi_reset; assign spi_resetn = ~spi_reset;