question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[tracking] Completion of VHPI support in Questa

See original GitHub issue

Questa is working on supporting VHPI in addition to FLI (which continues to work and is fully supported).

The current 2021.4 release shows the following test failures in the cocotb test suite:

Failure in testsuite: 'all' classname: 'test_vhdl_access' testcase: 'check_objects' with parameters 'all'
Failure in testsuite: 'all' classname: 'test_array' testcase: 'test_gen_loop' with parameters 'all'
Failure in testsuite: 'all' classname: 'test_array' testcase: 'test_discover_all' with parameters 'all'
Failure in testsuite: 'all' classname: 'test_vhdl_zerovector' testcase: 'test_long_signal' with parameters 'all'
Failure in testsuite: 'all' classname: 'test_vhdl_zerovector' testcase: 'test_read_zero_signal' with parameters 'all'
Failure in testsuite: 'all' classname: 'test_vhdl_zerovector' testcase: 'test_write_zero_signal_with_0' with parameters 'all'
Failure in testsuite: 'all' classname: 'test_vhdl_zerovector' testcase: 'test_write_zero_signal_with_1' with parameters 'all'
Failure in testsuite: 'all' classname: 'test_force_release' testcase: 'test_force_release' with parameters 'all'
Failure in testsuite: 'all' classname: 'test_iteration' testcase: 'recursive_discovery' with parameters 'all'

Plus #2749, which is expected to be fixed by Questa 2022.1 (to be confirmed), but will also be fixed by #2750 on the cocotb side.

Let’s use this issue to track progress towards a full VHPI implementation (as far as cocotb needs it), and then remove the experimental label (https://github.com/cocotb/cocotb/blob/master/documentation/source/simulator_support.rst#mentorsiemens-eda-questa).

Steps to reproduce these failures:

git clone https://github.com/cocotb/cocotb.git
git checkout cb876412fdaee249407619c1d4e34d3c04241754 # at the time of writing, but also try master!
VHDL_GPI_INTERFACE=vhpi SIM=questa TOPLEVEL_LANG=vhdl tox -e py3

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:16 (16 by maintainers)

github_iconTop GitHub Comments

1reaction
imphilcommented, Jul 5, 2022

All code updates should be in cocotb now. Let’s wait for the upcoming Questa release and close this issue if we can verify the functionality with the released version.

0reactions
imphilcommented, Aug 25, 2022

The documentation is now updated as well, let’s consider this task done!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Simulator Support — cocotb 1.7.2 documentation
Simulator Support . This page lists the simulators that cocotb can be used with and documents specifics, limitations, workarounds etc.
Read more >
Clarity on the issue of restarts #2733 - GitHub
I need to find clarity on the question of whether cocotb supports the Questa restart -f command or restart commands in any simulator....
Read more >
cocotb/Lobby - Gitter
Whether ModelSim Intel Edition will support VHPI is another question though I assume. ... Modelsim is 32 bit only, buy Questa and you...
Read more >
cocotb Documentation - Read the Docs
Using a Scoreboard to Track Testbench Errors . ... the VHDL implementation use the following command (a VHPI or FLI capable simulator must ......
Read more >
Cocotb: a Python-based digital logic verification framework
Provides Python interface to control standard RTL simulators (Cadence, Questa, VCS, etc.) Offers an alternative to using Verilog/SystemVerilog/ ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found