Table of Contents

Xilinx

Mojo Development Board

Installation

Xilinx ISE Webpack

Borrowed the Mojo V3 development board that comes packaged with the ATmega32U4 and Xilinx Spartan-6 FPGA, from Adrian. The latter (Spartan-6) is long discontinued, and its development framework has already reached EOL. Archives of the last updated Xilinx ISE Webpack is still available though, following the instructions below (noting the need for account creation and export declaration form before downloading):

Following the O'Reilly guide to install the ISE Webpack license. After running the ISE (script at /opt/Xilinx/14.7/ISE_DS/ISE/bin/lin64/ise), use the screenshots below as a guide to obtain a license and load it:

Mojo IDE

The Mojo IDE is a little simpler, with download links supplied on the Alchitry Labs download page. The program runs on Java, so for Ubuntu, install the JRE as well:

sudo apt install default-jre

For serial port access, add current user to dialout group, and copy driver files to rules:

sudo usermod -aG dialout MYUSER
sudo cp /usr/local/tools/alchitry-labs-1.2.7/driver/99* /etc/udev/rules.d/

For optional convenience access to the Mojo IDE via run template (Alt-F2), add a symbolic link to /usr/bin:

ln -s /usr/local/tools/alchitry-labs-1.2.7/alchitry-labs /usr/bin/alchitry-labs

Connecting board

[909168.722600] usb 5-1: new full-speed USB device number 16 using xhci_hcd
[909168.901383] usb 5-1: New USB device found, idVendor=29dd, idProduct=8001, bcdDevice= 1.00
[909168.901399] usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[909168.901406] usb 5-1: Product: Mojo V3
[909168.901410] usb 5-1: Manufacturer: Embedded Micro
[909168.982432] cdc_acm 5-1:1.0: ttyACM0: USB ACM device
[909168.988817] input: Embedded Micro Mojo V3 Mouse as /devices/pci0000:00/0000:00:08.1/0000:05:00.4/usb5/5-1/5-1:1.2/0003:29DD:8001.000A/input/input41
[909168.989057] input: Embedded Micro Mojo V3 Keyboard as /devices/pci0000:00/0000:00:08.1/0000:05:00.4/usb5/5-1/5-1:1.2/0003:29DD:8001.000A/input/input42
[909169.047021] hid-generic 0003:29DD:8001.000A: input,hidraw5: USB HID v1.01 Mouse [Embedded Micro Mojo V3] on usb-0000:05:00.4-1/input2

Build project logs for the default Mojo top level program

Tutorial and description on initial top level Verilog program here.

Others