From bbfce2b70737cd8b55fc2f15abf0e19b71427367 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Thu, 16 Oct 2014 10:38:26 +0200 Subject: [PATCH] ctrl: drive txcomwake and not gtx.txcomwake in K7SATAPHYDeviceCtrl --- lib/sata/k7sataphy/ctrl.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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") ) -- 2.30.2