


Using “friend” for overloading of << operator.
1. Overloading with free function. Function not part of Class. Basic class accessed by Reference not to make Copy and as Const as we not gonna change it. Only public […]




Abstract Factory
1. Usage When required to create family of related objects, and they should be easily changed to another family of related objects at run-time we use Abstract Factory; 2. UML […]

Factory Method
1. Usage “Define an interface for creating an object, but let subclasses decide which class to instantiate. The Factory method lets a class defer instantiation it uses to subclasses.”(Gang Of […]

Double Dispatch
Recently I was visiting one company and got C++ interview question: What is double dispatch. I studied C++ quite long time ago and that question confused me. Single Dispatch is calling virtual […]

Using Digilent’s PMOD8LD with ZYBO FPGA board
This article explain how capabilities of powerful Xilinx FPGA ZYBO board can be expanded by using Pmod extensions from Digilent. Xilinx FPGA ZYBO board is perfect tool to learn FPGA […]

VERILOG example using VIVADO 2015 with ZYBO FPGA board
Aim In this tutorial I will use Verilog with classical FPGA design. I bought perfect modern FPGA board ZYBO (ZYnq BOard) based on Xilinx Z-7010 from Digilent but latest tools […]