# Deploying Your Design
All Moku Cloud Compile (MCC) modules are just VHDL entities that provide the Architecture of the CustomWrapper entity. For examples of what this can look like, refer to the examples pages.
Once you have such an entity, you need to deploy it to your Moku. This guide will show you how.
MCC Beta
MCC is currently in Open Beta. The workflow below will change as the product approaches a full release. If you find any inconsistencies in this documentation, please ensure that your Moku Application (desktop and/or iPad) is up to date, then reach out to Liquid Instruments Support.
# Building
To build your design, you must target a particular device. A device is a combination of hardware (e.g. Moku:Pro) and firmware (e.g. version 568).
# Find your Firmware Version
On the Desktop App, right-click your Moku, select Device Info
and note the Firmware Version. On the iPad, you can see this information by long-pressing your device.
# Create or Update your Device
On the Devices screen, add a new device or edit an existing one. The hardware and firmware versions must match those on your Moku exactly.
Firmware Mismatch
Trying to deploy an MCC design on a Moku with a different firmware version to that for which it was built can cause the Moku to hang, requiring a power cycle.
# Build your Design
In your MCC project:
- Select your newly-created device in the Target drop-down
- Build your project
- Expand the logs panel to view progress. When all indicators are green, click
bitstream.tar.gz
to download the build artifact to deploy to your Moku
The build time depends on the hardware platform and project complexity. A simple project on Moku:Go will build in 3-5 minutes while Moku:Pro designs may take up to half an hour.
# Deploying
With your build downloaded, the next step is to upload the design on to your Moku.
# Deploy in Multi-Instrument Mode
With your design now on your Moku, your design will now be deployed whenever you put a "Cloud Compile" instrument in a slot in Multi-instrument Mode (MiM). Use the MiM configuration screen to deploy your design alongside any other instruments that may be required. You can also use this screen to configure routing between your MCC design and other instruments and/or the physical BNC connectors on your Moku.
- Add at least one Cloud Compile instrument to your MiM configuration
- Apply the settings to start your design running
Once the MiM configuration is applied, you can edit your design's Control Registers by clicking in to the deployed Cloud Compile instrument. For more information, see Control Registers.