From 633e5e6747755319a983a8c6d96189f885b98559 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sat, 30 Mar 2013 11:29:46 +0100 Subject: [PATCH] fhdl/module/finalize: pass additional args to do_finalize --- migen/fhdl/module.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/migen/fhdl/module.py b/migen/fhdl/module.py index 5cf7a7bb..02ea7087 100644 --- a/migen/fhdl/module.py +++ b/migen/fhdl/module.py @@ -147,12 +147,12 @@ class Module: self._submodules = [] return r - def finalize(self): + def finalize(self, *args, **kwargs): if not self.finalized: self.finalized = True # finalize existing submodules before finalizing us subfragments = self._collect_submodules() - self.do_finalize() + self.do_finalize(*args, **kwargs) # finalize submodules created by do_finalize subfragments += self._collect_submodules() # resolve clock domain name conflicts -- 2.30.2