in these slides you will find basic concept of combinational and sequenstional logic. these ppts are designed for students of electrical engineering, and covers all the necessary topic of their interest.
These slides contain the basic of sequential logic, and includes a detailed and animated description of Flip-Flop and latches, it includes shift registers and counters also. It covers the fourth unit of Digital Logic Design
Logic gates ANS gate nor gate xor gate nor gate all the gates in the DLD digital logic design. all the gates are explain in details
for more go to www.healthbeautytips.com.pk
These slides contain the basic of sequential logic, and includes a detailed and animated description of Flip-Flop and latches, it includes shift registers and counters also. It covers the fourth unit of Digital Logic Design
Logic gates ANS gate nor gate xor gate nor gate all the gates in the DLD digital logic design. all the gates are explain in details
for more go to www.healthbeautytips.com.pk
Counters:
Introduction, Asynchronous counter, Terms related to counters, IC-7493 (4-bit binary counter), Synchronous counter, Bushing, Type T-Design, Type JK Design, Presettable counter, IC-7490, IC 7492, Synchronous counter ICs, Analysis of counter circuits
Logic gates are the basic building blocks of any digital system. It is an electronic circuit having one or more than one input and only one output. The relationship between the input and the output is based on a certain logic. Based on this, logic gates are named as AND gate, OR gate, NOT gate etc.
EASA Part 66 Module 5.5 : Logic Circuitsoulstalker
Presentation slide basic information
AND + OR + NAND + NOR + EX NOR + Application
Other EASA Part66 slide and note can be found here :
http://part66.blogspot.com
This presentation is all about counters, focusing on synchronous and asynchronous counters. The unique feature is the incorporation of the circuit images generated from MULTISIM software imparting practical knowledge to the users.
Design and implementation of synchronous 4 bit up counter using 180 nm cmos p...eSAT Publishing House
IJRET : International Journal of Research in Engineering and Technology is an international peer reviewed, online journal published by eSAT Publishing House for the enhancement of research in various disciplines of Engineering and Technology. The aim and scope of the journal is to provide an academic medium and an important reference for the advancement and dissemination of research results that support high-level learning, teaching and research in the fields of Engineering and Technology. We bring together Scientists, Academician, Field Engineers, Scholars and Students of related fields of Engineering and Technology
notes of Mathematics- III (Theory & numerical part)Mohammad Imran
this folder contains the following topic :
skewness,moments,
fitting of straight lines
numerical Techniques
Statical Techniques
interpolation
newtons backward interpolation
newton forward interpolation
bisection method
Juvenis in Latin means young. The Juvenile Justice System emerged from the need to have an alternative legal system for dealing with children. The first enactment for juveniles in India was the Juvenile Justice Act, 1986 (53 of 1986). This law has since been amended twice in the years 2000 and 2006, to make it more child-friendly.
HAQ: Center for Child Rights
B1/2, Ground Floor,
Malviya Nagar
New Delhi - 110017
Tel: +91-26677412,26673599
Fax: +91-26674688
Website: www.haqcrc.org
FaceBook Page: https://www.facebook.com/HaqCentreForChildRights
Counters:
Introduction, Asynchronous counter, Terms related to counters, IC-7493 (4-bit binary counter), Synchronous counter, Bushing, Type T-Design, Type JK Design, Presettable counter, IC-7490, IC 7492, Synchronous counter ICs, Analysis of counter circuits
Logic gates are the basic building blocks of any digital system. It is an electronic circuit having one or more than one input and only one output. The relationship between the input and the output is based on a certain logic. Based on this, logic gates are named as AND gate, OR gate, NOT gate etc.
EASA Part 66 Module 5.5 : Logic Circuitsoulstalker
Presentation slide basic information
AND + OR + NAND + NOR + EX NOR + Application
Other EASA Part66 slide and note can be found here :
http://part66.blogspot.com
This presentation is all about counters, focusing on synchronous and asynchronous counters. The unique feature is the incorporation of the circuit images generated from MULTISIM software imparting practical knowledge to the users.
Design and implementation of synchronous 4 bit up counter using 180 nm cmos p...eSAT Publishing House
IJRET : International Journal of Research in Engineering and Technology is an international peer reviewed, online journal published by eSAT Publishing House for the enhancement of research in various disciplines of Engineering and Technology. The aim and scope of the journal is to provide an academic medium and an important reference for the advancement and dissemination of research results that support high-level learning, teaching and research in the fields of Engineering and Technology. We bring together Scientists, Academician, Field Engineers, Scholars and Students of related fields of Engineering and Technology
notes of Mathematics- III (Theory & numerical part)Mohammad Imran
this folder contains the following topic :
skewness,moments,
fitting of straight lines
numerical Techniques
Statical Techniques
interpolation
newtons backward interpolation
newton forward interpolation
bisection method
Juvenis in Latin means young. The Juvenile Justice System emerged from the need to have an alternative legal system for dealing with children. The first enactment for juveniles in India was the Juvenile Justice Act, 1986 (53 of 1986). This law has since been amended twice in the years 2000 and 2006, to make it more child-friendly.
HAQ: Center for Child Rights
B1/2, Ground Floor,
Malviya Nagar
New Delhi - 110017
Tel: +91-26677412,26673599
Fax: +91-26674688
Website: www.haqcrc.org
FaceBook Page: https://www.facebook.com/HaqCentreForChildRights
This slide describe the techniques of digital modulation and Bandwidth Efficiency:
The first null bandwidth of M-ary PSK signals decrease as M increases while Rb is held constant.
Therefore, as the value of M increases, the bandwidth efficiency also increases.
Its is a PowerPoint presentation for lecture registers Which we learn how to work register on design logic . Its is a complete notes for students who learn about register and their working . It's described complete course
Latches
– Flip-Flops - SR, JK, D and T
– Master Slave Flip Flops
• Shift Registers
– SISO, SIPO, PISO, PIPO and Universal
• Binary Counters
– Synchronous and asynchronous up/down counters
– mod - N counter
– Counters for random sequence
– Johnson counter and Ring counter
Registers - Serial in serial out, Serial in Parallel out, Parallel in serial out, Parallel in Parallel
out registers, Bidirectional shift registers, universal shift registers.
Counters - Synchronous and asynchronous counters, UP/DOWN counters, Modulo-N
Counters, Cascaded counter, Programmable counter, Counters using shift registers, application
of counters.
"The Chandrayaan-3 PPT provides a comprehensive overview of India's upcoming lunar mission, highlighting its objectives, advancements in technology, and its significance in furthering our understanding of the Moon's geology and potential for future human exploration."
In this presentation, all kind of computer Memories are explained.
These PPTs are better presentable in Slide Show, that's not possible here, the Explanatory Videos are available at
https://www.youtube.com/channel/UCaVNvNzkb01ZMT1GDeITM9w
Unit-1 Digital Design and Binary Numbers:Asif Iqbal
these slides contains general discerption about digital signals, binary numbers, digital numbers, and basic logic gates. it covers the first unit of AKTU syllabus.
this unit basically contain detailed and animated description of LED, Varactor diode, Photo diode, Schottky diode, Tunnel diode, their characteristics and applications.
the concept of Transistors as a switch is also discussed in the last
digital to analog (DAC) & analog to digital converter (ADC) Asif Iqbal
these slides contain a detailed description of DAC & ADC. with the help of PowerPoint animations i have tried to explain the operation and performance of the circuits in detail.
6th International Conference on Machine Learning & Applications (CMLA 2024)ClaraZara1
6th International Conference on Machine Learning & Applications (CMLA 2024) will provide an excellent international forum for sharing knowledge and results in theory, methodology and applications of on Machine Learning & Applications.
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...ssuser7dcef0
Power plants release a large amount of water vapor into the
atmosphere through the stack. The flue gas can be a potential
source for obtaining much needed cooling water for a power
plant. If a power plant could recover and reuse a portion of this
moisture, it could reduce its total cooling water intake
requirement. One of the most practical way to recover water
from flue gas is to use a condensing heat exchanger. The power
plant could also recover latent heat due to condensation as well
as sensible heat due to lowering the flue gas exit temperature.
Additionally, harmful acids released from the stack can be
reduced in a condensing heat exchanger by acid condensation. reduced in a condensing heat exchanger by acid condensation.
Condensation of vapors in flue gas is a complicated
phenomenon since heat and mass transfer of water vapor and
various acids simultaneously occur in the presence of noncondensable
gases such as nitrogen and oxygen. Design of a
condenser depends on the knowledge and understanding of the
heat and mass transfer processes. A computer program for
numerical simulations of water (H2O) and sulfuric acid (H2SO4)
condensation in a flue gas condensing heat exchanger was
developed using MATLAB. Governing equations based on
mass and energy balances for the system were derived to
predict variables such as flue gas exit temperature, cooling
water outlet temperature, mole fraction and condensation rates
of water and sulfuric acid vapors. The equations were solved
using an iterative solution technique with calculations of heat
and mass transfer coefficients and physical properties.
Understanding Inductive Bias in Machine LearningSUTEJAS
This presentation explores the concept of inductive bias in machine learning. It explains how algorithms come with built-in assumptions and preferences that guide the learning process. You'll learn about the different types of inductive bias and how they can impact the performance and generalizability of machine learning models.
The presentation also covers the positive and negative aspects of inductive bias, along with strategies for mitigating potential drawbacks. We'll explore examples of how bias manifests in algorithms like neural networks and decision trees.
By understanding inductive bias, you can gain valuable insights into how machine learning models work and make informed decisions when building and deploying them.
TOP 10 B TECH COLLEGES IN JAIPUR 2024.pptxnikitacareer3
Looking for the best engineering colleges in Jaipur for 2024?
Check out our list of the top 10 B.Tech colleges to help you make the right choice for your future career!
1) MNIT
2) MANIPAL UNIV
3) LNMIIT
4) NIMS UNIV
5) JECRC
6) VIVEKANANDA GLOBAL UNIV
7) BIT JAIPUR
8) APEX UNIV
9) AMITY UNIV.
10) JNU
TO KNOW MORE ABOUT COLLEGES, FEES AND PLACEMENT, WATCH THE FULL VIDEO GIVEN BELOW ON "TOP 10 B TECH COLLEGES IN JAIPUR"
https://www.youtube.com/watch?v=vSNje0MBh7g
VISIT CAREER MANTRA PORTAL TO KNOW MORE ABOUT COLLEGES/UNIVERSITITES in Jaipur:
https://careermantra.net/colleges/3378/Jaipur/b-tech
Get all the information you need to plan your next steps in your medical career with Career Mantra!
https://careermantra.net/
Online aptitude test management system project report.pdfKamal Acharya
The purpose of on-line aptitude test system is to take online test in an efficient manner and no time wasting for checking the paper. The main objective of on-line aptitude test system is to efficiently evaluate the candidate thoroughly through a fully automated system that not only saves lot of time but also gives fast results. For students they give papers according to their convenience and time and there is no need of using extra thing like paper, pen etc. This can be used in educational institutions as well as in corporate world. Can be used anywhere any time as it is a web based application (user Location doesn’t matter). No restriction that examiner has to be present when the candidate takes the test.
Every time when lecturers/professors need to conduct examinations they have to sit down think about the questions and then create a whole new set of questions for each and every exam. In some cases the professor may want to give an open book online exam that is the student can take the exam any time anywhere, but the student might have to answer the questions in a limited time period. The professor may want to change the sequence of questions for every student. The problem that a student has is whenever a date for the exam is declared the student has to take it and there is no way he can take it at some other time. This project will create an interface for the examiner to create and store questions in a repository. It will also create an interface for the student to take examinations at his convenience and the questions and/or exams may be timed. Thereby creating an application which can be used by examiners and examinee’s simultaneously.
Examination System is very useful for Teachers/Professors. As in the teaching profession, you are responsible for writing question papers. In the conventional method, you write the question paper on paper, keep question papers separate from answers and all this information you have to keep in a locker to avoid unauthorized access. Using the Examination System you can create a question paper and everything will be written to a single exam file in encrypted format. You can set the General and Administrator password to avoid unauthorized access to your question paper. Every time you start the examination, the program shuffles all the questions and selects them randomly from the database, which reduces the chances of memorizing the questions.
2. Multiplexers
A multiplexer has
N control inputs
2N
data inputs
1 output
A multiplexer routes (or connects) the selected data
input to the output.
The value of the control inputs determines the data input that
is selected.
7. Encoder/Decoder Vocabulary
ENCODER- a digital circuit that produces a binary output code
depending on which of its inputs are activated.
DECODER- a digital circuit that converts an input binary code
into a single numeric output.
9. THE 8421 BCD CODE
• BCD stands for Binary-Coded Decimal.
• A BCD number is a four-bit binary group that represents one of
the ten decimal digits 0 through 9.
Example:
Decimal number 4926 4 9 2 6
8421 BCD coded number 0100 1001 0010 0110
10. ELECTRONIC ENCODER-DECIMAL TO BCD
0
Decimal
to
BCD
Encoder
BCD output
Decimal input
0 0 0 0
5
0 1 0 1
7
0 1 1 1
3
0 0 1 1
• Encoders are available in IC form.
• This encoder translates from decimal input to
BCD output.
16. BCD-to-
7-Segment
Decoder/
Driver
DECODERS: BCD TO 7-SEGMENT DECODER/DRIVER
BCD input
0 0 0 0
Decimal output
LED
0 0 0 10 0 1 00 0 1 10 1 0 0
• Electronic decoders are available in IC form.
• This decoder translates from BCD to decimal.
• Decimals are shown on an 7-segment LED display.
• This IC also drives the 7-segment LED display.
30. PROBLEMS
Q:- Determine the output of PGT
clocked SR flip flop which Q
initially 0 for the given input
waveforms
Q
Q’
Q:- Determine the output of PGT
clocked SR flip flop which Q
initially 1 for the given input
waveforms.
33. Definition
• A register is a digital circuit with two basic functions:
Data Storage and Data Movement
• A shift register provides the data movement function
• A shift register “shifts” its output once every clock cycle
• A shift register is a group of flip-flops set up in a linear
fashion with their inputs and outputs connected
together in such a way that the data is shifted from one
device to another when the circuit is active
34. Shift Register Applications
• converting between serial
data and parallel data
• temporary storage in a
processor
• scratch-pad memories
• some arithmetic
operations
• multiply, divide
• communications
• UART
• some counter applications
• ring counter
• Johnson counter
• Linear Feedback Shift Register
(LFSR) counters
• time delay devices
• more …
35. Shift Register Characteristics
• Types
• Serial-in, Serial-out
• Serial-in, Parallel-out
• Parallel-in, Serial-out
• Parallel-in, Parallel-out
• Universal
• Direction
• Left shift
• Right shift
• Rotate (right or left)
• Bidirectional
n-bit shift
register
36. Data Movement
• The bits in a shift register can move in any of the following manners
38. n-bit shift
register
Serial-In Serial-Out
• Data bits come in one at a time and
leave one at a time
• One Flip-Flop for each bit to be
handled
• Movement can be left or right, but is
usually only in a single direction in
a given register
• Asynchronous preset and clear
inputs are used to set initial values
39. Serial-In Serial-Out
• The logic circuit diagram below shows a generalized
serial-in serial-out shift register
• SR Flip-Flops are shown
• Connected to behave as D Flip-Flops
• Input values moved to outputs of each Flip-Flop with the clock (shift) pulse
N-Bit Shift Register
0N 1
40. Shift Registers
• The simplest shift register is one that uses only Flip-Flops
• The output of a given Flip-Flop is connected to the D input of the Flip-Flop at its
right.
• Each clock pulse shifts the contents of the register one bit position to the right.
• The Serial input (SI) determines what goes into the leftmost Flip-Flop during the
shift. The Serial output (SO) is taken from the output of the rightmost Flip-Flop.
Q Q QQ
41. Serial-In Serial-Out
• A simple way of looking at
the serial shifting operation,
with a focus on the data bits,
is illustrated at right
• The 4-bit data word “1011”
is to be shifted into a 4-bit
shift register
• One shift per clock pulse
• Data is shown entering at
left and shifting right
41
1
2
3
4
5
42. Serial-In Serial-Out
• The diagram at right
shows the 4-bit sequence
“1010” being loaded into
the 4-bit serial-in serial-
out shift register
• Each bit moves one
position to the right each
time the clock’s leading
edge occurs
• Four clock pulses loads
the register
42
43. Serial-In Serial-Out
• This diagram shows the 4-
bit sequence “1010” as it
is unloaded from the 4-
bit serial-in serial-out
shift register
• Each bit moves one
position to the right each
time the clock’s leading
edge occurs
• Four clock pulses unloads
the register
43
44. Serial-In Serial-Out
• Serial-in, serial-out
shift registers are often
used for data
communications
• such as RS-232
• modem transmission and
reception
• Ethernet links
• SONET
• etc.
45. Serial-to-Parallel Conversion
• We often need to convert from serial
to parallel
• e.g., after receiving a series transmission
• The diagrams at the right illustrate a
4-bit serial-in parallel-out shift
register
• Note that we could also use the Q of
the right-most Flip-Flop as a serial-
out output
n-bit shift
register
46. Serial-to-Parallel Conversion
• We would use a serial-in
parallel-out
shift register of
arbitrary length N to
convert an N-bit word
from serial to parallel
• It would require N clock
pulses to LOAD and one
clock pulse to UNLOAD
47. Serial-to-Parallel Conversion
• These two shift
registers are used to
convert serial data to
parallel data
• The upper shift
register would “grab”
the data once it was
shifted into the lower
register
48. Parallel-to-Serial Conversion
• We use a Parallel-in Serial-out Shift
Register
• The DATA is applied in parallel form to the
parallel input pins PA to PD of the register
• It is then read out sequentially from the
register one bit at a time from PA to PD on
each clock cycle in a serial format
• One clock pulse to load
• Four pulses to unload
n-bit shift
register
50. Parallel-In Parallel-Out
• Parallel-in Parallel-out Shift
Registers can serve as a temporary
storage device or as a time delay
device
• The DATA is presented in a parallel
format to the parallel input pins PA
to PD and then shifted to the
corresponding output pins QA to
QD when the registers are clocked
• One clock pulse to load
• One pulse to unload
50
51. n-bit shift
register
Universal Shift Register
• Universal shift register
• Can do any combination of parallel
and serial input/output operations
• Requires additional inputs to
specify desired function
• Uses a Mux-like input gating
L/SL/S
A
B
A
B
F
1
0
1
0
53. Universal Shift Register
• Parallel shift register (can serve as converting
parallel-in to serial-out shifter):
54. Registers summary
• A register is a special state machine that stores multiple bits
of data
• Several variations are possible:
• Parallel loading to store data into the register
• Shifting the register contents either left or right
• Counters are considered a type of register too!
• One application of shift registers is converting between serial
and parallel data
• Most programs need more storage space than registers provide
• We’ll introduce RAM to address this problem
• Registers are a central part of modern processors
55. Introducing counters
• Counters are a specific type of sequential circuit
• The state serves as the “output” (Moore)
• A counter that follows the binary number sequence is called a binary
counter
• n-bit binary counter: n flip-flops, count in binary from 0 to 2ⁿ-1
• Counters are available in two types:
• Synchronous Counters
• Ripple Counters
• Synchronous Counters:
• A common clock signal is connected to the C input of each flip-flop
56. Synchronous Binary Up Counter
• The output value increases by one on each clock cycle
• After the largest value, the output “wraps around” back to 0
• Using two bits, we’d get something like this:
Present State Next State
A B A B
0 0 0 1
0 1 1 0
1 0 1 1
1 1 0 0
00 01
1011
57. Synchronous Binary Up Counter
Present State Next State
A B A B
0 0 0 1
0 1 1 0
1 0 1 1
1 1 0 0
D1= A’B + AB’
D0= B’
clock
A
B
58. What good are counters?
• Counters can act as simple clocks to keep track of “time”
• You may need to record how many times something has happened
• How many bits have been sent or received?
• How many steps have been performed in some computation?
• All processors contain a program counter, or PC
• Programs consist of a list of instructions that are to be executed
one after another (for the most part)
• The PC keeps track of the instruction currently being executed
• The PC increments once on each clock cycle, and the next program
instruction is then executed.
59. Synch Binary Up/Down Counter
• 2-bit Up/Down counter
• Counter outputs will be 00, 01, 10 and 11
• There is a single input, X.
> X= 0, the counter counts up
> X= 1, the counter counts down
• We’ll need two flip-flops again. Here are the four possible states:
00 01
1011
60. The complete state diagram and table
00 01
1011
0
0
0
10 1
1
1
Present State Inputs Next State
Q1 Q0 X Q1 Q0
0 0 0 0 1
0 0 1 1 1
0 1 0 1 0
0 1 1 0 0
1 0 0 1 1
1 0 1 0 1
1 1 0 0 0
1 1 1 1 0
• Here’s the complete state diagram and state table for this circuit
61. D flip-flop inputs
• If we use D flip-flops, then the D inputs will just be the same as the desired next
states
• Equations for the D flip-flop inputs are shown at the right
• Why does D0 = Q0’ make sense?
Present State Inputs Next State
Q1 Q0 X Q1 Q0
0 0 0 0 1
0 0 1 1 1
0 1 0 1 0
0 1 1 0 0
1 0 0 1 1
1 0 1 0 1
1 1 0 0 0
1 1 1 1 0
Q0
0 1 0 1
Q1 1 0 1 0
X
Q0
1 1 0 0
Q1 1 1 0 0
X
D1 = Q1 Q0 X
D0 = Q0’
63. Unused states
• The examples shown so far have all had 2n
states, and used n flip-flops. But
sometimes you may have unused, leftover states
• For example, here is a state table and diagram for a counter that repeatedly
counts from 0 (000) to 5 (101)
• What should we put in the table for the two unused states?
Present State Next State
Q2 Q1 Q0 Q2 Q1 Q0
0 0 0 0 0 1
0 0 1 0 1 0
0 1 0 0 1 1
0 1 1 1 0 0
1 0 0 1 0 1
1 0 1 0 0 0
1 1 0 ? ? ?
1 1 1 ? ? ?
001
010
011
100
101
000
64. Unused states can be don’t cares…
• To get the simplest possible circuit, you can fill in don’t cares for the
next states. This will also result in don’t cares for the flip-flop inputs,
which can simplify the hardware
• If the circuit somehow ends up in one of the unused states (110 or 111),
its behavior will depend on exactly what the don’t cares were filled in with
Present State Next State
Q2 Q1 Q0 Q2 Q1 Q0
0 0 0 0 0 1
0 0 1 0 1 0
0 1 0 0 1 1
0 1 1 1 0 0
1 0 0 1 0 1
1 0 1 0 0 0
1 1 0 x x x
1 1 1 x x x
001
010
011
100
101
000
65. 65
…or maybe you do care
• To get the safest possible circuit, you can explicitly fill in next states
for the unused states 110 and 111
• This guarantees that even if the circuit somehow enters an unused state,
it will eventually end up in a valid state
• This is called a self-starting counter
Present State Next State
Q2 Q1 Q0 Q2 Q1 Q0
0 0 0 0 0 1
0 0 1 0 1 0
0 1 0 0 1 1
0 1 1 1 0 0
1 0 0 1 0 1
1 0 1 0 0 0
1 1 0 0 0 0
1 1 1 0 0 0
001
010
011
100
101
000
111110
66. More complex counters
• It can increment or decrement, by setting the UP input to 1 or 0
• You can immediately (asynchronously) clear the counter to 0000
by setting CLR = 1
• You can specify the counter’s next output by setting D3-D0 to any
four-bit value and clearing LD
• The active-low EN input enables or disables the counter
• When the counter is disabled, it continues to output the same
value without incrementing, decrementing, loading, or clearing
• The “counter out” CO is normally 1, but becomes 0
when the counter reaches its maximum value, 1111
68. An 8-bit counter
• As you might expect by now, we can use
these general counters to build other
counters
• Here is an 8-bit counter made from two 4-bit
counters
• The bottom device represents the least significant four
bits, while the top counter represents the most significant
four bits
• When the bottom counter reaches 1111 (i.e., when CO =
0), it enables the top counter for one cycle
• Other implementation notes:
• The counters share clock and clear signals
• Hex displays are used here
69. A restricted 4-bit counter
• We can also make a counter that “starts” at some value besides 0000
• In the diagram below, when CO=0 the LD signal forces the next state
to be loaded from D3-D0
• The result is this counter wraps from 1111 to 0110 (instead of 0000)
70. Another restricted counter
• We can also make a circuit that counts up to only 1100, instead of 1111
• Here, when the counter value reaches 1100, the NAND gate forces
the counter to load, so the next state becomes 0000
72. Summary
• Counters serve many purposes in sequential logic design
• There are lots of variations on the basic counter
• Some can increment or decrement
• An enable signal can be added
• The counter’s value may be explicitly set
• There are also several ways to make counters
• You can follow the sequential design principles to build counters
from scratch
• You could also modify or combine existing counter devices