clock/efinix/create_clkout: Set with_reset to True by default (similar to others vendors).

This commit is contained in:
Florent Kermarrec 2022-02-18 12:08:24 +01:00
parent 6049018f10
commit 3510daaf0c
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ class TRIONPLL(Module):
self.logger.info("Using {}".format(block["resource"])) self.logger.info("Using {}".format(block["resource"]))
def create_clkout(self, cd, freq, phase=0, margin=1e-2, name="", with_reset=False): def create_clkout(self, cd, freq, phase=0, margin=1e-2, name="", with_reset=True):
assert self.nclkouts < self.nclkouts_max assert self.nclkouts < self.nclkouts_max
clk_out_name = f"{self.name}_clkout{self.nclkouts}" if name == "" else name clk_out_name = f"{self.name}_clkout{self.nclkouts}" if name == "" else name