






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







Author of this note Mr. K. Prasad BSc from University of Calicut, MSc from university of Delhi, and M.B.A from IGNOU Delhi, These notes were prepared during my teaching session for under graduate students (11th and 12th class) of my school Physics department. This note is helpful for under graduate students and junior level graduates. I declare that these notes are my original works based on my knowledge in physics and the books mentioned below are the reference books I used for preparing these notes. TABLE OF CONTENTS, (1)Ring Counter, (2)Working of ring counter,
**(3)Asynchronous counters, (4)A decade counter, (5)A decade counter Circuit diagram, (6)Synchronous counters, (7)Input output devices, (8)Data storage (idea of RAM and ROM), (9)Memory organization and addressing, (10)Memory interfacing, (11)Memory-mapping, Reference Books:
D.P.Leach and Saha, 7 th**^ Ed., 2011, Tata McGraw #Fundamentals of Digital Circuits, Anand Kumar, 2 nd^ **Edn, 2009, PHI Learning Pvt. Ltd #Digital Circuits and systems, Venugopal, 2011, Tata McGraw Hill
applications with 8085, 2002, R.S. Goankar, Prentice Hall**
These two values (always fixed) are independent with the input D and the Clock pulse (CLK). Working The ORI input is passed to the PR input of the first flip flop, i.e., FF-0, and it is also passed to the clear input of the remaining three flip flops, i.e., FF-1, FF-2, and FF-3. The pre-set input set to 0 for the first flip flop. So, the output of the first flip flop is one, and the outputs of the remaining flip flops are 0. The output of the first flip flop is used to form the ring in the ring counter and referred to as Pre-set 1. In the above table, the highlighted 1's are pre-set 1. The Pre-set 1 is generated when ORI input set to low, and that time the Clk doesn't care. When the ORI input set to high and the low clock pulse signal is passed as the negative clock edge triggered. A ring forms when the pre-set 1 is shifted to the next flip-flop at each clock pulse.
So, 4-bit counter, 4 states are possible which are as follows: 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 A twisted ring counter, also called switch-tail ring counter, walking ring counter, Johnson counter, or Mobius counter, connects the complement of the output of the last shift register to the input of the first register and circulates a stream of ones followed by zeros around the ring. A 4 - bit ring counter will be loaded with a bit pattern of 0001. As we have the output of the last flip-flop connected back to the first flip-flop, this bit pattern continuously rotates within the counter by shifting once its position for each clock pulse fed. Ring counters are used to count the data in a continuous loop. They are also used to detect the various numbers values or various patterns within a set of information, by connecting AND & OR logic gates to the ring counter circuits. Asynchronous counters Asynchronous counters are sometimes called ripple counters because the data appears to “ripple” from the output of one flip-flop to the input of the next. They can be implemented using “divide-by-n” counter circuits. Truncated counters can produce any modulus number count.
Synchronous counters Synchronous counters are sometimes called parallel counters as the clock is fed in parallel to all flip-flops. The inherent memory circuit keeps track of the counters present state. The count sequence is controlled using logic gates. Overall faster operation may be achieved compared to Asynchronous counters. The one advantage of synchronous counter over asynchronous counter is, it can operate on higher frequency than asynchronous counter as it does not have cumulative delay because of same clock is given to each flip flop. Asynchronous counters are slower than synchronous counters because of the delay in the transmission of the pulses from flip-flop to flip-flop. Asynchronous counters are also called ripple-counters because of the way the clock pulse ripples it way through the flip-flops.
Synchronous Counter examples are: Ring counter, Johnson counter. Asynchronous Counter examples are: Ripple UP counter, Ripple DOWN counter Some common uses and application of synchronous counters are following: Alarm Clock, Set AC Timer, Set time in camera to take the picture, flashing light indicator in automobiles, car parking control etc. Counting the time allotted for special process or event by the scheduler. Input output devices, An input/output device, often known as an IO device, is any hardware that allows a human operator or other systems to interface with a computer. Input/output devices, as the name implies, are capable of delivering data (output) to and receiving data from a computer (input). The most important input devices are as follows Keyboard, Mouse, Joy Stick, Light pen, Track Ball, Scanner, Graphic Tablet, Microphone etc. The various output devices are, Monitor. A computer's principal output device is a monitor, often known as a Visual Display Unit (VDU). ... Printers, Printers are information output devices that allow you to print data on paper, Plotter. Projector, Speakers, Headphones, Sound Card, Video Card etc, Data storage (idea of RAM and ROM),
Organizational memory (OM) (sometimes called institutional or corporate memory) is the accumulated body of data, information, and knowledge created in the course of an organization's existence. For this particular reason, organizational memory comes into action to quickly store and retrieve knowledge and accumulated information. Any organizational definition would need to deal with the different repositories to stored knowledge and retrieve the more formal records and tacit and embedded knowledge. Memory interfacing, Memory requires some signals to read from and write to registers and microprocessor transmits some signals for reading or writing data. The interfacing process includes matching the memory requirements with the microprocessor signals. When we are executing any instruction, we need the microprocessor to access the memory for reading instruction codes and the data stored in the memory. For this, both the memory and the microprocessor require some signals to read from and write to registers. Interfacing is one of the important concepts in microcontroller 8051 because the microcontroller is a CPU that can perform some operation on a data and gives the output. However to perform the operation we need an input device to enter the data and in turn output device displays the results of the operation. Memory-mapping, Memory-mapping is a mechanism that maps a portion of a file, or an entire file, on disk to a range of addresses within an application's
address space. The application can then access files on disk in the same way it accesses dynamic memory. The default location for all maps being downloaded from within the app is in the Memory-Map folder which is in the Downloads folder on the device default storage There are two types of memory-mapped files: Persisted memory-mapped files, Persisted files are memory-mapped files that are associated with a source file on a disk. ... Non-persisted memory-mapped files, Non-persisted files are memory- mapped files that are not associated with a file on a disk.