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

The package import for axi_test.sv used in floo_axi_test_node.sv was missing #99

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rehankarthikchandralal
Copy link

axi_test.sv is a package used inside floo_axi_test_node.sv. However this package was not imported inside the floo_axi_test_node.sv file leading to compilation errors

@@ -5,6 +5,7 @@
// Michael Rogenmoser <[email protected]>

`include "axi/assign.svh"
import axi_test::*;

/// A AXI4 Bus Master-Slave Node for generating random AXI transactions
module floo_axi_test_node #(

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
module floo_axi_test_node #(
module floo_axi_test_node import axi_test::*; #(

@fischeti
Copy link
Collaborator

fischeti commented Feb 8, 2025

This import should not be necessary in my opinion, if you use the classes from axi_test with the prefix axi_test::. Is it maybe possible that axi_test is not compiled beforehand? This is a bender dependency, and bender makes sure of the correct ordering when compiling. With which tool do you experience this compilation error?

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

Successfully merging this pull request may close these issues.

3 participants