Try SDSoC for Free on Linux

sdsoc_logo_1

This post show you how to try SDSoC for free on Linux: install SDSoC 2018.2 on Ubuntu 16.04.3, get a free 60-day license and run SDSoC.

Notes

  • The full download of SDSoC is 20.35 GB

  • This guide was built using a fresh install of Ubuntu 16.04.3 where Download updates and Install third party software were not selected

OSes Supported

  • Windows 7.1: 64-bit

  • Windows 10 Professional versions 1709 and 1803: 64-bit

  • Red Hat Enterprise Linux 6.6-6.9: 64-bit

  • Red Hat Enterprise Linux 7.2-7.4: 64-bit

  • CentOS Linux 6.6-6.9: 64-bit

  • CentOS Linux 7.2-7.4: 64-bit

  • Ubuntu Linux 16.04.3 LTS: 64-bit - Additional library installation required

Boards Support & Memory Needed Per Board

SDSoC does not state the required memory in the SDx Development Environment Release Notes, Installation and Licensing Guide.

Assuming SDSoC runs “Vivado” under the hood, the memory requirements should be similar to the memory requirements of Vivado.

At [link] under Memory Recommendations for Vivado the memory recommendations for Vivado 2018.2 have been listed.

Here are the typical and peak memory usages (and cost and links to buy) for each board supported in SDSoC 2018.2:

SoC/MPSoC Board Cost Chip Version Typical GB Peak GB Link
Xilinx Zynq-7000 SoC ZC702 $ 895.00 XC7Z020-CLG484-1 1.3 1.9 link
Xilinx Zynq-7000 SoC ZC706 $ 2,495.00 XC7Z045 FFG900-2 3 5 link
Xilinx Zynq-7000 SoC ZedBoard $ 449.00 XC7Z020-CLG484 1.3 1.9 link
Xilinx Zynq UltraScale+ MPSoC ZCU102 $ 2,495.00 XCZU9EG-2FFVB1156 10 15 link
Zynq® UltraScale+™ MPSoC EV ZCU104 $ 895.00 XCZU7EV-2FFVC1156 9 14 link
Zynq® UltraScale+™ MPSoC EV ZCU106 $ 1,995.00 XCZU7EV-2FFVC1156 9 14 link

Spreadsheet available at [link].

Sizing a Virtual Machine

If you are installing SDSoC 2018.2 on a VirtualBox virtual machine and using a ZC702 use 5GB of RAM and 100 GB of disk. I named my sdsoc_ubuntu-16.04.3-desktop-amd64_5GB-RAM_100GB-Disk. 5 GB is 5120 MB.

Help!

If you need help installing Ubuntu 16.04.3 on VirtualBox 5.2.12 running on Windows 7 SP1 check out [link].

Get SDSoC

1. Go to Xilinx at [link] and (A) click Developer Zone and (B) click SDSoC Development Environment.

sdsoc_development_environment_2

2. (A) Click Download / Buy and (B) click SDSoC Downloads (License Required)

sdsoc_downloads_3

3. Click SDx 2018.2 SFD

click_sdx_2018_2_sfd_4

Add Packages

1. Type sudo apt-get upgrade;

2. Type sudo apt-get install build-essential module-assistant;

3. Type sudo dpkg –add-architecture i386

4. Type sudo apt-get update

5. Type sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386

6. Type sudo apt-get install g++-multilib

7. Type sudo apt-get install libgtk2.0-0:i386 dpkg-dev:i386

8. Type sudo ln -s /usr/bin/make /usr/bin/gmake

Extract

1. Type mkdir ~/xpkgs

2. Move Xilinx_SDx_2018.2_0614_1954.tar.gz to ~/xpkgs

3. Type cd ~/xpkgs

4. Type tar -zxvf Xilinx_SDx_2018.2_0614_1954.tar.gz

5. Type cd Xilinx_SDx_2018.2_0614_1954/

6. Type ./xsetup

You should see:

sdx_environments_boot_screen_5

…followed by:

sdx_welcome_screen_6

If you click the Preferences button:

preferences_7

…you’ll see a place where you can set up a proxy:

proxy_settings_8

…and/or select the amount of CPU bandwidth you wish to use during installation:

cores_cpu_settings_9

1. Click Next >

