Using NCVErilog and OVL 1.7, how do I fix this error?

M

Mr. Ken

Guest
Hello there,

I am testing out OVL 1.7 with NCVerilog 5.0. I saved the OVL library on my
user account and instantiated, but how do I fix this error?



---------------------------------------------
file: /home/user/projects/std_ovl/assert_always_on_edge.vlib
`module assert_always_on_edge (clk, reset_n, sampling_event, test_expr);
|
ncvlog: *E,EXPMPA
(/home/user/projects/std_ovl/assert_always_on_edge.vlib,6|6): expecting the
keyword 'module', 'macromodule' or 'primitive'[A.1].
(`define macro: module [/home/user/projects/std_ovl/std_ovl_defines.h line
70], file: /home/user/projects/std_ovl/assert_always_on_edge.vlib line 6)
ncvlog: *W,UNBINS: Unbound instance found:
check_mi_output::assert_always_on_edge in unit worklib.test:v.
ncvlog: *E,UNBERR: (1) unbound instance(s).
Total errors/warnings found outside modules and primitives:
errors: 2, warnings: 1
---------------------------------------------
 
Hi,
Try this:

ncverilog +incdir+/home/user/projects/std_ovl/
/home/user/projects/std_ovl/assert_always_on_edge.vlib <user_file>

Issue seems to me like this:

The file: std_ovl_defines.h defines a macro as:

`define module module

(as interface if needed). and you are missing that in your command
line.

HTH! Enjoy ABV!
Ajeetha, CVC
www.noveldv.com



Mr. Ken wrote:
Hello there,

I am testing out OVL 1.7 with NCVerilog 5.0. I saved the OVL library on my
user account and instantiated, but how do I fix this error?



---------------------------------------------
file: /home/user/projects/std_ovl/assert_always_on_edge.vlib
`module assert_always_on_edge (clk, reset_n, sampling_event, test_expr);
|
ncvlog: *E,EXPMPA
(/home/user/projects/std_ovl/assert_always_on_edge.vlib,6|6): expecting the
keyword 'module', 'macromodule' or 'primitive'[A.1].
(`define macro: module [/home/user/projects/std_ovl/std_ovl_defines.h line
70], file: /home/user/projects/std_ovl/assert_always_on_edge.vlib line 6)
ncvlog: *W,UNBINS: Unbound instance found:
check_mi_output::assert_always_on_edge in unit worklib.test:v.
ncvlog: *E,UNBERR: (1) unbound instance(s).
Total errors/warnings found outside modules and primitives:
errors: 2, warnings: 1
---------------------------------------------
 
Thank you, I corrected the mistake, it's due to the mislocation of some
`define statements.





"Ajeetha" <ajeetha@gmail.com> wrote in message
news:1159893754.414444.177000@b28g2000cwb.googlegroups.com...
Hi,
Try this:

ncverilog +incdir+/home/user/projects/std_ovl/
/home/user/projects/std_ovl/assert_always_on_edge.vlib <user_file

Issue seems to me like this:

The file: std_ovl_defines.h defines a macro as:

`define module module

(as interface if needed). and you are missing that in your command
line.

HTH! Enjoy ABV!
Ajeetha, CVC
www.noveldv.com



Mr. Ken wrote:
Hello there,

I am testing out OVL 1.7 with NCVerilog 5.0. I saved the OVL library on
my
user account and instantiated, but how do I fix this error?



---------------------------------------------
file: /home/user/projects/std_ovl/assert_always_on_edge.vlib
`module assert_always_on_edge (clk, reset_n, sampling_event, test_expr);
|
ncvlog: *E,EXPMPA
(/home/user/projects/std_ovl/assert_always_on_edge.vlib,6|6): expecting
the
keyword 'module', 'macromodule' or 'primitive'[A.1].
(`define macro: module [/home/user/projects/std_ovl/std_ovl_defines.h
line
70], file: /home/user/projects/std_ovl/assert_always_on_edge.vlib line
6)
ncvlog: *W,UNBINS: Unbound instance found:
check_mi_output::assert_always_on_edge in unit worklib.test:v.
ncvlog: *E,UNBERR: (1) unbound instance(s).
Total errors/warnings found outside modules and primitives:
errors: 2, warnings: 1
---------------------------------------------
 

Welcome to EDABoard.com

Sponsor

Back
Top