From: Sebastien Bourdeauducq Date: Fri, 15 Mar 2013 10:31:36 +0000 (+0100) Subject: xilinx_ise/CRG_SE: reset inversion support X-Git-Tag: 24jan2021_ls180~2099^2~443^2~55 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=71c817283677d58da610c57bb21a1510d1847b4e;p=litex.git xilinx_ise/CRG_SE: reset inversion support --- diff --git a/mibuild/xilinx_ise.py b/mibuild/xilinx_ise.py index 04cc7cb0..698d0b04 100644 --- a/mibuild/xilinx_ise.py +++ b/mibuild/xilinx_ise.py @@ -14,8 +14,8 @@ def _add_period_constraint(platform, clk, period): TIMESPEC "TSclk" = PERIOD "GRPclk" """+str(period)+""" ns HIGH 50%;""", clk=clk) class CRG_SE(SimpleCRG): - def __init__(self, platform, clk_name, rst_name, period): - SimpleCRG.__init__(self, platform, clk_name, rst_name) + 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) class CRG_DS(CRG):