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 8850131
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T12:49:43+00:00 2026-06-14T12:49:43+00:00

I need to use one module, I created previously using vhdl in another module

  • 0

I need to use one module, I created previously using vhdl in another module and I cant find any info on how to do this. I’m forced to use maxplus2, and the only thing I found there is that I can create include file there (will have .inc extension), but I still cant get it included in my second module. I’ve spent the whole morning searching for this info but found nothing.
Can anybody help me with it?

  • 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-14T12:49:44+00:00Added an answer on June 14, 2026 at 12:49 pm

    You don’t.

    VHDL doesn’t have include files, it avoids that whole horrid disastrous unreliable mess.

    VHDL uses separate compilation, and good VHDL tools (not all of them!) track all the dependencies correctly without includes or Makefiles.

    So you compile your other modules into a library – maybe “my_modules” – or if you don’t specify a library, just compile it, it’ll go into the default library called “work”.

    Then in your main module you name the libraries (except “work” which is always there)

    library ieee;
    library my_modules;
    

    and name the things (modules, packages) you want from them (except “work” …)

    use ieee.numeric_std.all;
    use my_modules.all;
    

    and you can now use whatever you want from these libraries. The simplest way to use a module is “direct entity instantiation” – searching this and “VHDL” will show you how.
    Or you can declare a component in your main module with the same ports as your other module, and the correct module will replace the component at elaboration (VHDL term for linking). Where you would need a component is if you haven’t written the library modules yet – i.e. top down design… otherwise direct entity instantiation is simpler.

    For now, ignore “my_modules” and just use “work” – when you get to a big design, use libraries to organise it, e.g. keep hardware and testbenches separate.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I really need to use $this->Session->read('id') in one of the model's method therefore I
I need to use one of the resourceful controllers plugins - resources_controller/ resource_controller/make_resourceful as
I need to read the editurl from one jqgrid for use in a DND
Which one am I supposed to use when I need to supply a credential
I need use this method with three distinct classes: Orders, Customers, Suppliers public void
I need use this code: <%= button_tag :class => btn btn-primary do %> <%=
So, I need use this event so I can navigate trought blog posts. I
I need to create dll for this module module MarketNews where import Foreign import
I have a form in a backend module making use of some dynamically created
I have developed a web application using Spring 3.1 In one of the module

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.