uvx format
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
from .apb4_cpuif import APB4Cpuif
|
||||
from .apb4_cpuif_flat import APB4CpuifFlat
|
||||
|
||||
__all__ = ["APB4Cpuif", "APB4CpuifFlat"]
|
||||
__all__ = ["APB4Cpuif", "APB4CpuifFlat"]
|
||||
|
||||
@@ -18,9 +18,7 @@ class APB4Cpuif(BaseCpuif):
|
||||
def port_declaration(self) -> str:
|
||||
"""Returns the port declaration for the APB4 interface."""
|
||||
slave_ports: list[str] = ["apb4_intf.slave s_apb"]
|
||||
master_ports: list[str] = list(
|
||||
map(self._port_declaration, self.addressable_children)
|
||||
)
|
||||
master_ports: list[str] = list(map(self._port_declaration, self.addressable_children))
|
||||
|
||||
return ",\n".join(slave_ports + master_ports)
|
||||
|
||||
@@ -78,4 +76,4 @@ class APB4Cpuif(BaseCpuif):
|
||||
address on the bus matches the address range of the given node.
|
||||
"""
|
||||
addr_pred = self.get_address_predicate(node)
|
||||
return addr_pred
|
||||
return addr_pred
|
||||
|
||||
Reference in New Issue
Block a user