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 <joel@jms.id.au>
This commit is contained in:
Joel Stanley 2022-10-26 16:29:53 +10:30
parent 611b84ccee
commit f95cf6ab2d
1 changed files with 2 additions and 2 deletions

View File

@ -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