which library package include in verilog simulation

Status
Not open for further replies.

mohdiliyasmalik

Newbie level 5
Joined
Oct 8, 2007
Messages
8
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,346
hi
as we write
library ieee;
use ieee.std_logic_1164.all;
in vhdl for including library.
what we write in verilog to include library...............
I am writing same but didnt work....
any one suggest me............
 

Actually You dont need any such library declaration in verilog
 

hi
i am writing code for mux in verilog using UDP.
compilation is ok.
when i do simulation then this gives error like that -
# ** Note: (vsim-3812) Design is being optimized...
# ** Error: C:/modeltech_6.5/examples/verilogpermitive.v(17): Internal error: ../../../src/vlog/vtree_inline.c(1587) (typeof(module) == MODULE)||(typeof(module) == PROGRAM_DECL) || (typeof(module) == VL_CONFIGURATION_DECL)
# Optimization failed
# Error loading design

suggest me sthing how this error will be remove.
 

i think you have to use -novopt command while simulating your design. Ex: vsim -novopt test_bench_name &
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…