mlonmcu.setup.tasks package

Submodules

mlonmcu.setup.tasks.ara module

Definition of tasks used to dynamically install MLonMCU dependencies

mlonmcu.setup.tasks.ara.clone_ara(context: MlonMcuContext, params=None, rebuild=False, verbose=False, threads=4)[source]

Clone the ara repository.

mlonmcu.setup.tasks.arm_gcc module

Definition of tasks used to dynamically install MLonMCU dependencies

mlonmcu.setup.tasks.arm_gcc.install_arm_gcc(context: MlonMcuContext, params=None, rebuild=False, verbose=False, threads=4)[source]

Download and install GNU compiler toolchain from ARM.

mlonmcu.setup.tasks.benchmarks module

Definition of tasks used to dynamically install MLonMCU dependencies

mlonmcu.setup.tasks.benchmarks.clone_benchmarks(context: MlonMcuContext, params=None, rebuild=False, verbose=False, threads=4)[source]

Clone the embench repo.

mlonmcu.setup.tasks.cmsisnn module

Definition of tasks used to dynamically install MLonMCU dependencies

mlonmcu.setup.tasks.cmsisnn.clone_cmsis(context: MlonMcuContext, params=None, rebuild=False, verbose=False, threads=4)[source]

CMSIS repository.

mlonmcu.setup.tasks.cmsisnn.clone_cmsisnn(context: MlonMcuContext, params=None, rebuild=False, verbose=False, threads=4)[source]

CMSIS-NN repository.

mlonmcu.setup.tasks.cmsisnn.clone_ethosu_platform(context: MlonMcuContext, params=None, rebuild=False, verbose=False, threads=4)[source]

EthosU platform repository.

mlonmcu.setup.tasks.common module

Definition of tasks used to dynamically install MLonMCU dependencies

mlonmcu.setup.tasks.common.get_task_factory()[source]

mlonmcu.setup.tasks.corev module

Definition of tasks used to dynamically install MLonMCU dependencies

mlonmcu.setup.tasks.corev.clone_corevverif(context: MlonMcuContext, params=None, rebuild=False, verbose=False, threads=4)[source]

Clone the core-v-verif repo.

mlonmcu.setup.tasks.corstone300 module

Definition of tasks used to dynamically install MLonMCU dependencies

mlonmcu.setup.tasks.corstone300.install_corstone300(context: MlonMcuContext, params=None, rebuild=False, verbose=False, threads=4)[source]

Download and install corstone300 FVP from ARM.

mlonmcu.setup.tasks.cv32e40p module

Definition of tasks used to dynamically install MLonMCU dependencies

mlonmcu.setup.tasks.cv32e40p.build_cv32e40p(context: MlonMcuContext, params=None, rebuild=False, verbose=False, threads=4)[source]

Build cv32e40p rtl.

mlonmcu.setup.tasks.cv32e40p.clone_cv32e40p(context: MlonMcuContext, params=None, rebuild=False, verbose=False, threads=4)[source]

Clone the cv32e40p rtl.

mlonmcu.setup.tasks.dtc module

Definition of tasks used to dynamically install MLonMCU dependencies

mlonmcu.setup.tasks.dtc.build_dtc(context: MlonMcuContext, params=None, rebuild=False, verbose=False, threads=4)[source]

Build the device tree compile.

mlonmcu.setup.tasks.dtc.clone_dtc(context: MlonMcuContext, params=None, rebuild=False, verbose=False, threads=4)[source]

Clone the dtc repo.

mlonmcu.setup.tasks.espidf module

Definition of tasks used to dynamically install MLonMCU dependencies

mlonmcu.setup.tasks.espidf.clone_espidf(context: MlonMcuContext, params=None, rebuild=False, verbose=False, threads=4)[source]

Clone the ESP-IDF repository.

mlonmcu.setup.tasks.espidf.install_espidf(context: MlonMcuContext, params=None, rebuild=False, verbose=False, threads=4)[source]

Download and install target support for ESP-IDF toolchain.

mlonmcu.setup.tasks.etiss module

Definition of tasks used to dynamically install MLonMCU dependencies

mlonmcu.setup.tasks.etiss.build_etiss(context: MlonMcuContext, params=None, rebuild=False, verbose=False, threads=4)[source]

Build the ETISS simulator.

mlonmcu.setup.tasks.etiss.clean_etiss(context: MlonMcuContext, params=None, rebuild=False, verbose=False, threads=4)[source]

Cleanup ETISS build dir.

mlonmcu.setup.tasks.etiss.clone_etiss(context: MlonMcuContext, params=None, rebuild=False, verbose=False, threads=4)[source]

Clone the ETISS repository.

mlonmcu.setup.tasks.etiss.clone_etiss_accelerator_plugins(context: MlonMcuContext, params=None, rebuild=False, verbose=False, threads=4)[source]

