--- /dev/null
+#!/usr/bin/env python3
+
+import os
+import sys
+
+VASY_CMD = "schroot -c coriolis -d /tmp -- ~/alliance/install/bin/vasy"
+NSXLIB = "../alliance-check-toolkit/cells/nsxlib"
+
+for fname in os.listdir(NSXLIB):
+ if not fname.endswith(".vbe"):
+ continue
+ print (fname)
+ prefix = fname[:-4] # strip ".vbe"
+ os.system("cp %s/%s /tmp" % (NSXLIB, fname))
+ os.system("rm -f /tmp/%s.vhd" % (prefix))
+ os.system("%s -s -I vbe %s %s" % (VASY_CMD, fname, prefix))
+ os.system("cp /tmp/%s.vhd ." % (prefix))