From 473fd20f8c2f0aa6c118d6b4c8231e8a311cc0cf Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Thu, 24 Jan 2013 13:49:49 +0100 Subject: [PATCH] fhdl/structure: store clock domain name --- migen/fhdl/structure.py | 1 + 1 file changed, 1 insertion(+) 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" -- 2.30.2