From 94c5fba067c382817bc6e03af24dde4b9293b4d7 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sun, 18 Dec 2011 21:54:28 +0100 Subject: [PATCH] corelogic: fix signal exports --- migen/corelogic/divider.py | 12 ++++++------ migen/corelogic/roundrobin.py | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) 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 = [] -- 2.30.2