Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8040791
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T04:00:48+00:00 2026-06-05T04:00:48+00:00

So, I recently inherited some VHDL code, and my first reaction was, VHDL has

  • 0

So, I recently inherited some VHDL code, and my first reaction was, “VHDL has structs, why do they use bit-vectors everywhere?” And then I realized this is because there does not seem to be any way to write anything like this:

entity Queue is
    generic (
        EL : type
    );
    port (
        data_in  : EL;
        data_out : EL;
        ...
    );
end entity Queue;

I really wish this were possible. Is there anything even remotely approximating it? Even if I have to retype the entity or component declarations, just some way to avoid retyping the architecture definition for every (modulo a generic width) type?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T04:00:49+00:00Added an answer on June 5, 2026 at 4:00 am

    Yes, and implementing a Queue is one of the classic reasons to do it!

    This has been in VHDL since VHDL-2008. Tool support is variable as of mid-2012. Talk about a slow-moving industry!

    • Aldec supports it completely.
    • Modelsim has partial support – can’t find a public link to their capabilities. If you have it installed, it’s in /technotes/vhdl2008.note
    • Xilinx (XST/ISIM) doesn’t support it, or even VHDL-2002. I can’t find a simple link, but these PDFs have sections on VHDL compatibility, which only talk of VHDL-1993.
    • Altera’s tools have partial support, but not for type generics
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I recently inherited some code that someone else had written. I discovered that everywhere
Our team has recently inherited code which is extremely disorganized. As a result, my
I recently inherited a dinosaur Classic ASP site that has some fresh blood pumped
In some code that I've recently inherited the responsibility for, I've found several instances
I have recently inherited some Java code and need to integrate it into a
I inherited some code that was recently attacked where the attacker sent repeated remote
I inherited some code that was recently attacked by repeated remote form submissions. Initially
I recently inherited some C# code where nearly every item in a file was
I recently inherited a Ubuntu Hardy box that acts rather funky out-of-the-box. The first
I’m looking for some advice. I recently wrapped up a project where I inherited

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.