LegUp High-Level Synthesis

Access to the Development Repository

LegUp 4.0 (August 2015) is the latest public release with full source code. The VirtualBox image for the summer 2016 HK Tutorial (see below) is a binary-only release containing recently developed functionality, such as streaming and bitwidth minimization.

Access to the development git repository is provided on a case-by-case basis by request. Please email your request to Prof. Anderson.

Download LegUp on a Virtual Machine

Please download our provided VirtualBox machine image to easily run LegUp on a Linux, Windows or Apple machine. This virtual machine also contains Altera Quartus 15.0 and ModelSim web editions. The virtual machine is running Ubuntu 14.04 with LegUp 4.0, Quartus 15.0, and ModelSim already installed.

Install VirtualBox

To run the virtual machine image first download and install VirtualBox 5.0.2 or later (or 4.2.6 for LegUp 3.0) from:
https://www.virtualbox.org/wiki/Downloads (it's free)

Download VirtualBox Machine Image

Download the following files:

Description Download MD5 Checksum
VirtualBox machine image
for LegUp 4.0
legup-4.0-ubuntu-64-14.04.vdi (22.8GB)
fb51584545b95f03b53ef51304506720
VirtualBox machine image
for 2016 HK Tutorial
legup-hk2016.vdi (28GB)
c3215191f7bed8aca87aa04f18af4310
VirtualBox machine image
for 2014 HK Tutorial
legup-ubuntu-12.04.vdi (11GB)
-
VirtualBox machine image
for LegUp 3.0
legup-3.0-ubuntu-12.04.vdi (8.4GB)
5edd38e345cb3c422bff7aad903708fa

Download Tip
The machine image can take some time to download, so if you're on Linux try using wget:
wget http://legup.eecg.utoronto.ca/legup-4.0-ubuntu-64-14.04.vdi
If the download is interrupted for any reason, resume with the -c option:
wget -c http://legup.eecg.utoronto.ca/legup-4.0-ubuntu-64-14.04.vdi

Setting up the Virtual Machine in VirtualBox

After you've downloaded the machine image, follow the directions below:

  1. Launch VirtualBox
  2. Click "New"
  3. In the name field type "LegUp", in the Type pulldown select Linux, in the Version pulldown select Ubuntu (64 bit)
  4. Click "Continue"
  5. Set memory size to at least 2000 MB
  6. Click "Continue"
  7. Select "Use an existing virtual hard drive file" and select the VM image you downloaded (click little disk icon)
  8. Click "Create"
  9. Select the new virtual machine and click Settings.
  10. Click Display.
  11. Select "Enable 3D Acceleration"
  12. Click Ok.
  13. Select the LegUp VM in the left panel and click "Start"
Running LegUp

Select the virtual machine you created, and click Start. The Virtual Machine should boot up.

Login information:
Username: legup
Password: letmein

If fullscreen does not work, you need to install Guest Additions. To do this, click on Devices at the top menu of the Virtual Machine window, and click on Install Guest Additions.

To run LegUp, click the black terminal button at the top left of the screen.
LegUp is installed in ~/legup-4.0.
To run the LegUp test suite (takes about 20 minutes):
cd legup-4.0/examples
runtest

Source Download

If you wish to compile LegUp from source use the links below (Linux required). We do not support compiling from source, please use the VM image if you run into issues.

Date Version Source Code Release Notes Documentation

Feedback

If you have questions or feedback, send them to our mailing list: legup-dev@legup.org or email us at: legup@eecg.toronto.edu