Modelsim仿真这种报错怎么解决?

img


报错内容:

** Error: fx1.vwf.vht(42): (vcom-1294) Declaration with designator "fx" already exists in this region.

** =====> Prior declaration of "fx" is at fx1.vwf.vht(38).

** Error: fx1.vwf.vht(56): ** Error: (vcom-1590) Bad expression in actual part of association element 'fx'.

** Error: fx1.vwf.vht(56): (vcom-1454) Formal "fx" of mode BUFFER cannot be associated with an expression.

** Error: fx1.vwf.vht(488): VHDL Compiler exiting

End time: 00:55:28 on Nov 26,2022, Elapsed time: 0:00:00

Errors: 4, Warnings: 0

** Error: C:/intelFPGA/17.1/modelsim_ase/win32aloem/vcom failed.

Executing ONERROR command at macro ./fx.do line 4