( ESNUG 291 Item 10 ) ---------------------------------------------- [5/27/98]

From: svh@networks.nera.no (Svein Haustveit)
Subject: Synopsys VHDL Compiler Handling Of X"FF" Literal Syntax

When synthsizing VHDL code originally written for AutoLogic II we find that
Synopsys does not support assignments like A <= X"FF" when A is a
standard_logic_vector(7 downto 0).  VHDL compiler interprets X"FF" as a
bit_vector and gives an error message because of the difference in types.
We have used this literal syntax in many files and would not like to
rewrite all VHDL.  Does anyone have a hint for workaround ?

  - Svein Haustveit
    NERA



 Sign up for the DeepChip newsletter.
Email
 Read what EDA tool users really think.


Feedback About Wiretaps ESNUGs SIGN UP! Downloads Trip Reports Advertise

"Relax. This is a discussion. Anything said here is just one engineer's opinion. Email in your dissenting letter and it'll be published, too."
This Web Site Is Modified Every 2-3 Days
Copyright 1991-2024 John Cooley.  All Rights Reserved.
| Contact John Cooley | Webmaster | Legal | Feedback Form |

   !!!     "It's not a BUG,
  /o o\  /  it's a FEATURE!"
 (  >  )
  \ - / 
  _] [_     (jcooley 1991)