From 71c817283677d58da610c57bb21a1510d1847b4e Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Fri, 15 Mar 2013 11:31:36 +0100 Subject: [PATCH] xilinx_ise/CRG_SE: reset inversion support --- mibuild/xilinx_ise.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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): -- 2.30.2