Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nvc 1.9.2 fails in test #1

Closed
ekaitz-zarraga opened this issue Aug 15, 2023 · 5 comments
Closed

nvc 1.9.2 fails in test #1

ekaitz-zarraga opened this issue Aug 15, 2023 · 5 comments

Comments

@ekaitz-zarraga
Copy link

Hi,

Thanks for the project!
I've been trying to build it and I got an error with nvc (version = 1.9.2):

make nvc_button_deb
mkdir -p nvcsimu
cd nvcsimu; nvc -a ../test/test_button_deb.vhd ../src/button_deb.vhd
cd nvcsimu; nvc -e button_deb_tb
cd nvcsimu; nvc -r button_deb_tb -w
** Note: writing FST waveform data to button_deb_tb.fst
** Note: 184840us+0: Report Note: <- Simulation Time
	 ../test/test_button_deb.vhd:112
** Fatal: 184840001ns+0: Assertion Error: *** End of test ***
	 ../test/test_button_deb.vhd:114
make: *** [Makefile:22: nvc_button_deb] Error 1
@ekaitz-zarraga
Copy link
Author

clip
It does generate the fst file though

@ekaitz-zarraga ekaitz-zarraga changed the title nvc 1.9.2 can't build nvc 1.9.2 fails in test Aug 15, 2023
@Martoni
Copy link
Owner

Martoni commented Aug 16, 2023

Hi ekaitz, thanks for the issue. I will try it soon and get back to you.

@Martoni
Copy link
Owner

Martoni commented Aug 29, 2023

I've just reread your question and found that it's not really an «error».

It's an old fashion way to terminate testbench : raising an error with «end of test» message.

@ekaitz-zarraga
Copy link
Author

ekaitz-zarraga commented Aug 29, 2023 via email

@Martoni
Copy link
Owner

Martoni commented Aug 29, 2023

In fact the simulation did not end with nvc, I added the option in the Makefile to have the "error" severity.
180d108

Should works now ;)

@Martoni Martoni closed this as completed Aug 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants