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

axi2tlm_bridge: compile error on Cadence Xcelium #19

Open
wilberZen opened this issue Dec 2, 2023 · 0 comments
Open

axi2tlm_bridge: compile error on Cadence Xcelium #19

wilberZen opened this issue Dec 2, 2023 · 0 comments

Comments

@wilberZen
Copy link

wilberZen commented Dec 2, 2023

Xcelium reports C++ type dismatch at code:

// file: axi2tlm-bridge.h  line:413

			for (; i < DATA_BUS_BYTES && m_dataIdx < m_gp->get_data_length(); i++) {
				if (wstrb.read().bit(i)) {
					............
			}

changed to :

			for (; i < DATA_BUS_BYTES && m_dataIdx < m_gp->get_data_length(); i++) {
				if (wstrb.read().bit(i).to_bool()) {
					.............
			}
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

1 participant