One of our colleagues always had to struggle with the Verilog / SystemVerilog syntax. Whenever he opens a .sv file he needs to set the syntax manually as ":set syntax=verilog". This really kills time, especially when you are working on a project with tight schedules.
Featured post
Top 5 books to refer for a VHDL beginner
VHDL (VHSIC-HDL, Very High-Speed Integrated Circuit Hardware Description Language) is a hardware description language used in electronic des...
Monday, 7 June 2021
Effective VIM Editor tips, tricks and plugins to improve coding speed in VLSI
Monday, 10 August 2020
Useful Vim plug-in for efficient coding in Perl
- Auto addition of file header
- Easy addition of function/frame comment
- Quick inclusion of default code snippet
- Performing syntax check
- Reading documentation about a function
- Converting a full code block to comment, and vice versa
- Help to speed up the code writing with consistency in coding.
The Perl-Support Vim Plugin – Perl-IDE offers the easiest way to do all of the above, saving a lot of time and keystrokes.
We have already discussed in an earlier article regarding Use of Scripting languages in VLSI
We will be covering the following in this article
1. How to install perl-support plugin to use it with VIM.
2. Powerful features of the Perl-support plugin.
Steps to install Perl-Support VIM Plug-in
1. Download the plugin from the vim.org website.
Click here to download to go to the download page
Alternatively use below command
cd /usr/src/
wget http://www.vim.org/scripts/download_script.php?src_id=9701
2. Copy the zip archive perl-support.zip to $HOME/.vim and run below command
unzip perl-support.zip
This command will create following files:
$HOME/.vim/autoload/mmtemplates/...
$HOME/.vim/doc/...
$HOME/.vim/plugin/perl-support.vim
3. Loading of plug-in files must be enabled in $HOME/.vimrc. If not use previously
filetype plugin on
Create .vimrc if there is none or use the files in $HOME/.vim/perl-support/rc as a starting point.
After done with installation lets get to know about
The Powerful Features of Perl-support
1. Add Automatic Header to *.pl file whenever you create a new file
2. Insert statements
3. Insert frequently used statements
4. Insert special variables
5. insert code snippets and manage templates
6. Run a profiler
7. Run the script, check the syntax, start the debugger
8. Make integration
Thursday, 6 August 2020
Use of Scripting languages in VLSI
- Front end RTL/Testbench code compilation and simulation flows
- Automation of running tests in regressions, generating reports, analyzing failures, debug automation
- Connectivity checks, netlist parsing, automatic generation/modification any RTL module/stubs, etc
- Synthesis, P&R tools interfacing, and back end flow.
- Several project management utilities - regression pass rates, trends, bug charts, etc - that helps in tracking projects
- Any other task that is repetitive in workflow and can be automated.
-
This is 8-bit microprocessor with 5 instructions. It is based on 8080 architecture. This architecture called SAP for Simple-As-Possible comp...
-
Q1: What is UVM? What is the advantage of UVM? Ans: UVM (Universal Verification Methodology) is a standardized methodology for verify...
-
There are some differences between UDIMMs and RDIMMs that are important in choosing the best options for memory performance. First, let’s ta...
-
Up/down counter circuits are very useful devices. A common application is in machine motion control, where devices called rotary shaft encod...
-
A small RISC CPU (written in VHDL) that is compatible with the 12 bit opcode PIC family. Single cycle operation normally, two cycles when th...