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

Use the section names like namespaces #7

Open
tsvi opened this issue Apr 21, 2015 · 0 comments
Open

Use the section names like namespaces #7

tsvi opened this issue Apr 21, 2015 · 0 comments

Comments

@tsvi
Copy link
Collaborator

tsvi commented Apr 21, 2015

I have an issue though with the way it (doesn't) analyze namespaces. In my Systemverilog code, I have 2 packages that have a class named driver. Moreover as they both inherit from uvm_driver, they hold the same functions: build_phase, connect_phase.

At first I gave the section names the same hierarchy as the code namespace. So I had
my_project/event_package
my_project/host_package
event_package/driver
host_package/driver

But this caused some confusion when building the TOC, as event_package/driver held driver/constraint_x but in the TOC, it would be under host_package/driver.

So I renamed the sections which is a shame, but I devided as long as the section NAME would hold the actual name of the class this would be OK.

So now, none of the code/comments hyperlinks driver which I can live with. But some of the code obviously references the functions and again I have the same issue: Both calls to build_phase hyperlinks to the same class. Although they should reference separate classes.

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