IRON 0d9d245f13ac73bfe91a5cd530f8af84b35caa61
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
iron.program.Program Class Reference

Public Member Functions

 __init__ (self, Device device, Runtime rt)
 
 resolve_program (self, device_name="main")
 

Protected Member Functions

 _print_verify (self, ctx)
 

Protected Attributes

 _device
 
 _rt
 

Constructor & Destructor Documentation

◆ __init__()

iron.program.Program.__init__ (   self,
Device  device,
Runtime  rt 
)
A Program represents all design information needed to run the design on a device.

Note: MLIR verification (``ctx.module.operation.verify()``) is performed inside
:meth:`resolve_program`, not during construction.

Args:
    device (Device): The device used to generate the final MLIR for the design.
    rt (Runtime): The runtime object for the design.

Member Function Documentation

◆ _print_verify()

iron.program.Program._print_verify (   self,
  ctx 
)
protected

◆ resolve_program()

iron.program.Program.resolve_program (   self,
  device_name = "main" 
)
This method resolves the program components in order to generate MLIR.

Tiles are emitted as aie.logical_tile ops. The --aie-place-tiles pass
in the compilation pipeline converts them to aie.tile ops.

Returns:
    module (Module): The module containing the MLIR context information.

Member Data Documentation

◆ _device

iron.program.Program._device
protected

◆ _rt

iron.program.Program._rt
protected

The documentation for this class was generated from the following file: