From: Florent Kermarrec Date: Fri, 26 Sep 2014 21:27:25 +0000 (+0200) Subject: host and device communicate with OOB, now need to fix ctrl X-Git-Tag: 24jan2021_ls180~2572^2~193 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=387cf90cf8ec1a5e20795c5b79c41fc635f70dfc;p=litex.git host and device communicate with OOB, now need to fix ctrl --- diff --git a/lib/sata/k7sataphy/clocking.py b/lib/sata/k7sataphy/clocking.py index 70d49e3a..2192acae 100644 --- a/lib/sata/k7sataphy/clocking.py +++ b/lib/sata/k7sataphy/clocking.py @@ -63,10 +63,10 @@ class K7SATAPHYClocking(Module): i_CLKIN1=mmcm_clk_i, i_CLKFBIN=mmcm_fb, o_CLKFBOUT=mmcm_fb, # CLK0 - p_CLKOUT0_DIVIDE_F=4.000, p_CLKOUT0_PHASE=0.000, o_CLKOUT0=mmcm_clk0_o, + p_CLKOUT0_DIVIDE_F=2.000, p_CLKOUT0_PHASE=0.000, o_CLKOUT0=mmcm_clk0_o, # CLK1 - p_CLKOUT1_DIVIDE=8, p_CLKOUT1_PHASE=0.000, o_CLKOUT1=mmcm_clk1_o, + p_CLKOUT1_DIVIDE=4, p_CLKOUT1_PHASE=0.000, o_CLKOUT1=mmcm_clk1_o, ), Instance("BUFG", i_I=mmcm_clk0_o, o_O=self.cd_sata_tx.clk), Instance("BUFG", i_I=mmcm_clk1_o, o_O=self.cd_sata.clk), diff --git a/lib/sata/k7sataphy/gtx.py b/lib/sata/k7sataphy/gtx.py index edd52538..c59f24ff 100644 --- a/lib/sata/k7sataphy/gtx.py +++ b/lib/sata/k7sataphy/gtx.py @@ -209,7 +209,7 @@ class K7SATAPHYGTX(Module): # PMA Attributes "p_OUTREFCLK_SEL_INV":0b11, - "p_PMA_RSV":0, + "p_PMA_RSV":0x00018480, "p_PMA_RSV2":0x2050, "p_PMA_RSV3":0, "p_PMA_RSV4":0, @@ -230,7 +230,7 @@ class K7SATAPHYGTX(Module): "p_PCS_PCIE_EN":"FALSE", # PCS Attributes - "p_PCS_RSVD_ATTR":0, + "p_PCS_RSVD_ATTR":0x100, # RX Buffer Attributes "p_RXBUF_ADDR_MODE":"FAST",