themperek / cocotb-test

Unit testing for cocotb
BSD 2-Clause "Simplified" License
144 stars 71 forks source link

HDL specific compile args for mixed language simulations #159

Closed benbr8 closed 2 years ago

benbr8 commented 2 years ago

Sorry for opening many tickets recently, I'm trying to move all our test cases to cocotb-test. I hope you don't mind.

For mixed language simulations, sometimes different compiler arguments are needed for different languages. One example would be the -2008 flag which is valid for Questa vcom but not for vlog.

I'm proposing to add optional vhdl_compile_args and verilog_compile_args parameters to simulator.run(). Let me know what you think.

themperek commented 2 years ago

Yes. Do not see a better way for now.

benbr8 commented 2 years ago

Added in #170.