"examples/community/pipeline_stable_diffusion_xl_ipex.py" did not exist on "e4b8e7928b2c1972b37af67c64ccc67e42578f8c"
Commit 47e21d7d authored by Hejing Li's avatar Hejing Li
Browse files

fix interface init

parent e35edbd9
......@@ -42,7 +42,7 @@ class EthChannel(base.Channel):
class EthSimpleNIC(base.Component):
def __init__(self, s: base.System) -> None:
super().__init__(s)
self.eth_if = EthInterface()
self.eth_if = EthInterface(self)
class BaseEthNetComponent(base.Component):
......
......@@ -56,7 +56,7 @@ class PCIeChannel(base.Channel):
class PCIeSimpleDevice(base.Component):
def __init__(self, s: base.System):
super().__init__(s)
self.pci_if = PCIeDeviceInterface()
self.pci_if = PCIeDeviceInterface(self)
def interfaces(self) -> list[base.Interface]:
return [self.pci_if]
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment