From: Sebastien Bourdeauducq Date: Sun, 18 Dec 2011 20:54:28 +0000 (+0100) Subject: corelogic: fix signal exports X-Git-Tag: 24jan2021_ls180~2099^2~1122 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=94c5fba067c382817bc6e03af24dde4b9293b4d7;p=litex.git corelogic: fix signal exports --- diff --git a/migen/corelogic/divider.py b/migen/corelogic/divider.py index f411b92f..fb221475 100644 --- a/migen/corelogic/divider.py +++ b/migen/corelogic/divider.py @@ -4,12 +4,12 @@ class Inst: def __init__(self, w): self.w = w - start_i = Signal() - dividend_i = Signal(BV(w)) - divisor_i = Signal(BV(w)) - ready_o = Signal() - quotient_o = Signal(BV(w)) - remainder_o = Signal(BV(w)) + self.start_i = Signal() + self.dividend_i = Signal(BV(w)) + self.divisor_i = Signal(BV(w)) + self.ready_o = Signal() + self.quotient_o = Signal(BV(w)) + self.remainder_o = Signal(BV(w)) def get_fragment(self): w = self.w diff --git a/migen/corelogic/roundrobin.py b/migen/corelogic/roundrobin.py index 850fbd2f..af1e057d 100644 --- a/migen/corelogic/roundrobin.py +++ b/migen/corelogic/roundrobin.py @@ -4,8 +4,8 @@ class Inst: def __init__(self, n): self.n = n self.bn = bits_for(self.n-1) - request = Signal(BV(self.n)) - grant = Signal(BV(self.bn)) + self.request = Signal(BV(self.n)) + self.grant = Signal(BV(self.bn)) def get_fragment(self): cases = []