Skip to content

Generate VHDL dependencies in a Makefile format

License

Notifications You must be signed in to change notification settings

dominiksalvet/vhdldep

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vhdldep

CI status GitPack standard-readme compliant Hits

Simple VHDL dependency generator

The development of VHDL projects very often involves building multiple VHDL files. Based on designed architecture, some files must be built before others. That might cause problems with finding the correct build order. And that is exactly where vhdldep comes in handy.

Vhdldep analyzes use statements of given VHDL files and returns their file dependencies in a makefile format. That output can be easily used to determine the correct build order to help automate building VHDL projects.

Install

Vhdldep uses GitPack. Local installation/update:

gitpack install github.com/dominiksalvet/vhdldep

Usage

Get VHDL file dependencies:

vhdldep <file>

With custom prefix for generated paths:

vhdldep -p <prefix> <file>

Example

vhdldep example

The alu.vhdl file has been borrowed from the Limen Alpha processor.

Contributing

Do you want to contribute? Do you have any questions? Then the CONTRIBUTING.md file is here for you.

License

This project is licensed under the MIT License.