( ESNUG 193 Item 4 ) ---------------------------------------------- [8/26/94]

From: don@westford.ccur.com (Don Monroe)
Subject: Interpreting Overlapping Verilog Casex Sectors

Does Design Compiler define how they implement overlapping selectors in a
Verilog "casex" statement?  For example:

 casex(var)
    3'b1xx: action1;
    3'bx1x: action2;
    3'bxx1: action3;
    3'b000: action4;
 endcase

This is the syntax one would like to use for a one-hot state machine.  Does
Synopsys ALWAYS generate the correct logic?  If so, where is it documented?

  - Don Monroe
    Concurrent Computer Corp.



 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)