Added the ability to specify a regex filter for the part-name on the synthesis tests. Implemented as --synth-part. Closes #179 (#180)

This commit is contained in:
Benjamin Davis
2025-11-13 21:09:03 -07:00
committed by GitHub
parent 543bf2be9a
commit 3d5f9d8efb
5 changed files with 36 additions and 7 deletions

View File

@@ -1,9 +1,10 @@
import os
import subprocess
import shutil
import subprocess
from .base import Synthesizer
class Vivado(Synthesizer):
name = "vivado"
@@ -22,7 +23,7 @@ class Vivado(Synthesizer):
"-mode", "batch",
"-log", "out.log",
"-source", script,
"-tclargs"
"-tclargs", self.request.config.getoption("--synth-part")
]
cmd.extend(self.testcase._get_synth_files())