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# 40412

System Generator - BitBasher - Error: expected a positive integer at column ##

Description

I'm attempting to use the Sysgen BitBasher block to slice a bus into multiple outputs while making use of a parameter or mask. 

For example:

out1 = {input[external_param:4]}
out2 = {input[3:0]}

When doing so, I encounter the following error:

The following error occurred with the test/BitBasher block:  
Expected a positive integer at column ## in line #


Why does this error occur?

Solution

This error occurs because BitBasher does not support masked parameterization of expressions.

For a list of limitations of this block, see the inline help for this block. 

Help for the block is available by right-clicking on the block and selecting help.


AR# 40412
Date Created 02/01/2011
Last Updated 09/02/2014
Status Active
Type General Article
Tools
  • System Generator for DSP - 12.1
  • System Generator for DSP - 12.2
  • System Generator for DSP - 12.3
  • System Generator for DSP - 12.4