naps.vendor package

Submodules

naps.vendor.instance_helper module

class naps.vendor.instance_helper.HelperedInstance(*args, src_loc_at=0, **kwargs)

Bases: nmigen.hdl.ir.Elaboratable

elaborate(platform)
naps.vendor.instance_helper.InstanceHelper(source_files, instance_name)
exception naps.vendor.instance_helper.PortNotFoundException

Bases: Exception

class naps.vendor.instance_helper.SignalProxy(ports, path='')

Bases: nmigen.hdl.ast.UserValue

lower()

Conversion to a concrete representation.

property used_ports

naps.vendor.platform_agnostic_elaboratable module

class naps.vendor.platform_agnostic_elaboratable.ImplementationMarkerMetaclass(name, bases, namespace, **kwargs)

Bases: abc.ABCMeta

property implementation
class naps.vendor.platform_agnostic_elaboratable.PlatformAgnosticElaboratable(*args, src_loc_at=0, **kwargs)

Bases: nmigen.hdl.ir.Elaboratable

A helper to write Platform agnostic code. Searches in the vendor directories for the real elaboratable.

elaborate(platform)
exception naps.vendor.platform_agnostic_elaboratable.PlatformNotSupportedError

Bases: ValueError

exception naps.vendor.platform_agnostic_elaboratable.PrimitiveNotSupportedByPlatformError

Bases: ValueError

Module contents