- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I noticed that the Modelsim ase has 10,000 executable line limitation. How to know the executable line in my design so that it will not exceed 10,000 line executable line?Link Copied
5 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Its the total number of lines in your source code. It doesnt get to a certain point and stop - it just doesnt start or gives a performance hit if the project is too big from the start.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for reply.
If i understand correctly, we cannot rely on the total number of lines in the source code to check the executable line of our design. The reason is because it maybe possible to have more than one executable line in single line of source code. For example, "clk,reset:in std_logic;" contains 2 executable lines eventhough it is written in a single line. Also, how it ignores the comment & empty lines if we look at the total number of lines in source codes? Do Moldesim ase provide the feature to check the executable line? I need this information because I worry my design will over 10,000 executable line in case i want to add more logic for my design in future. Thanks for help.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You get a warning from ModelSim when then 10,000 lines limit is exceeded. It still works, but with a huge perfomance hit.
There is a document at Altera web site that describes exactly what is the meaning of an "executable line". Basically, any line where you could put a breakpoint is considered executable. I don't know if there is a simple, easy way to tell how many lines you currently have.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi vjAlter
I found easy way: It's called CLOC (count lines of code). The Application is available at sourceforge. It's a nice tool that analyzes directories, single files or zipped files. It recognizes the code languages by reading the file endings. Firstly, it searches after code-files. Then, it counts the lines while it differentiates between comment lines, blank lines and code lines. The only feature you don't have, is a "live-check". I also need to know, what the meaning of "executable line" is. Can you please forward me the link to the mentioned Altera document?- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, as suggested my ti_me, [http=http://cloc.sourceforge.net/]CLOC[/http] counts lines of code but of the entire VHDL files in the directory (even custom backup, useless code...), not the current design and its subdesign
If ModelSim Altera Starter Edition limits "executable lines", it means that it knows how many lines are compiled but no warning or notification except that Simulation become suddently slower. Hope a ModelSim designer read this. Tis is a minor problem.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page