Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > VHDL > Predefined attributes('Pos & 'Val) support issue in Synplify_pro

Reply
Thread Tools

Predefined attributes('Pos & 'Val) support issue in Synplify_pro

 
 
Joshua Joshua is offline
Junior Member
Join Date: Jan 2009
Posts: 1
 
      01-16-2009
Hi all,

It seems that Synpliy_pro ( Version8.8 ) only supports sequential encoding for the predefined attribute T'Val(nPos) or T'Pos(eVal) supposing 'T' is a VHDL enumeration type. For any other encoding styles, it reports an error like this:

s.srr:@E: CD114 :"encoding.vhd":20:24:20:33|type myenum needs a syn_enum_encoding attribute of "sequential".

Example case:

type myEnum is (AA, BB, CC, DD, EE, FF, GG, HH);
attribute syn_enum_encoding : string;
attribute syn_enum_encoding of myEnum : type is "onehot";
...
signal eVal: myEnum;
...
out1 <= myEnum'Pos(eVal); //synplify_pro reports error here

Does anybody know whether higher versions of Synplify support all encoding style for the referred two attributes or it only support sequential encoding as declared in the message?

Regards,
Joshua
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ncelab // synplify_pro // qu(at)rtus // bossbebes VHDL 0 07-08-2008 11:40 AM
synthesizing asynchronous state machines with Synplify_pro vishali Hardware 0 03-22-2007 08:28 AM
predefined function/library Vincent VHDL 3 09-08-2003 06:13 PM
how to show predefined text instrad of value in Repeater. George Ter-Saakov ASP .Net 2 07-22-2003 12:22 PM
How to include multiple frames in frameset without predefined dimensions/vertical scrollbar Don Schneider HTML 0 06-27-2003 03:32 PM



Advertisments