Data Hiding and EncapsulationAs for above codes and their outputs data inherited from the parent were visible to the world outside. One object can access others data. Even the super command gave all the permissions to access the codes. Yes that sounds like a science fiction movie where super keyword can access J.A.R.V.I.S database butContinue reading "System Verilog Encapsulation"
System Verilog Inheritance
System Verilog InheritanceSystem Verilog supports OOPS Inheritance which allows a user to inherit the class properties including the task, functions as well variables. System Verilog supports single inheritance as well as multiple inheritance. Elaboration - Consider a case where we have declared a class named parent and we want to its properties to be sharedContinue reading "System Verilog Inheritance"
System Verilog Static Class and members
System Verilog Static Class MembersWhen we want to have some variable which we do not want to change its value across whole program and within all instances then static members come in action. Let us take an example like a counter which will count how many times a particular class was instantiated then it isContinue reading "System Verilog Static Class and members"
System Verilog Class and Objects
System Verilog Classes and Objects A class is a blueprint or schematic which has its own behavior and works the same way for different instantiations. Any variable which is called or “instantiated” with the blueprint of this class is called an object of this class. Object Orientation revolves around classes and objects. It’s like solar systemContinue reading "System Verilog Class and Objects"
SPI Working with Verilog Code
SPI Verilog CodeSerial Peripheral Interfacing or simply saying SPI is a communication protocol used between devices to communicate with. They certainly have to talk in the same language or rather say synchronized signals to perform any action.AContinue reading "SPI Working with Verilog Code"
PS Command in LInux
Linux PS CommandPS command displays directly the processes running within the linux system. However these aren’t repetitive. One only gets the update of that very moment when this command is executed. To get the continuous update we use top command. The command also provides us the PIDs of the particular process.The syntax for ps isContinue reading "PS Command in LInux"
SR Flip Flop Verilog Code
SR Flip Flop Verilog Code The SR or Set-Reset Flip-Flop works a memory storage element. It can store a single bit of memory working with two inputs named set and reset. When the output Q is 0 then the flip-flop is said to be reset and when it is 1 then it is said toContinue reading "SR Flip Flop Verilog Code"
JK Flip Flop Verilog Code
JK Flip Flop Truth TableSR Flip Flop has many advantages, but it also comes with various disadvantages. Among them is the forbidden condition whose result can either be 1 or 0. Thus to avoid this condition JK Flip Flop comes in rescue.JK Flop Flop is also a universal flip-flop and has the same input as comparedContinue reading "JK Flip Flop Verilog Code"
AWK Commands in Linux II
AWK commands in LinuxAWK programming has various built in commands which enables scanning every record and field inside a file. However, one must be careful to use as Linux has eyes that can look spaces too. Basically AWK built in commands has defined values like field separator, record separator etc.AWK FS commandThe FS command actsContinue reading "AWK Commands in Linux II"
AWK Commands in Linux I
Awk Linux TutorialAwk is a programming language which involves manipulation of data is a strict structured format. Awk stands proudly representing the names of its authors who dealt a great time with it. The authors were “Aho, Weinberger, and Kernighan”. Since Awk handles data very efficiently and sequentially hence it is used for basic patternContinue reading "AWK Commands in Linux I"