Package Details: ghdl-mcode-git 2.0.0dev.r6542.gbbdff59e4-1

Git Clone URL: (read-only, click to copy)
Package Base: ghdl-mcode-git
Description: VHDL simulator - mcode back-end
Upstream URL:
Licenses: GPL2
Conflicts: ghdl, ghdl-gcc-git, ghdl-llvm-git
Provides: ghdl=2.0.0dev.r6542.gbbdff59e4, ghdl-git=2.0.0dev.r6542.gbbdff59e4
Submitter: marzoul
Maintainer: marzoul
Last Packager: marzoul
Votes: 1
Popularity: 0.000002
First Submitted: 2015-12-02 23:02
Last Updated: 2021-08-29 16:22

Required by (9)

Sources (1)

Latest Comments

marzoul commented on 2021-08-29 16:17

Other workaround on user side is to skip check with makepkg --nocheck. This removes the need for these python dependencies.

xiretza commented on 2021-08-29 14:18

Editing the pkgver in a VCS package doesn't actually do anything, as it is generated during build. Just rebuilding python-pyvhdlmodel-git and changing the ghdl depends to python-pyvhdlmodel>=0.12 should do the trick.

istvank commented on 2021-08-29 12:41

Update fails at check() stage on my Arch installation due to a dependency on python-pyvhdlmodel v0.12.0.


The python unittests provided with GHDL depend on the latest python-pyvhdlmodel now.

I had the following, now outdated dependency installed:

community/python-pyvhdlmodel 0.11.1-1 (46.0 KiB 318.0 KiB) 
    An abstract language model of VHDL written in Python
Workaround that worked for me now

I had to replace my outdated pyvhdlmodel with latest:


by installing the AUR package with

yay -Syu --editmenu

and editing the pkgver in the PKGBUILD to point to v0.12.0:


After allowing yay to remove the conflicting old dependency, GHDL-mcode-git update was successful.

Hope this helps someone. This workaround will not be necessary soon I guess.

eduardosm commented on 2021-08-22 10:13

I think you should trim one digit from the commit hash, so it matches the output of pkgver():


xiretza commented on 2021-07-12 12:43

checkdepends now additionally requires 'python-pymetaclasses' 'python-pyattributes' 'python-pyterminalui'.

xiretza commented on 2021-03-23 16:06

Due to upstream changes to the include directory structure, the mkdir/ln hack in check() should be replaced with a make install.vpi.local.

xiretza commented on 2021-02-19 21:09

Hey, mcode and llvm backends now support running make test in-tree with only a minor patch:

diff --git a/PKGBUILD b/PKGBUILD
index 419789f..17b2046 100644
@@ -1,16 +1,22 @@
 # Maintainer: Adrien Prost-Boucle <>

 pkgdesc='VHDL simulator - LLVM back-end'

 provides=("ghdl=$pkgver" "ghdl-git=$pkgver")
 conflicts=('ghdl' 'ghdl-gcc-git' 'ghdl-mcode-git')
 makedepends=('gcc-ada' 'git' 'llvm' 'clang')
+       'python-pydecor: for pyGHDL'
+       'python-pyvhdlmodel: for pyGHDL.dom'
+       'gcc-ada: for libghdl'
+checkdepends=('python-pytest' 'python-pydecor' 'python-pyvhdlmodel')

@@ -49,6 +55,15 @@ build() {

+check() {
+       cd "${srcdir}/ghdl"
+       mkdir include
+       ln -s ../src/grt/vpi_user.h include/
+       make test
 package() {
        cd "${srcdir}/ghdl"

I've also included fixes to license and arch that were found by namcap.