altera/ad_serdes_clk: The IO_PLL reset is active heigh

main
AndreiGrozav 2016-09-16 14:20:39 +03:00
parent 858ea09048
commit 13a35f7a2a
2 changed files with 5 additions and 4 deletions

View File

@ -90,8 +90,8 @@ proc p_alt_serdes {} {
add_connection alt_serdes_pll_reconfig.reconfig_to_pll alt_serdes_pll.reconfig_to_pll
add_interface drp_clk clock sink
set_interface_property drp_clk EXPORT_OF alt_serdes_pll_reconfig.mgmt_clk
add_interface drp_rstn reset sink
set_interface_property drp_rstn EXPORT_OF alt_serdes_pll_reconfig.mgmt_reset
add_interface drp_rst reset sink
set_interface_property drp_rst EXPORT_OF alt_serdes_pll_reconfig.mgmt_reset
add_interface pll_reconfig avalon slave
set_interface_property pll_reconfig EXPORT_OF alt_serdes_pll_reconfig.mgmt_avalon_slave
}

View File

@ -77,13 +77,14 @@ module ad_serdes_clk (
reg up_drp_locked_int = 'd0;
// internal signals
wire up_drp_reset;
wire [31:0] up_drp_rdata_int_s;
wire up_drp_busy_int_s;
wire up_drp_locked_int_s;
// defaults
assign up_drp_reset = ~up_rstn;
assign out_clk = div_clk;
assign up_drp_rdata = up_drp_rdata_int;
assign up_drp_ready = up_drp_ready_int;
@ -144,7 +145,7 @@ module ad_serdes_clk (
.loaden_loaden (loaden),
.ls_clk_clk (div_clk),
.drp_clk_clk (up_clk),
.drp_rstn_reset (up_rstn),
.drp_rst_reset (up_drp_reset),
.pll_reconfig_waitrequest (up_drp_busy_int_s),
.pll_reconfig_read (up_drp_rd_int),
.pll_reconfig_write (up_drp_wr_int),