VHDL Code Counter Tool (SLOC)

Can anyone point me to a tool for counting lines of code in a bunch of files making up my project?
Ideally I'd like something that I can point to the root folder of my project and scans though all the subfolders counting up lines of code in the .vhd files it comes accross.
Thanks!

If you are using UNIX you can do this:
find . -name "*.vhd" -type f -exec wc -l {} \;
Can do the same in windows with Cygwin installed
 

Similar Messages

  • LabView fpga VHDL code and compiler

    Hello,
    I'm in the project where we would like to use NI hardware (more likely cRIO system). With NI hardware we will read/wright several AI/AO and DIO and perform some math and controls on the result of readings. We are planning to design FPGA code for project, but we are thinking about implement all data processing and control logic in VHDL and link it with AI, AO and DIO with help CLIP or IP Integration Node as explained in this : "white-paper": http://www.ni.com/white-paper/7444/en/
    Mentioned above paper explain how to implement VHDL code in LabVIEW FPGA VI using CLIP or IP Integration Node, but the topic that is not highlight explicitly is how these construction CLIP and IP Integration Node will be handled by Compiler. The main reason for such approach (VHDL linked with part that read/write into hardware AI AO and DIO) we expect that our VHDL code will be handled by LabVIEW compiler without modification and passed to Xilinx Compiler synthesis as is (path for Compile process I've taken from here: http://www.ni.com/white-paper/9381/en/ ), so we will be able at some level bypass the intermediate process of compilation and get almost the same result as if we design pure VHDL code and use Xilinx ISE for Synthesis Mapping and Bit File generation.
    Will this approach work? I was not able to find any documents that explain the Compiler behavior and confirm that VHDL code handled untouched or will modified, does such document exist?
    Note. I've requested official  assistance from NI support on topic above, but I would like to post this question on forum hoping get more feedback.

    Hello RangerOne,
    There won't be any modications to the internal logic of the VHDL that you implement in the IP integration node. Though I've seen developers unfamiliar with LabVIEW FPGA get tripped up on the synchronization registers that LabVIEW FPGA inserts into the code around the integration node. Learning where and why these syncrhonization registers are inserted has in my experience always resolved this issue. These two help documents do a good job of explaining the 'where and why' of synch registers when the enable chain is present, or when working with IO inside of a SCTL.  
    With regards to the stability of LabVIEW FPGA, I would second Daniel's sentiments. What about the known issues list conveys instability and risk? As a point of comparison, here are the known issues for ISE 14.x. 
    If you are looking to minimize risk, I would recommend developing the critical logic in the development enviroment in which you are comfortable setting up a comprehensive test bench since testing the code is the only way to truly verify its functionality. For me this would be LabVIEW FPGA as it has excellent trouble shooting tools and I've been developing in it for quite some time. Perhaps you're more familiar with ISE than LabVIEW FPGA and that is the source of your trepidation? If that is the case then you may find the High Performance FPGA Developers Guide a good read.  You may also find a few of the case studies on our website reassuring since they demonstrate other teams successfully implementing a solution using LabVIEW FPGA. Here's one that used LabVIEW FPGA in conjnction with VHDL IP similiar to what you are doing.
    National Instruments
    FlexRIO Product Support Engineer

  • Code generation tools

    Hello Xperts,
    Is there any code generation tool for hibernate & spring for java standalone application?
    Thanks!

    You may want to find useful DBScribe.
    ~ Madrid.

  • Code Review Tool - Ignore Whitespace

    When I view the comparison in the code review tool ignore whitespace is on by default. The problem is that it doesn't ignore all whitespace. For example, a method's parameters prior to the change had a space between the start and end of the parameter definition
    but after changes the auto format of visual studio is different by removing the spaces (different user preference).The code review tool see's this as a difference. Why is that? 
    Before:
    public class test
    public TestMethod( string testString )
    After
    public class test
    public TestMethod(string testString)
    This is very frustrating because the very nice visual difference bar to the right of the code comparison becomes useless in these situations. 

    Hi Zpittman,
    What is you said ‘Code Review Tool’?
    I assume that you meant the Code Review feature in TFS. I tried it in Visual Studio 2013 with update 4 and TFS 2013 with Update 4, the whitespace was detected and the code review see it as a difference.
    If you don’t get the same result with me using VS and TFS, please upgrade your VS and TFS to the latest update.
    If the issue still exists, please
    reset your VS settings through Tools->Import and Export settings->Reset all
    settings->…. and repair your VS.
    If code review tool is a third-party tool or a third-party VS/TFS add-in, the official support of this tool can be a better place to resolve your issue.
    If I misunderstood anything, please feel free to come back.
    Thanks,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Code signing tools

    is it possible to just download the code signing tools? I've installed the SDK, but I can't find keytool or the javasign(?) commands.
    thanks.

    oops...that is jarsigner and keytool

  • Java static code analysis tool on Windows

    What Java static source code analysis tool are there on Microsoft Windows, and which would you recommend?
    I Know Coverity and
    Klocwork
    Edited by: Jennifer.helen on May 8, 2009 6:03 AM

    I submit PMD and Findbugs.

  • Source Code Analysis tool for BPEL (and BPMN) 11g

    Hi,
    We are checking for the availablility of 'source code analysis' tools (analogy like findbug, checkstyle) for BPEL / BPMN Orchestrations.
    Any information/pointers to it is really valuable and appreciated.
    Thanks,
    Pavan.

    Hi AnujaMoharir,
    Welcome to MSDN.
    I am afraid that as Renee Culver said, these forums donot support VB6, you could refer to this thread:
    Where to post your VB 6 questions
    You could consider posting this issue in these forums below:
    These forums do not support Visual Basic 6, however there are many third-party support sites that do. If you have a VB6-related question please visit these popular forums:
    VB Forums
    VB City
    Thanks for your understanding.
    Best Regards,
    Youjun Tang
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Bug: Count Tool does not allow you to move counted item (Mac OS 10.7.3)

    After placing a number using the count tool I was unable to move the number. I hovered over the number and the cursor changed but when I attempted to drag the number nothing occured and the cursor changed back to a "+" cursor. Thank you
    Hardware Overview:
      Model Name:          MacBook
      Model Identifier:          MacBook5,1
      Processor Name:          Intel Core 2 Duo
      Processor Speed:          2.4 GHz
      Number of Processors:          1
      Total Number of Cores:          2
      L2 Cache:          3 MB
      Memory:          8 GB
      Bus Speed:          1.07 GHz
      Boot ROM Version:          MB51.007D.B03
      SMC Version (system):          1.40f2
      Sudden Motion Sensor:
      State:          Enabled
    NVIDIA GeForce 9400M:
      Chipset Model:          NVIDIA GeForce 9400M
      Type:          GPU
      Bus:          PCI
      VRAM (Total):          256 MB
      Vendor:          NVIDIA (0x10de)
      Device ID:          0x0863
      Revision ID:          0x00b1
      ROM Revision:          3385
      Displays:
    Color LCD:
      Resolution:          1280 x 800
      Pixel Depth:          32-Bit Color (ARGB8888)
      Main Display:          Yes
      Mirror:          Off
      Online:          Yes
      Built-In:          Yes
    System Software Overview:
      System Version:          Mac OS X 10.7.3 (11D50)
      Kernel Version:          Darwin 11.3.0
      Boot Mode:          Normal
      64-bit Kernel and Extensions:          Yes

    I found a way to make it work. You drag then click somewhere else. Not very intuitive but it works.

  • Code Review tool for XPRESS

    Does anybody have any idea about Code review tool for XPRESS Language??Please let me know

    We did something like it only using xsl.
    Using the console we do an export of all sources, then the xsl processes the huge xml file and writes 'inconsistencies'
    message for calls to rules/subprocesses/forms that are incorrect...

  • Code review tools

    Are there any code review tools for WLP 7.x

    Hi,
    You can search in SCN for related articles and blogs.
    ST05 and SE30 are tools which you can use for performance improvement. Use the tips and tricks in SE30.
    Code Inspector and Extended Program Check will help you in efficient programing.
    There are several other things which you need to follow as follows:-
    1.  Proper Naming Convention of variables for better code understanding.
    2.  Avoid nested selects.
    3.  Avoid nested loops whenever possible.
    4.  Use of SORT and BINARY SEARCH in READ statements wherever possible.
    5.  SY-SUBRC checks wherever needed.
    6.  Avoid ZERO DIVIDE errors.
    7.  Use of FOR ALL ENTRIES as needed.
    8.  Better handling of messages and exception.
    9.  Avoiding endless looping.
    These are some points. You can add more as per your knowlegde.
    Create a code review checklist document and ask your developers to follow the same.
    I can share a template if you need.
    Regards,
    Ankur Parab
    Edited by: Ankur Parab on Sep 17, 2009 3:20 PM
    Edited by: Ankur Parab on Sep 17, 2009 3:34 PM

  • Code Review Tool for Weblogic 8.1

    I am working with WLS 8.1. Can anyone suggest plugin or code review tool for reviewing from workshop?
    I have used PMD open source plugin with eclipse for reviewing java files. I couldnt use it for .ejb files generated from workshop. Pls suggest some procedure for this.
    Thanks in advance!
    Regards,
    Poorani

    Red Samurai is not avaiable for 11.1.2 at the moment as Oracle changes the way extensions plug into jdev :-(.
    Have you tried out the jdev internal audit tools (under Build->'Audit projectname' and follow the dialogs)?
    Timo

  • How to print photo with Count Tool markers visible? [was: count tool question]

    I am doing a lab report that requires me to count a large number of objects in a photo using the count tool, i need to print out that photo with the count markers visible to show the instructor, however i cant seem to be able to do that. is it possble. Thanks

    I don't have a good answer for you, If you under a deadline to finish the project, you can always view the image at 100% and do a series of screen captures, then piece the image back together. Not the idea solution, but it should work.

  • Community nugget: Code Capture Tool 2.0

    When the snippet feature was introduced in 2009, some people thought that this would be the end of the Code Capture Tool (CCT).
    Well, they were wrong. It's back. Bigger, better and cooler.
    For those who don't know the CCT, it's a small utility which you can use to make screenshots of LabVIEW code, either for sharing or for documentation. You can see here  for more details.
    For those who already know it, now's the time to introduce the new features. The following video shows them nicely, but to recap:
    The CCT now supports creating snippets (in any version from 7.0 and up).
    The snippets themselves will only be usable in LV 2009 or later.
    You can now add annotations and sketches in the preview window.
    This will allow you to draw attention to specific parts of the code.
    Here's a video demonstrating the new (version 2.0) features: the video might take a while to load but it's worth the time
    You can download the Code Capture Tool 2.0 at LAVA.
    Here are a series of videos on the CCT (1.0 and 2.0).
    Have fun,
    Yair and Ton
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!

    Here are some captures with these version, showing both the annotations and snippet features:
     A capture with LabVIEW 2009 with an annotation.
    A capture (no snippet) with annotations and arrow pointers
    A capture created with  LabVIEW 7.0
    A snippet with annotation.
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!

  • Jdeveloper code review tools

    Hi All,
    I wanna integrate code review plugins like checkstyle /pmd and Find bugs with jdeveloper 11.1.2.
    As by my knowledge and oracle white papers none of them are compatible with jdevloper version 11.1.2
    please tell me if any such code review plugin tools compatible with jdevloper 11.1.2 is there or not.
    If any of you using such plugins, Plz share their download links.

    In case you missed it - JDeveloper has a built-in code review tool - the audit feature (under the run menu).
    It has many built in rules - and you can extend it with other rules:
    http://blogs.oracle.com/jdevextensions/entry/don_t_fear_the_audit1
    There is a PMD extension for JDeveloper 11.1.* but someone will need to update it to 11.1.2 if you want to use it.
    Basic upgrade procedure is here:
    http://blogs.oracle.com/jdevextensions/entry/migrating_an_existing_extension_to1
    You can also use command line interface of those tools and just do simple integration with the tools->external tools option.

  • Coldfusion Code Review Tool

    Folks,
    Is there any code review tools available for CF?... (Either
    Open Source or Commercial).. Your help is greatly appreciated...
    Regards,
    David R

    You can use tools like Altova XMLSpy to profile your XQuery.
    I had written an article sometime back in my blog that talks about your exact requirement. You can see it here
    http://beatechnologies.wordpress.com/2011/06/09/xquery-profiling-using-altova-xmlspy/

Maybe you are looking for

  • How do I add a fourth USB port to my iMac?

    I want to be able to use four, USB game controllers on my iMac. I have only three USB ports. How do I add a fourth port? thanks!

  • Trying to understand the use of adjustment layers

    I think I am missing something here so thought I would bring it here for discussion. I am learning to do Adjustment Layers and when I do an adjustment layer of levels  and then another of  hue/saturation it has no way of confirming my choices.  If  t

  • Payment can not be completed why is that

    An app won't take my payments saying payment can not be completed contact itunes

  • Linking two table views

    Dear all, I am creating an iView within VC which runs two BI queries from one variant input form. From the outputs i can create two output tables which supply all the information i require. My question is, can I combine the results of the two outputs

  • Need ur Help and experience

    hello. i was searching in hp reviews and people said that hp products (laptops) over heat than the other brands and many people said this ,  i was intending to buy this model hp pavilion  g6 2163se but i want an exactly answer about over heat in hp p