Skip to content

Commit

Permalink
xilinx_ise/CRG_SE: reset inversion support
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastien Bourdeauducq committed Mar 15, 2013
1 parent 37d8029 commit 71c8172
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mibuild/xilinx_ise.py
Expand Up @@ -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):
Expand Down

0 comments on commit 71c8172

Please sign in to comment.