Posts

4 bit ALU-Verilog Code

Hi  Friends, I come up with a new post on 4 bit ALU using Verilog. It has both Structural as well as Behavioral models. This code was made by me and my friend Maunil. Our ALU has Following Components:- 1).Comparator 2).Adder/Subtractor 3).Shifter(Right/Right-Arithmetic/Left) 4).Logical Block Previously I posted an article on building 32 bit ALU in Logisim(Structural Model) This was written in verilog in Xilinx Platform and tested on Basys 2 FPGA(you may be knowing this thing and how to load our verilog code in this) So, below is the link for that code in the notepad you can make it verilog file by changing it extension to .v from .txt(You may also be knowing this. Link:- https://drive.google.com/file/d/0B36eSzxwoMyUTmRlSGxYa0RnRUk/view?usp=sharing Below is the link to .ucf file(contains the connections for basys 2 to test the code in that device) after downloading change its extension to .ucf from .txt. Link:- https://drive.google.com/file/d/0B36eSzxwoMyUcDd5VUZwX

How to Make Sequence Detectors(Finite State Machines)

Image
Hello friends, this time I came up with a new Article on how to make the State Diagrams of the Sequence Detectors-Finite State Machines(FSMs) and Sequence Detectors. Almost every Computer Science student come across the finite state machines in his/her course, some students may end up with doubts in this subject. Don't worry, in this article I will show you how to make state machines by making a simple Sequence Detector. What is in this Article:- 1).Basic Knowledge of Sequence Detection 2).How to make State Diagrams? 3).Make State table from State Diagrams and generate State Equations from these table. 4).How to design the FSMs from State Equations using Flip Flops(Here, D-Flip Flops). Let's Start:- 1).  Basic Knowledge of Sequence Detection:- The Sequence we are going to detect is the 1101 and 1001 With Overlapping. This means that suppose we are given a random binary bit string like:-                       11010010000111101000001111100010101011110001101001

Recommending Post:How to clean USB Pendrive

Hi friends, So have you stuck in a problem that you made a bootable USB drive and now you want to clean it for other use and you don't find any guide to do so. Don't worry, I recommend my friend's post featuring the solution of this problem(Using CMD). Try it. It is Safe. The link for that post is Below. Link:- http://spatels.blogspot.in/2015/03/how-to-clean-bootable-usb.html You must go if you are stuck and if your problem is solved then please give him a good like or comment. So bye for Now. Se you next time.

Self Composed Ringtones

Hello guys, Following are the Ringtones that I've made(really). Links:- 1).Beats:- https://drive.google.com/file/d/0B36eSzxwoMyUT3FRSjktX1Rab2M/view?usp=sharing 2).Jingle Bells Remix:- https://drive.google.com/file/d/0B36eSzxwoMyUVWR1U21sc2x3Qms/view?usp=sharing 3).Movie Score-Spacetime:- https://drive.google.com/file/d/0B36eSzxwoMyUUlZtckxvNHBGVDg/view?usp=sharing 4).X-Mas Remix:- https://drive.google.com/file/d/0B36eSzxwoMyUT0Ztam95UHgxOXM/view?usp=sharing Its free to download and share. So download it and hear it. And please don't forget to give your reviews in form of comments. Bye and Enjoy. See you next time.

32 Bit MISP ALU

Image
Hi friends, I came up with a new article. So in my college in Digital Design we were given the project to design and simulate a 32 bit MISP(Microprocessor without Interlocked Pipeline Stages)  ALU(Arithmetic and Logic Unit). ALU is the generally the component of the CPU which deals with logical and mathematical decisions to be taken by CPU. Image:- Picture of the final ALU. (Download it to Zoom it) So here I have made a design of 32 bit MIPS ALU. I have made this in a simulation software called Logisim which can be downloaded from link provided here:- Link:- https://drive.google.com/file/d/0B36eSzxwoMyUdEJaR0k2VVZtbm8/view?usp=sharing The ALU can be downloaded from the link provided here:- Link:- https://drive.google.com/file/d/0B36eSzxwoMyUMVFKM09tVmZRNEE/view?usp=sharing In this Zip you will find:- 1). The main designed circuit .circ extension(open in Logisim)(in this ALU32 Sub circuit is main). 2).The Readme showing the no of transistor used in this ALU a

Programming Paradigms

Hello friends, after long time I am writing a post. So this time I would tell you about different types of Programming Paradigms(steps to write different programs or ways to organize your thoughts)  that programmers, software engineers etc.. often use to write different kinds of the programs. There are 4 types of major programming paradigms(steps) to know more about them click the link below:- Link:- https://drive.google.com/file/d/0B4xgv8phk0PEYnlCcDJJNVJwYm8/view?usp=sharing So, bye for now, Meet you soon with another good article, Thank You for reading. Bye....

The C++ Program to Find Prime Numbers between 1 to 100

Hello friends, below is the C++ Program by me to find the Prime Numbers between 1 to 100 using Sieve of Eratosthenes. The program would be common but please focus on the Logic. content C++ Program:- /* Following C++ program finds prime numbers from 1 to 100 using Method of Sieve of Eratosthenes You can modify the program according to your needs, but the general logic remains same. ->By Deep C. Patel */ #include<iostream> #include<conio.h> #define MAX 100 //you can increase the limit more than 100 to get more prime numbers using namespace std; int main() { int i=0, flag=0, num[MAX], primeNo[MAX], k=0, count=2; for(i=0;i<MAX;i++) { num[i]=i+1; } cout<<"\n\nThe Array has Elements as Shown Below:-\n"; for(i=0;i<MAX;i++) { cout<<"\n"<<num[i]; } primeNo[k]=2; //Declaring First Prime Number 2 k++; while(count<=100) { flag=0;