RE: [vhdl-200x-ft] FT9 & Sizing "X"

From: Peter Ashenden <peter@ashenden.com.au>
Date: Sun Dec 05 2004 - 14:25:52 PST

Jim,

I think that you are adding a requirement that was never there before. Can
we put this on the M&P list?

Cheers,

PA

--
Dr. Peter J. Ashenden                        peter@ashenden.com.au
Ashenden Designs Pty. Ltd.                   www.ashenden.com.au
PO Box 640                                   Ph:  +61 8 8339 7532
Stirling, SA 5152                            Fax: +61 8 8339 2616
Australia                                    Mobile: +61 414 70 9106
> -----Original Message-----
> From: owner-vhdl-200x-ft@eda.org 
> [mailto:owner-vhdl-200x-ft@eda.org] On Behalf Of Jim Lewis
> Sent: Saturday, 4 December 2004 04:53
> To: vhdl-200x-ft@eda.org
> Subject: [vhdl-200x-ft] FT9 & Sizing "X"
> 
> 
> Hi,
> With FT9, what is the best way to create a replicated
> string of X or 1 or 0.
>     5SB"X"      "XXXXX"
>     5SB"0"      "00000"
>     5SB"1"      "11111"
> 
> However, if I change this to hex, it changes the result for 1:
>     5SX"X"      "XXXXX"
>     5SX"0"      "00000"
>     5SX"1"      "00001"
> 
> If I make it unsigned (the default):
>     5UB"X"      "0000X"        5B"X"
>     5UB"0"      "00000"        5B"0"
>     5UB"1"      "00001"        5B"1"
> 
> Bit replication of identical values is something I use
> alot and would be handy if it was easier.  It seems odd
> that I need to use S to get the results I want.
> 
> I think we would benefit from some replication operation. 
> Something like:
>     5R'X' = 5R"X" = "XXXXX"
>     5R'0' = 5R"0" = "00000"
>     5R'1' = 5R"1" = "11111"
> 
> Cheers,
> Jim
> -- 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Jim Lewis
> Director of Training             mailto:Jim@SynthWorks.com
> SynthWorks Design Inc.           http://www.SynthWorks.com
> 1-503-590-4787
> 
> Expert VHDL Training for Hardware Design and Verification 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
Received on Sun Dec 5 14:25:42 2004

This archive was generated by hypermail 2.1.8 : Sun Dec 05 2004 - 14:26:41 PST