luna_soc.top_level_cli module
- luna_soc.top_level_cli.build(args, fragment, platform, build_dir)[source]
Top-level build command. Invokes the build steps for each artifact to be generated.
- luna_soc.top_level_cli.top_level_cli(fragment, *pos_args, **kwargs)[source]
Runs a default CLI that assists in building and running SoC gateware.
If the user’s options resulted in the board being programmed, this returns the fragment that was programmed onto the board. Otherwise, it returns None.
- Parameters:
fragment – The design to be built; or a callable that returns a fragment, – such as a Elaborable type. If the latter is provided, any keyword or positional arguments not specified here will be passed to this callable.