From: Sebastien Bourdeauducq Date: Thu, 24 Jan 2013 12:49:49 +0000 (+0100) Subject: fhdl/structure: store clock domain name X-Git-Tag: 24jan2021_ls180~2099^2~706 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=473fd20f8c2f0aa6c118d6b4c8231e8a311cc0cf;p=litex.git fhdl/structure: store clock domain name --- diff --git a/migen/fhdl/structure.py b/migen/fhdl/structure.py index cf0383b3..09d056d4 100644 --- a/migen/fhdl/structure.py +++ b/migen/fhdl/structure.py @@ -384,6 +384,7 @@ class Fragment: class ClockDomain: def __init__(self, n1, n2=None): + self.name = n1 if n2 is None: n_clk = n1 + "_clk" n_rst = n1 + "_rst"