Class Notes

M Morris Mello // Computer System Architecture
We are more interested in Digital Elecs in this subject.
Orpat or Casio Calculator


Gray Codes, Excess 3, BCD,... wagera (see copy notes), Encoder : Priority and allat, Class Notes padh lena ek baar, Carry lookahead diagram dekh lena, last ke problems in copy, quiz solve karlo, pen daal lo, solve state table again, addition and subtraction algos (div and mult to padha hai already)


Electronics

They are classified into two groups :

1. Analog :

  • Continuous in nature
  • Circles are formed, which are made using Transistors (BJT), Resistors (JFET), Capacitors (MOSFET), Inductors (CMOS)

2. Digital :

  • not continuous
  • It comprises logic gates.
  • Logic : Can be any mathematical logic

Sequential Circuits

  • Final Output is dependent on previous input as well as the current input.
  • Flip / Flop, Latches
  • Flips Flops are made of latches.
  • From flip-flops you can design registers (For e.g. memory address of a register) and counters. (see copy Pg-1)
  • These registers can shift the data in a required direction
  • Counters are also made using flip-flops. They are used to count in a particular fashion (0 to 100, 100 to 0, odd numbers, even numbers, basically in any fashion)
  • Types of registers : Parallel input parallel output, serial input serial output

4 bit parallel adder subtractor : ripple adder and subtractor :

Pasted image 20240125022312.png

4 Bit Parallel Ripple Adder and Subtractor :

Pasted image 20240218213721.png

  • Here for a subtractor we'll ignore the last carry and when using it as an adder we'll consider the last carry.

Look Ahead Carry Generator :

Pasted image 20240218220728.png

  • To note : We are provided with the values of A0 and B0. Therefore baaki terms bhi A0 and B0 ke base pe predict karenge.

BCD to 7 Segment Decoder

Pasted image 20240219162517.png
Pasted image 20240219162500.png