How to use the edalize.vunit_hooks.VUnitHooks function in edalize

To help you get started, we’ve selected a few edalize examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github olofk / edalize / edalize / vunit_hooks.py View on Github external
pass

    def create(self) -> VUnit:
        """Override this function to specify custom instantiation of VUnit."""
        return VUnit.from_argv()

    def handle_library(self, logical_name: str, vu_lib: Library):
        """Override this to customize each library, e.g. with additional simulator options."""
        pass

    def main(self, vu: VUnit):
        """Override this for final parametrization of the :class:`~vunit.ui.VUnit` instance, or for custom invocation of VUnit."""
        vu.main()


class VUnitRunner(VUnitHooks):
    """The default runner which will be used if no :file:`vunit_runner.py` is specified."""
    pass

edalize

Library for interfacing EDA tools such as simulators, linters or synthesis tools, using a common interface

BSD-2-Clause
Latest version published 9 days ago

Package Health Score

78 / 100
Full package analysis

Similar packages