From: Florent Kermarrec Date: Thu, 16 Oct 2014 08:38:26 +0000 (+0200) Subject: ctrl: drive txcomwake and not gtx.txcomwake in K7SATAPHYDeviceCtrl X-Git-Tag: 24jan2021_ls180~2572^2~178 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bbfce2b70737cd8b55fc2f15abf0e19b71427367;p=litex.git ctrl: drive txcomwake and not gtx.txcomwake in K7SATAPHYDeviceCtrl --- diff --git a/lib/sata/k7sataphy/ctrl.py b/lib/sata/k7sataphy/ctrl.py index 8c2d1eba..d790d384 100644 --- a/lib/sata/k7sataphy/ctrl.py +++ b/lib/sata/k7sataphy/ctrl.py @@ -131,7 +131,7 @@ class K7SATAPHYHostCtrl(Module): gtx.txcomwake.eq(txcomwake & ~txcomwake_d), ] - self.comb += align_detect.eq(self.rxdata == ALIGN_VAL); + self.comb += align_detect.eq(self.rxdata == ALIGN_VAL); self.sync += \ If(fsm.ongoing("RESET"), align_timeout_cnt.eq(us(873, clk_freq)) @@ -190,7 +190,7 @@ class K7SATAPHYDeviceCtrl(Module): If(gtx.rxcominitdet, NextState("COMINIT") ) - ) + ) fsm.act("COMINIT", gtx.txelecidle.eq(1), txcominit.eq(1), @@ -220,7 +220,7 @@ class K7SATAPHYDeviceCtrl(Module): ) fsm.act("COMWAKE", gtx.txelecidle.eq(1), - gtx.txcomwake.eq(1), + txcomwake.eq(1), If(gtx.txcomfinish, NextState("RESET_CRG") )