click_next_10

2. (A) Agree to the Xilinx Inc. End User License Agreement, (B) WebTalk Terms And Conditions and (C) Third Party Software End User License Agreement and (D) click Next >

agree_to_terms_and_conditions_11

3. Click off everything you don’t need. In my case I only care about Zynq-7000 so I can save 12.59 GB

Calculation

I started with the stated space and started subtracing features. You can use this to figure out how “big” each sub feature is.

Original disk space required: 48.85 GB

- Devices / Built-in Platforms and associated device for SDAccel: 47.63 GB

- Devices / Devices for Custom Platforms / SoCs / Zynq UltraScale+ MPSoC: 45.51 GB

- Devices / Devices for Custom Platforms / SoCs / Zynq UltraScale+ RFSoC: 44.12 GB

- Devices / Devices for Custom Platforms / 7 Series: 42.82 GB

- Devices / Devices for Custom Platforms / UltraScale: 39.39 GB

- Devices / Devices for Custom Platforms / UltraScale+: 36.26 GB

…once configured click Next >

once_configured_click_next_12_and_16

If you see Cannot write to /opt/Xilinx. Check the read/write permissions. as seen here: (if you don’t jump to 4.)

check_read_write_perms_13

Open a new terminal window and:

Type sudo mkdir -p /opt/Xilinx

Type sudo chmod -R a+rwX /opt/Xilinx

…as seen here:

type_commands_into_console_14

Then click < Back

click_back_15

Then Next >

once_configured_click_next_12_and_16

4. …and you’ll see the following. Click Next >.

select_destination_directory_17

Here are the Installation location(s):

  • /opt/Xilinx/SDx/2018.2

  • /opt/Xilinx/Vivado/2018.2

  • /opt/Xilinx/SDK/2018.2

  • /opt/Xilinx/DocNav

5. Finally, click Install

click_install_18

You’ll see the Installation Progress screen:

installation_progress_screen_19

At the end you’ll see a pop up that says Installation completed successfully. and the Vivado License Manager 2018.2 popping up behind the Installation Progress window.

6. Click OK.

installation_completed_successfullly_20

You’ll see the Vivado License Manager:

vivado_license_manager_21

Get a 60-Day License

1. Go to https://www.xilinx.com/getproduct and sign in.

2. (A) Click the SDSoC Environment: 60 Day Evaluation License checkbox then click (B) Generate Node-Locked License

click_sdsoc_enviroment_60_day_evaluation_license_22

3. (A) Click Select a host… then (B) Add a host…

add_a_host_23

4. Back in the License Manager, click (A) View Host Information then record (B) the Host Name and (C) the Network Interface Card (NIC) ID

record_network_interface_card_24

5. (A) Enter the Host Name, (B) select Linux 64-bit, (C) select Ethernet MAC, (D) enter in the Network Interface Card (NIC) ID from the previous step into the Host ID value and (E) click Add.

add_network_interface_card_25

6. Click Next

click_next_26

7. Click Next again

click_next_again_27

8. Review the following (note the email address) and click the x

review_email_adress_28

9. Open the email the license was emailed too and save the license to your home directory

open_email_for_license_29

10. (A) Select the Save file radio button and (B) click OK

select_save_file_30

11. In the License Manager, (A) click Load License and (B) click Open

click_load_license_31

12. Click OK

license_installation_was_successful_32

13. (A) Click View License Status, (B) look for SDSoC_Tools and if everything looks good (C) click the x to close the License Manager

view_license_status_33

14. Click Yes

confirm_exit_license_manager_34

Running SDSoC

Type source /opt/Xilinx/SDx/2018.2/settings64.sh

Type sdx

You’ll see:

launch_eclipse_launcher_35

Set the path to the workspace you’d like to use and click OK

set_path_to_workspace_36

It will take a moment to come up.

After a moment, you’ll see:

sdx_launched_37

Congratulations! You installed SDSoC!

Thank You!

Thank you for reading this!

Click the subscribe button above to get updates and special offers.

Reference

SDx Development Environment Release Notes, Installation and Licensing Guide UG1238 (v2018.2) June 6, 2018 at [link]

SDSoC Environment Tutorial, Introduction, UG1028 (v2018.2) July 2, 2018 [link] actually at [link]