linked resources and Makefile.vsim

Hello again,

Thanks for the new Release!

I couldn't wait trying out the Makefile generation.
It worked like charm for the first test project.

Then I tried it with my main project I'm working on and I'm exploring sigasi with.
In this project I use linked resource (source code folders).

When calling make, source files are not found because only the relative path of source files starting with the linking point are appended to Makefile entries.

Is there a way to get the generated Makefile working?
Or is there a way to tell sigasi to add absolute path to files?

thx
Josy

Hi Josy We'll work on fixing

Hi Josy

We'll work on fixing this problem (ticket:674). In the meantime, if you work on a Unix platform, you can try to work around this problem by using simlinks (ln -s /some/dir/ .)

Philippe

long time no see

Hi Philippe

Is there any progress on this issue (ticket:674)?

I work on Windows PCs, so the suggested workaround does not work for me.

THX
Josef

Patch ready to be tested

Hi Josef,

We have a working patch for ticket:674. We'll try to get it through the final tests so that we can release it later this month.

Thanks for your patience.

Philippe

first experiences with new release

Hi Philippe,

thanks for the new version of Makefile generation.
ModelSim Compilation now works for linked resources.

Unfortunately I still ran into two issues regrading Makefile generation:

1)
parsing of ModelSim output highlights errors and warnings but the link to source code is broken.
When clicking an error or warning I get a 'Resource .. does not exist' Eclipse error. This is most probably because the absolute path of linked resources gets messed (at least on windows hosts).
For example line in console output reads:
** Error: D:\temp\sigasi_test_folder\testme.vhd(12): Library iee not found.

When clicking this error a new editor view opens, supposed to show testme.vhd at line 12. But in fact the resource is not found and the message displayed reads:
Resource '/sigasi_test/temp/sigasi_test_folder/testme.vhd' does not exist.

The 'D:\' in the link gets somehow replaced by '/sigasi_test/', which is the project name. In some cases the project name included in link target even is the name of another project of workspace.

2)
external libraries added to a VHDL project are not included in generated Makefiles.
Probably this is rather a feature request than an issue.
When working with external libraries Sigasi HDT could tell ModelSim to include those libraries as well. May be for library work ModelSim could also compile the library together with project files.

New features, new complaints
that's how users say thank you ;-)
Josef

Clickability

Hi Josef,

Thanks for your feedback. We don't really mind these kinds of complaints. It just makes our product grow faster! You are very welcome, anytime.

Indeed, we do not support clickability for linked resources at this point. I've logged it as ticket:741.

Compile external libraries.

Hi Josef,

The idea is that external libraries are libraries that you do not want to change. They should be compiled beforehand. If you want stuff in WORK, you may consider using linked directories instead.

I agree that the Makefile should handle this out of the box. I've noted this feature request as ticket:742

As a workaround for now, you can add the library manually.
Type on the command line:
vmap myLibName c:\directory\to\binaries\of\myLibName

Alternatively, you can edit the modelsim.ini file in your project, and add the following line to the [Library] section:
myLibName = c:\directory_to\binaries_of\myLibName

Post new comment

The content of this field is kept private and will not be shown publicly.
By submitting this form, you accept the Mollom privacy policy.