Forum Discussion
Altera_Forum
Honored Contributor
11 years agoAdding Lib in Model Sim
Hello, I am using sfixed data type in my vhdl code. (using ieee_proposed) When I try to compile the code in model sim, it gives me an error. Library ieee_proposed not found. Can anyone tell me how to...
Altera_Forum
Honored Contributor
11 years agoWhat version of modelsim are you using. Any version 10.1+ have the fixed point packages compiled into the ieee library (because it is part of VHDL 2008).
but as a reference for library etc in modelsim - from the command line/.do file
# create the library
vlib my_library
# compile files into a library
vcom -work my_library my_vhdl_file.vhd
# or if you have some compiled files elsewhere
vmap my_library <some path>