OSVVM / OSVVM-Scripts

OSVVM project simulation scripts. Scripts are tedious. These scripts simplify the steps to compile your project for simulation
Other
8 stars 13 forks source link

Generics don't work with RunTest #36

Closed JasonAtTomra closed 1 year ago

JasonAtTomra commented 1 year ago

RunTest ../testcases/TbLineoutBuffer_Basic.vhd [generic G_ENABLE_AURORA_RANDOM_READY $READY_RANDOM] Does not work.

but the following does: analyze ../testcases/TbLineoutBuffer_Basic.vhd TestCase TbLineoutBuffer_Basic simulate TbLineoutBuffer_Basic [generic G_ENABLE_AURORA_RANDOM_READY $READY_RANDOM]

Does RunTest take Generics as an input?

JimLewis commented 1 year ago

Currently RunTest does not allow options, such as generics. I think it needs to, but that means changing and/or removing the other options - which I suspect is ok.

JimLewis commented 1 year ago

Currently for the tests that I run with RunTest that have generics, I run them once with their default settings using RunTest and then Run them additional times with generic settings using simulate

JasonAtTomra commented 1 year ago

That makes sense. I just wanted to check I was not missing something.

JimLewis commented 1 year ago

It is on my todo list to address.

JimLewis commented 1 year ago

This is fixed on the dev branch. I expect to release 2022.12 shortly.

JimLewis commented 1 year ago

Closing since this is fixed in 2022.12