Altera_Forum
Honored Contributor
11 years agoMODELSIM error vsim-3807
Hi folks,
I have recently encountered a problem which I have not seen before, even though I am following the same design/synth/sim flow as I usually do. Basically, when I go to RTL simulate in MODELSIM i get the VSIM-3807 error, on closer inspection it says I have type mismatch in one of my VHDL files. The VHDL file i have created has the following declarations: library IEEE; use IEEE.STD_LOGIC_1164.ALL; use IEEE.NUMERIC_STD.ALL; and I only use UNSIGNED and no STD_LOGIC_VECTORS although i do use STD_LOGIC. I have various megafunctions as well as a BSF file created from my own vhdl file all connected in a BDF. i then create a vhdl file from this BDF and include in the project and set as top level entity (the BDF file is not included in the project). And then I compile. When I examine the created vhd file against the errors shown in MODELSIM, i can see that the component port declarations used are STD_LOGIC_VECTOR even though in my original VHDL file they were defined as UNSIGNED. The declarations at the top of the vhd file created from my BDF does not include the IEEE.NUMERIC_STD.ALL; I don't understand why this type mismatch has occurred. Can anyone give me some hints please Many thanks in advance deBoogle