Clone the plugins repository.

mlonmcu.setup.tasks.etiss.clone_microtvm_etiss(context: MlonMcuContext, params=None, rebuild=False, verbose=False, threads=4)[source]

Clone the microtvm-etiss-template repository.

mlonmcu.setup.tasks.etiss.install_etiss(context: MlonMcuContext, params=None, rebuild=False, verbose=False, threads=4)[source]

Install ETISS.

mlonmcu.setup.tasks.layergen module

Definition of tasks used to dynamically install MLonMCU dependencies

mlonmcu.setup.tasks.layergen.clone_layergen(context: MlonMcuContext, params=None, rebuild=False, verbose=False, threads=4)[source]

Clone the repo with the layergen scripts.

mlonmcu.setup.tasks.llvm module

Definition of tasks used to dynamically install MLonMCU dependencies

mlonmcu.setup.tasks.llvm.install_llvm(context: MlonMcuContext, params=None, rebuild=False, verbose=False, threads=4)[source]

Download and install LLVM.

mlonmcu.setup.tasks.mlif module

Definition of tasks used to dynamically install MLonMCU dependencies

mlonmcu.setup.tasks.mlif.clone_mlif(context: MlonMcuContext, params=None, rebuild=False, verbose=False, threads=4)[source]

Clone the MLonMCU SW repository.

mlonmcu.setup.tasks.muriscvnn module

Definition of tasks used to dynamically install MLonMCU dependencies

mlonmcu.setup.tasks.muriscvnn.build_muriscvnn(context: MlonMcuContext, params=None, rebuild=False, verbose=False, threads=4)[source]

Build muRISCV-NN.

mlonmcu.setup.tasks.muriscvnn.clone_muriscvnn(context: MlonMcuContext, params=None, rebuild=False, verbose=False, threads=4)[source]

Clone the muRISCV-NN project.

mlonmcu.setup.tasks.ovpsim module

Definition of tasks used to dynamically install MLonMCU dependencies

mlonmcu.setup.tasks.ovpsim.install_corev_ovpsim(context: MlonMcuContext, params=None, rebuild=False, verbose=False, threads=4)[source]

Download and install CORE-V OVPSim.

mlonmcu.setup.tasks.pulp module

Definition of tasks used to dynamically install MLonMCU dependencies

mlonmcu.setup.tasks.pulp.clone_pulp_freertos(context: MlonMcuContext, params=None, rebuild=False, verbose=False, threads=4)[source]

Clone the pulp-freertos repository.

mlonmcu.setup.tasks.pulp.install_gvsoc(context: MlonMcuContext, params=None, rebuild=False, verbose=False, threads=4)[source]

Setup the pulp-freertos build.

mlonmcu.setup.tasks.pulp.install_pulp_gcc(context: MlonMcuContext, params=None, rebuild=False, verbose=False, threads=4)[source]

Download and install the PULP (RISCV) GCC toolchain.

mlonmcu.setup.tasks.riscv_gcc module

Definition of tasks used to dynamically install MLonMCU dependencies

mlonmcu.setup.tasks.riscv_gcc.check_multilibs(riscvInstallDir, gccName, live=False, vext=False, pext=False)[source]
mlonmcu.setup.tasks.riscv_gcc.install_riscv_gcc(context: MlonMcuContext, params=None, rebuild=False, verbose=False, threads=4)[source]

Download and install the RISCV GCC toolchain.

mlonmcu.setup.tasks.spike module

Definition of tasks used to dynamically install MLonMCU dependencies

mlonmcu.setup.tasks.spike.build_spike(context: MlonMcuContext, params=None, rebuild=False, verbose=False, threads=4)[source]

Build Spike simulator.

mlonmcu.setup.tasks.spike.build_spike_pk(context: MlonMcuContext, params=None, rebuild=False, verbose=False, threads=4)[source]

Build Spike proxy kernel.

mlonmcu.setup.tasks.spike.clean_spike(context: MlonMcuContext, params=None, rebuild=False, verbose=False, threads=4)[source]

Cleanup Spike build dir.

mlonmcu.setup.tasks.spike.clone_microtvm_spike(context: MlonMcuContext, params=None, rebuild=False, verbose=False, threads=4)[source]

Clone the microtvm-spike-template repository.

mlonmcu.setup.tasks.spike.clone_spike(context: MlonMcuContext, params=None, rebuild=False, verbose=False, threads=4)[source]

Clone the spike simulator.

mlonmcu.setup.tasks.spike.clone_spike_pk(context: MlonMcuContext, params=None, rebuild=False, verbose=False, threads=4)[source]

Clone the spike proxy kernel.

mlonmcu.setup.tasks.srecord module

Definition of tasks used to dynamically install MLonMCU dependencies

mlonmcu.setup.tasks.srecord.build_srecord(context: MlonMcuContext, params=None, rebuild=False, verbose=False, threads=4)[source]

