Workspace database very large and long to generate

I try you software on a big project and i realize that is vary long to generate at the startup. Once it is finish i can parse the code with all the cool feature but whe i clic on a signal and the software freeze for 3 to 4 second before highlight the signal.
If i close HDT and start again and everything start again.
Is there a way to save the database and reuse it for the next startup.
Is there a way to not freeze the application when i move the cursor in my code or disable some feature that cause this freezing.

The soft look really good but it is very slow for big project.

Regard.
Dominic Paquet

Big project

Hi Dominic,

you must have a REALLY big project.

We currently have not implemented a mechanism to serialize all compilation information of your project over multiple sessions. However there are a few things you can do to speed up our tool for working on your project.

If your project contains a lot of modules that you do not intend to edit it is better to threat them as external libraries (See the "VHDL Libraries" section in the documentation). When you define a library as external, you indicate that it is read-only. Sigasi HDT will preprocess the files and cache their contents for quicker access.

The fact that signal highlighting takes up to 4 seconds suggests that you are working with really large files or that you are short on memory. If your machine has enough physical RAM you can increase -Xmx1024m (Maximum amount of memory Sigasi HDT can use, 1024 megabyte by default) in hdt.ini in your installation directory.

If possible you can confidentially send me your project (support@sigasi.com), so I can profile where the speed problems come from in your project.

Thanks for the feedback,
Hendrik.

Big project

yes the project is really big (around 800 files).

When i look at the process HDT and the memory usage before it was 1024meg and after a cleaning of the unused file like doc and test bench it reduce to 600meg. I work with a lot of library that i tag as external lib but it is still long when i navigate in code.

When i place the cursor on a signal you seem to do automatically a search in the files to find all the occurrence and highlight in gray the name. maybe you can do this task only if a push F3 (open declaration) or when a push CTRL+K to go at the next occurrence. If i just place the cursor on a signal maybe it is good idea to do nothing until i do an action.

In the hierarchy view is it possible to look the view on a specific file (Top entity) So the hierarchy view will describe the whole hierarchy instead of changing every time a change file

Is there a way to connect to a repository like CVS, as eclipse.

I can't send you the code (NDA).

Thank for your fast response.
Regard
Dominic

I have the same problem as

I have the same problem as Dominic. Although my project is big, it's an opensource project (the LEON3 softcore processor). I've allocated 2GB of mem in hdt.ini and that doesn't seem to help. When I click on a variable/signal/etc. the program freezes for about 10 seconds to search through all the libraries for any occurrences of the name. Is there a better solution to this problem?

Nathan Rollins.

Leon3

Hi Nathan,

As you may have noticed Leon3 is big. It is also a very interesting project. Depending on what you are working on, you can mark some libraries as being "external". This way, Sigasi HDT will only compile them once. If you come back to your project the next day, Sigasi HDT will only compile the files you need for your project.

Are you editing only the code of the Leon3 (GRLIB and GAISLER libraries) itself?

I'll post an example configuration of the GRLIB project later.

Philippe

GRLIB project posted

Hi Nathan, I've posted an example on how to work with GRLIB:
http://www.sigasi.com/content/work-with-gaislers-leon3-sparc-processor

Philippe

LEON3

Philippe,

Thank you for your response. I posted a comment on the page you referenced.

Nathan.

When i place the cursor on a


When i place the cursor on a signal you seem to do automatically a search in the files to find all the occurrence and highlight in gray the name. maybe you can do this task only if a push F3 (open declaration) or when a push CTRL+K to go at the next occurrence. If i just place the cursor on a signal maybe it is good idea to do nothing until i do an action.

I think the way we implemented this results in the best user experience. It gives another dimension to your view on the code. But of course it should never slow you down, so maybe we should implement the option to disable this feature. I will discuss with the team.

Note that the CTRL-K (Find next) uses text-based search. If you want to search for uses of this object use CTRL-SHIFT-G and then CTRL-.


In the hierarchy view is it possible to look the view on a specific file (Top entity) So the hierarchy view will describe the whole hierarchy instead of changing every time a change file

There is a prototype implementation available. If you click on the view menu (the small triangle) in the hierarchy view, you can select select toplevel. In the current implementation you have to close all editors before the hierarchy view is updated.


Is there a way to connect to a repository like CVS, as eclipse.

Not yet, but we are working in on it. We expect to release this by the end of the year.

Save the database or workspace analyse

Is it possible to save all the work that is done in background, so when a open it again it don't to do the work again. As i mention previously my project is very large and when i open the project a can't use the cool feature for about 3 to 4 min. For a small change in my source code it is a big penalty.

1 - So is it possible to save the database and do a simple out of data check at to opening, if everything is OK you do not reconstruct the database.

2 - As discuss previously you mention to disable a feature to not slow down the application:
"I think the way we implemented this results in the best user experience. It gives another dimension to your view on the code. But of course it should never slow you down, so maybe we should implement the option to disable this feature. I will discuss with the team."
Is it possible to just put it on demand, put an option to do automatic analyze of a signal or a CTRL+(something) do do the gray highlight. I don't want to pay 3 second every time i touch a signal with the cursor in my code but if i do CTRL+(something) it is not a problem.

Thanks

Reply

1. We currently do not have a mechanism to store all compilation information of your project over multiple sessions yet. We are first focusing on making our internal compiler faster.

2. We will implement a mechanism to easily enable and disable occurrence highlighting. This toggle operation will have a shortcut which will enable a behavior similar to what you describe. (ticket:592)

ticket:583 and its duplicate

ticket:583 and its duplicate ticket:592 (turn occurrence highlighting on/off) were fixed in September 2009

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.