mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
fhdl/structure: store clock domain name
This commit is contained in:
parent
3201554f76
commit
473fd20f8c
1 changed files with 1 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue