Skip to content

Q: Initialization procedure  #175

Description

@leloup314

Is there a particular reason for the following syntax to be necessary?

from basil.dut import Dut

# Instantiate my_device
my_device = Dut(my_config)
my_device.init()  # Additionally call an init method on the instance manually

Why not call my_device.init inside the instances __init__?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions