Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

problem with a library "BEH_INT" in vhdl compiling using modelsim.(image processing)

Status
Not open for further replies.

magnatro

New Member
Hi,
iam trying out a design using modelsim. the code is for edge detection of an image file. the problem is that when i try to compile the code an error pops out saying a library is missing. a library named "BEH_INT"

this is the error from the error window:
vcom -work work -87 -explicit C:/Modeltech_5.7f/examples/vlsi.vhd
Model Technology ModelSim SE vcom 5.7f Compiler 2003.09 Sep 15 2003
-- Loading package standard
-- Loading package std_logic_1164
** Error: (vcom-19) Failed to access library 'beh_int' at "beh_int".
No such file or directory. (errno = ENOENT)
** Error: C:/Modeltech_5.7f/examples/vlsi.vhd(3): Library beh_int not found.
** Error: C:/Modeltech_5.7f/examples/vlsi.vhd(4): Unknown identifier: beh_int
** Error: C:/Modeltech_5.7f/examples/vlsi.vhd(5): VHDL Compiler exiting

this is the code header.

Code:
Code:
 library IEEE;
use IEEE.STD_LOGIC_1164.all;
library BEH_INT;
use BEH_INT.IMAGE_PROCESSING.all;
entity EDGE_DETECTOR is
generic( NUM_ROWS: NATURAL; 
NUM_COLS: NATURAL); 
Port (  CLOCK : in STD_LOGIC; 
EDGE_START : in STD_LOGIC; 
INPUT : in STD_LOGIC;
OUTPUT : inout STD_LOGIC ); 
end EDGE_DETECTOR;
architecture BEHAVIORAL of EDGE_DETECTOR is
type MEMORY_ARRAY is array(1 to 3, 1 to NUM_COLS) of PIXEL
 
Last edited:
I think it seems pretty obvious that you have to find this library file and make sure it's in the proper directory or that you're path statement is set up properly to locate it. If you don't have it there's not much you can do.
 
i googled a lot but of no use. can anyone help?
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top