diff options
author | Matt Ettus <matt@ettus.com> | 2010-04-26 16:16:25 -0700 |
---|---|---|
committer | Matt Ettus <matt@ettus.com> | 2010-04-26 16:16:25 -0700 |
commit | c1db109e05034e7bb1e813b8d6c965cf01619aa8 (patch) | |
tree | 56c9dfe1d059b26db25844f2b2358d45b5d749b1 /usrp2/top/u2_rev3/u2_rev3.v | |
parent | 16818dc98e97b69a028c47e66ebfb16e32565533 (diff) | |
parent | de21671b8dab89d6aaa3b6bbb99a4dc0d306121f (diff) | |
download | uhd-c1db109e05034e7bb1e813b8d6c965cf01619aa8.tar.gz uhd-c1db109e05034e7bb1e813b8d6c965cf01619aa8.tar.bz2 uhd-c1db109e05034e7bb1e813b8d6c965cf01619aa8.zip |
Merge branch 'corgan_fixes' into udp_corgan
Diffstat (limited to 'usrp2/top/u2_rev3/u2_rev3.v')
-rw-r--r-- | usrp2/top/u2_rev3/u2_rev3.v | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/usrp2/top/u2_rev3/u2_rev3.v b/usrp2/top/u2_rev3/u2_rev3.v index 23a825007..3a43e4ffe 100644 --- a/usrp2/top/u2_rev3/u2_rev3.v +++ b/usrp2/top/u2_rev3/u2_rev3.v @@ -171,8 +171,15 @@ module u2_rev3 wd <= wd + 1; assign WDI = wd[15]; - IBUFGDS clk_fpga_pin (.O(clk_fpga),.I(clk_fpga_p),.IB(clk_fpga_n)); + wire clk_fpga_unbuf; + + IBUFGDS clk_fpga_pin (.O(clk_fpga_unbuf),.I(clk_fpga_p),.IB(clk_fpga_n)); + BUFG clk_fpga_BUF (.O(clk_fpga),.I(clk_fpga_unbuf)); + defparam clk_fpga_pin.IOSTANDARD = "LVPECL_25"; + + wire cpld_clock_buf; + BUFG cpld_clock_BUF (.O(cpld_clock_buf),.I(cpld_clock)); wire exp_pps_in; IBUFDS exp_pps_in_pin (.O(exp_pps_in),.I(exp_pps_in_p),.IB(exp_pps_in_n)); @@ -310,7 +317,9 @@ module u2_rev3 reg [15:0] ser_r_int; reg ser_rklsb_int, ser_rkmsb_int; - always @(posedge ser_rx_clk) + wire ser_rx_clk_buf; + BUFG ser_rx_clk_BUF (.O(ser_rx_clk_buf),.I(ser_rx_clk)); + always @(posedge ser_rx_clk_buf) begin ser_r_int <= ser_r; ser_rklsb_int <= ser_rklsb; @@ -367,7 +376,7 @@ module u2_rev3 .ser_t (ser_t_unreg[15:0]), .ser_tklsb (ser_tklsb_unreg), .ser_tkmsb (ser_tkmsb_unreg), - .ser_rx_clk (ser_rx_clk), + .ser_rx_clk (ser_rx_clk_buf), .ser_r (ser_r_int[15:0]), .ser_rklsb (ser_rklsb_int), .ser_rkmsb (ser_rkmsb_int), |