Home > Community > Tags > unions
 
Login with a Cadence account.
Not a member yet?
Create a permanent login account to make interactions with Cadence more convenient.

Register | Membership benefits
Get email delivery of the Cadence blog (individual posts).
 

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

unions

  • Re: How/Where/when to use unions

    Hi Pooja, Basically you use unions to have different interpretations of a single daya type. Please check the following code, i have not used packed here and unpacked will work here. You missed the initial begin-end block. Other than that your code is flawless. program p1; typedef union packed { int i;...
    Posted to Functional Verification (Forum) by Vinayhonnavara on Mon, Nov 23 2009
Page 1 of 1 (1 items)