Quantcast
Browsing all 21 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

System Verilog Virtual Interface

Download here. system_verilog_virtual_interface // Filename    : virtual_interface.sv // Author      : A.G.Raja // License     : GPL // Website     : http://agraja.wordpress.com interface bus(input...

View Article


Image may be NSFW.
Clik here to view.

C++ Singleton Example

Download here.  singleton-design-pattern Purpose of a singleton: To have a class which has only one instance(object) All the objects of this class refer to same global object that is created only once...

View Article


Image may be NSFW.
Clik here to view.

System Verilog Singleton Example

Purpose of a singleton: To have a class which has only one instance(object) All the objects of this class refer to same global object that is created only once This design pattern provides a mechanism...

View Article

Image may be NSFW.
Clik here to view.

Airtel Broadband connection on linux machine

I have a dual boot (Windows XP, openSUSE) PC. I have my airtel broadband connection activated. Airtel Engineer had done the setup and activation on WindowsXP. After he left, I did a reboot to openSUSE....

View Article

Image may be NSFW.
Clik here to view.

Latch vs Flip Flop

Latch • Asynchronous • Level Sensitive • Clock signal = Enable signal* = Latch Signal o It is not apt to call it Clock; better call it Enable o When ‘1’, Q changes when D changes o When ‘0’, Q retains...

View Article


Image may be NSFW.
Clik here to view.

SystemVerilog Interview Questions

What is the use of OOPs in Verification? Compare Verilog and SV. OOPs allows plug-and-play re-usable verification components Verilog – Procedural SystemVerilog – OOPs. Abstraction, Encapsulation,...

View Article

Image may be NSFW.
Clik here to view.

Creativity can be taught

Everyone can be creative knowing these tools/tips. pdf Creativity Tools Quotes: Creativity can be taught. Anyone can create and innovate. Creativity is about generating new ideas. Innovation is about...

View Article

Image may be NSFW.
Clik here to view.

List of Techniques to Generate Creative Ideas

6 Different Approaches to generate ideas 1. Extract the abstract: Simplify to a skeleton. Pay attention to details and classify. 2. Observe the features: Use SCAMPER on Attributes / Components /...

View Article


Image may be NSFW.
Clik here to view.

Many-ism of System of Government

Democracy: Head of Government is elected by citizen’s votes. Dictatorship: No voting rights. Corrupt voting mechanism in Democracy leads to Dictatorship. Political Spectrum based on Economic Policy....

View Article


Image may be NSFW.
Clik here to view.

OOP Design Patterns Summary

Summary of OOPs Design Patterns from GoF Book Note: Syntax, keywords of C++ used in example snippets. Download: DesignPatterns_Summary Creational Patterns Singleton Object is created only once using a...

View Article

Image may be NSFW.
Clik here to view.

Laptop plugged in, not charging

Laptop plugged in, but not charging: This was a really annoying issue, since I had bought the laptop just 3 months back. I searched in HP forums, (mine is a HP laptop), there were a range of...

View Article

Image may be NSFW.
Clik here to view.

Difference between reg, wire, logic in SystemVerilog

Wire Can be used for input, output, inout Multiple drivers, No drivers cause x Usage: Wire variable = value; Assign variable = value; Can be used to connect module instances   Reg Can be used only for...

View Article

Image may be NSFW.
Clik here to view.

General Purpose Preprocessor in Perl

Here is a preprocessor in perl, primarily for Verilog, SystemVerilog, but may be used for any language. There are programs with a lot of repetitive text. Language features like functions, objects can...

View Article


Image may be NSFW.
Clik here to view.

SystemVerilog Array of Interfaces

// Viewing Array of interfaces in waveform viewer(dve) // Notes added inline in the below example interface my_if(input clk); logic [31:0] addr; logic [31:0] data; endinterface module dut(input xx,...

View Article

Image may be NSFW.
Clik here to view.

Object Oriented Programming in Perl

Implementation of a Simple Tree Data Structure using OOP-Perl. Screenshot is used instead of text file for easy reading. Filed under: Bookmarks Tagged: array, bless, hash, lisp, module, oop, package,...

View Article


Image may be NSFW.
Clik here to view.

Preprocessor for Verilog, SystemVerilog

DownLoad PDF Version Here Contents Introduction Operation Syntax, Keywords Command Line options Example of input file Output of vpp.pl Complete script: vpp.pl Introduction This is a generic...

View Article

Image may be NSFW.
Clik here to view.

Identity Monad in Perl

#!/usr/bin/perl sub wrap_value { my $value=shift; return sub { return $value; }} sub bind_func { my ($value,$func)=@_; return $func->($value);} sub lift_func { my $func=shift; return sub { my...

View Article


Image may be NSFW.
Clik here to view.

Lambda Calculus in Perl

#!/usr/bin/perl # lambda expression = anonymous subroutine # all subroutines defined in this file are anonymous my $apply = sub { # lift   my ($func,@args)=@_;   sub {$func->(@args,@_)} # bind }; my...

View Article

Image may be NSFW.
Clik here to view.

Preprocess text with embedded perl code

Create my first project at Github: This script can be downloaded from https://github.com/agraja/text2perl/blob/master/text2perl.pl #!/usr/bin/perl # Tiny preprocessor: # Example: Paste this example in...

View Article

Image may be NSFW.
Clik here to view.

Compilation error at UVM factory registration macros

package simple_pkg; import uvm_pkg::*; `include “uvm_macros.svh” class my_class extends uvm_object; `uvm_object_utils(my_class) function new(string name=””,int additional_arg); super.new(name);...

View Article
Browsing all 21 articles
Browse latest View live