Answers Database


F1.5iS2: XABEL: Registered Sets cannot be assigned using HEX, Octal, Binary or Decimal representation


Record #6288

Product Family: Software

Product Line: Data I/O

Product Part: xabel

Problem Title:
F1.5iS2: XABEL: Registered Sets cannot be assigned using HEX, Octal, Binary or Decimal representation



Problem Description:
Urgency: Standard

General Description: When making an assignment to a registered bus like:

      MyBus := 5;
or
      MyBus := ^h5;

the bus elements are not implemented correctly.


Solution 1:

Using the binary, octal, decimal, or hex representation works with combinatorial set assignments or relational operators (==, >=, >,etc...). However, when using registered set assignments the actual set needs to be used.

Example:

Declarations
     Bus0..Bus2   PIN istype 'reg';
     MyBus = [Bus0..Bus2];	     "This creates a registered set.

Equations
      MyBus := [1,0,1]; "is the same as

    "Bus0 := '1';
    "Bus1 := '0';
    "Bus2 := '1';




End of Record #6288 - Last Modified: 12/06/99 08:55

For the latest news, design tips, and patch information on the Xilinx design environment, check out the Technical Tips!