UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 67869

HLS - C/RTL Cosimulation fails when reading contents of init.tcl

Description

When trying to run C/RTL Cosimulation in Vivado HLS, XSIM fails to open as there are invalid commands present in init.tcl. 

Below is an example of one error message that can occur during C/RTL Cosimulation.

****** xsim v2016.2 (64-bit)
  **** SW Build 1577090 on Thu Jun  2 16:32:40 MDT 2016
  **** IP Build 1577682 on Fri Jun  3 12:00:54 MDT 2016
    ** Copyright 1986-2016 Xilinx, Inc. All Rights Reserved.

Sourcing tcl script 'C:/Xilinx/Vivado/2016.2/scripts/init.tcl'
invalid command name "enable_beta_device"
    while executing
"enable_beta_device"

Solution

XSIM should not be reading an init.tcl file when opened through HLS C/RTL/Cosimulation.

The current work-around is to edit init.tcl to include "load_features core" as the first executed line, so that the first two lines would look like the following:

load_features core
enable_beta_device


The limitation is expected to be resolved in a future release of Vivado HLS.

AR# 67869
Date Created 09/14/2016
Last Updated 09/22/2016
Status Active
Type General Article
Tools
  • Vivado Design Suite
  • Vivado Design Suite - 2016.2