ad_serdes_clk: Fix generate block

main
Istvan Csomortani 2017-04-20 18:49:00 +03:00
parent f0da125a4e
commit faa5e3d667
1 changed files with 52 additions and 50 deletions

View File

@ -89,7 +89,7 @@ module ad_serdes_clk #(
// instantiations
generate
if (CLKIN_DS_OR_SE_N == 1'b1) begin
if (CLKIN_DS_OR_SE_N == 1) begin
IBUFGDS i_clk_in_ibuf (
.I (clk_in_p),
.IB (clk_in_n),
@ -133,7 +133,9 @@ module ad_serdes_clk #(
.up_drp_ready (up_drp_ready),
.up_drp_locked (up_drp_locked));
end
endgenerate
generate
if (MMCM_OR_BUFR_N == 0) begin
BUFIO i_clk_buf (
.I (clk_in_s),