From f95cf6ab2dff88c67446407dabbf52fb9d6f8be5 Mon Sep 17 00:00:00 2001 From: Joel Stanley Date: Wed, 26 Oct 2022 16:29:53 +1030 Subject: [PATCH] vhd2v: Fix mixed langauge support Moving to the new vhdl to verilog code broke the Vivado support where there's no conversion required. Signed-off-by: Joel Stanley --- litex/build/vhd2v_converter.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/litex/build/vhd2v_converter.py b/litex/build/vhd2v_converter.py index 05cb1e792..6ff9bd93b 100644 --- a/litex/build/vhd2v_converter.py +++ b/litex/build/vhd2v_converter.py @@ -102,8 +102,8 @@ class VHD2VConverter(Module): # platform able to synthesis verilog and vhdl -> no conversion if self._platform.support_mixed_language and not self._force_convert: ip_params = self._params - for file in self._files: - platform.add_source(file) + for file in self._sources: + self._platform.add_source(file) else: # platform is only able to synthesis verilog -> convert vhdl to verilog # check if more than one core is instanciated # if so -> append with _X