Ejemplo n.º 1
0
    def build(self, platform, fragment, mode="xst", **kwargs):
        self._mode = mode
        self._isemode = mode if mode in ["xst", "cpld"] else "edif"
        if mode == "yosys":
            self.ngdbuild_opt += "-p " + platform.device

        return GenericToolchain.build(self, platform, fragment, **kwargs)
Ejemplo n.º 2
0
    def build(self,
              platform,
              fragment,
              nowidelut=False,
              abc9=False,
              timingstrict=False,
              ignoreloops=False,
              bootaddr=0,
              seed=1,
              spimode=None,
              freq=None,
              compress=True,
              **kwargs):

        self._nowidelut = nowidelut
        self._abc9 = abc9
        self._timingstrict = timingstrict
        self._ignoreloops = ignoreloops
        self._bootaddr = bootaddr
        self._seed = seed
        self._spimode = spimode
        self._freq = freq
        self._compress = compress

        return GenericToolchain.build(self, platform, fragment, **kwargs)
Ejemplo n.º 3
0
    def build(self, platform, fragment,
        enable_xpm = False,
        **kwargs):

        #FIXME
        self.platform = platform
        self._check_properties()

        return GenericToolchain.build(self, platform, fragment, **kwargs)
Ejemplo n.º 4
0
    def build(self, platform, fragment,
        timingstrict   = False,
        synth_mode     = "radiant",
        **kwargs):

        self._timingstrict = timingstrict
        self._synth_mode   = synth_mode

        return GenericToolchain.build(self, platform, fragment, **kwargs)
Ejemplo n.º 5
0
    def build(self, platform, fragment,
        synth_mode = "vivado",
        enable_xpm = False,
        **kwargs):

        self._synth_mode = synth_mode
        self._enable_xpm = enable_xpm

        return GenericToolchain.build(self, platform, fragment, **kwargs)
Ejemplo n.º 6
0
    def build(self, platform, fragment,
        timingstrict   = False,
        ignoreloops    = False,
        seed           = 1,
        **kwargs):

        self.timingstrict = timingstrict
        self.ignoreloops  = ignoreloops
        self.seed         = seed

        return GenericToolchain.build(self, platform, fragment, **kwargs)
Ejemplo n.º 7
0
    def build(self, platform, fragment, enable_xpm=False, **kwargs):

        # FIXME: prjxray-db doesn't have xc7a35ticsg324-1L and xc7a200t-sbg484-1
        # use closest replacement
        self._partname = {
            "xc7a35ticsg324-1L": "xc7a35tcsg324-1",
            "xc7a200t-sbg484-1": "xc7a200tsbg484-1",
        }.get(platform.device, platform.device)

        set_verbosity_level(2)

        return GenericToolchain.build(self, platform, fragment, **kwargs)
Ejemplo n.º 8
0
    def build(self, platform, fragment,
        nowidelut      = False,
        abc9           = False,
        timingstrict   = False,
        ignoreloops    = False,
        seed           = 1,
        es_device      = False,
        **kwargs):

        self._nowidelut    = nowidelut
        self._abc9         = abc9
        self._timingstrict = timingstrict
        self._ignoreloops  = ignoreloops
        self._seed         = seed
        self._es_device    = es_device

        return GenericToolchain.build(self, platform, fragment, **kwargs)
Ejemplo n.º 9
0
    def build(self, platform, fragment, timingstrict=False, **kwargs):

        self._timingstrict = timingstrict

        return GenericToolchain.build(self, platform, fragment, **kwargs)
Ejemplo n.º 10
0
    def build(self, platform, fragment, **kwargs):

        # Apply FullMemoryWE on Design (Efiniy does not infer memories correctly otherwise).
        FullMemoryWE()(fragment)

        return GenericToolchain.build(self, platform, fragment, **kwargs)
Ejemplo n.º 11
0
    def build(self, platform, fragment, mode="xst", **kwargs):

        self._mode = mode
        self._isemode = mode if mode in ["xst", "cpld"] else "edif"

        return GenericToolchain.build(self, platform, fragment, **kwargs)