altera_quartus: fix clock domain name
This commit is contained in:
parent
3b19dfc412
commit
38e92eb92b
|
@ -14,7 +14,7 @@ def _add_period_constraint(platform, clk, period):
|
|||
class CRG_SE(SimpleCRG):
|
||||
def __init__(self, platform, clk_name, rst_name, period, rst_invert=False):
|
||||
SimpleCRG.__init__(self, platform, clk_name, rst_name, rst_invert)
|
||||
_add_period_constraint(platform, self.cd.clk, period)
|
||||
_add_period_constraint(platform, self.cd_sys.clk, period)
|
||||
|
||||
def _format_constraint(c):
|
||||
if isinstance(c, Pins):
|
||||
|
|
Loading…
Reference in New Issue