Build the srecord unitilties.

mlonmcu.setup.tasks.srecord.clone_srecord(context: MlonMcuContext, params=None, rebuild=False, verbose=False, threads=4)[source]

Clone the screcord repository.

mlonmcu.setup.tasks.tf module

Definition of tasks used to dynamically install MLonMCU dependencies

mlonmcu.setup.tasks.tf.build_tensorflow(context: MlonMcuContext, params=None, rebuild=False, verbose=False, threads=4)[source]

Download tensorflow dependencies and build lib.

mlonmcu.setup.tasks.tf.clone_tensorflow(context: MlonMcuContext, params=None, rebuild=False, verbose=False, threads=4)[source]

Clone the TF/TFLM repository.

mlonmcu.setup.tasks.tf.clone_tflite_pack(context: MlonMcuContext, params=None, rebuild=False, verbose=False, threads=4)[source]

Clone the tflite packing utilities.

mlonmcu.setup.tasks.tf.install_tflite_pack(context: MlonMcuContext, params=None, rebuild=False, verbose=False, threads=4)[source]

Install the tflite packing utilities.

mlonmcu.setup.tasks.tflite module

Definition of tasks used to dynamically install MLonMCU dependencies

mlonmcu.setup.tasks.tflite.download_tflite_vizualize(context: MlonMcuContext, params=None, rebuild=False, verbose=False, threads=4)[source]

Download the visualize.py script for TFLite.

mlonmcu.setup.tasks.tflmc module

Definition of tasks used to dynamically install MLonMCU dependencies

mlonmcu.setup.tasks.tflmc.build_tflite_micro_compiler(context: MlonMcuContext, params=None, rebuild=False, verbose=False, threads=4)[source]

Build the TFLM preinterpreter.

mlonmcu.setup.tasks.tflmc.clone_tflite_micro_compiler(context: MlonMcuContext, params=None, rebuild=False, verbose=False, threads=4)[source]

Clone the preinterpreter repository.

mlonmcu.setup.tasks.tvm module

Definition of tasks used to dynamically install MLonMCU dependencies

mlonmcu.setup.tasks.tvm.build_tvm(context: MlonMcuContext, params=None, rebuild=False, verbose=False, threads=4)[source]

Build the TVM framework.

mlonmcu.setup.tasks.tvm.clone_tvm(context: MlonMcuContext, params=None, rebuild=False, verbose=False, threads=4)[source]

Clone the TVM repository.

mlonmcu.setup.tasks.tvm.clone_tvm_extensions(context: MlonMcuContext, params=None, rebuild=False, verbose=False, threads=4)[source]

Clone the TVM extensions repository.

mlonmcu.setup.tasks.tvm.install_tvm(context: MlonMcuContext, params=None, rebuild=False, verbose=False, threads=4)[source]

Install TVM.

mlonmcu.setup.tasks.tvm.requires_patch(context: MlonMcuContext)[source]

mlonmcu.setup.tasks.utvmcg module

Definition of tasks used to dynamically install MLonMCU dependencies

mlonmcu.setup.tasks.utvmcg.build_utvm_staticrt_codegen(context: MlonMcuContext, params=None, rebuild=False, verbose=False, threads=4)[source]

Build the uTVM code generator.

mlonmcu.setup.tasks.utvmcg.clone_utvm_staticrt_codegen(context: MlonMcuContext, params=None, rebuild=False, verbose=False, threads=4)[source]

Clone the uTVM code generator.

mlonmcu.setup.tasks.verilator module

Definition of tasks used to dynamically install MLonMCU dependencies

mlonmcu.setup.tasks.verilator.build_verilator(context: MlonMcuContext, params=None, rebuild=False, verbose=False, threads=4)[source]

Build the verilator simulator.

mlonmcu.setup.tasks.verilator.clone_verilator(context: MlonMcuContext, params=None, rebuild=False, verbose=False, threads=4)[source]

Clone the verilator repository.

mlonmcu.setup.tasks.verilator.install_verilator(context: MlonMcuContext, params=None, rebuild=False, verbose=False, threads=4)[source]

Install the verilator simulator.

mlonmcu.setup.tasks.vicuna module

Definition of tasks used to dynamically install MLonMCU dependencies

mlonmcu.setup.tasks.vicuna.clone_vicuna(context: MlonMcuContext, params=None, rebuild=False, verbose=False, threads=4)[source]

Clone the vicuna repository.

mlonmcu.setup.tasks.zephyr module

Definition of tasks used to dynamically install MLonMCU dependencies

mlonmcu.setup.tasks.zephyr.install_zephyr(context: MlonMcuContext, params=None, rebuild=False, verbose=False, threads=4)[source]

Download and install support for the Zephyr Platform.

Module contents

mlonmcu.setup.tasks.get_task_factory()[source]