Skip to main content

A script to fix Vivado absolute path issues when working with git.

Project description

vivado-xpr-fixer

Fixes the project path name when using Vivado and Git together.

Problem:

Vivado uses fully qualified pathnames when describing the location of the project file. This causes issues when multiple people are working on multiple machines with the same Vivado project as the pathnames are likely to be different.

Solution:

This script simply modifies the project file so that the pathname is fixed to the directory containing the project file.

Installation:

This script can be installed using pip with:

user@console~$ python3 -m pip install --user --upgrade vivado_xpr_fixer

Installation from source

To install from source clone this repositry then run:

user@console~$ python3 setup.py install

Installing the Git Hook:

This script can operate as a git hook. This means that it will automatically run whenever you perform a git pull. You will need to install the git hook on every client machine as hooks aren't stored in the repository.

user@console~$ vivado-xpr-fixer install

Note that "python" will need to be installed somewhere where git can execute it.

Removing the Git Hook:

user@console~$ vivado-xpr-fixer install

Manually Updating the XPR File:

user@console~$ vivado-xpr-fixer update

Note that you won't need to do this if you have it running via a git hook.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vivado-xpr-fixer-1.0.0.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

vivado_xpr_fixer-1.0.0-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file vivado-xpr-fixer-1.0.0.tar.gz.

File metadata

  • Download URL: vivado-xpr-fixer-1.0.0.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.5

File hashes

Hashes for vivado-xpr-fixer-1.0.0.tar.gz
Algorithm Hash digest
SHA256 af48858c5726d9b8287f7a0ad7eb6141577f6ddfabab39851495e9cb58852a17
MD5 e2dad785b4d4a60aa80af23265ab2009
BLAKE2b-256 0427d440ede158c417c62f31d8f5d650dc99bcb729b627028fc75ea30777a344

See more details on using hashes here.

File details

Details for the file vivado_xpr_fixer-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: vivado_xpr_fixer-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.5

File hashes

Hashes for vivado_xpr_fixer-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 103cb5474c4f969c15b0b79fe0c2013ab39722a5ea1f1ffabade95297b350e37
MD5 cfc2284fe327c01893048ede27656eea
BLAKE2b-256 57bbfcbdacb4bd31657b05a72bae00a76f09a9d33a2c2752fe3e53d2d1ae21f9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page