Friday, 9 October 2026

Lecture 1-6: Arithmetic computation and a simple processor


We studied an important lecture of Module 1 about how an ALU of CPU is built up and functioning.

The key components such as half-adder and full-adder are introduced. An example of 4-bit Ripple-Carry Binary Adder (RCBA) is illustrated to show how a computer can do Addition in general.

Complement concept is refreshed to remind about how to do subtraction, then a RCBA-based circuit for both Addition and Subtraction is introduced. Based on the circuit, other functional circuit such as incrementer/decrementer, multiplier/dividers are discussed. 

To wrap up Module 1, we summarized knowledge learnt from lecture 1 to 5 in order to understand how a CPU works. After that, we studied how ISA are used by CU to control all operations of the CPU, e.g load data from registers, then select the bus to transfer it to ALU or Shifter for computational operations, and then transfer back to another register. 

Wednesday, 7 October 2026

Mini-project 1 released!

Mini-project 1 has been released. You can click HERE to find it (or in the folder of Labs and Mini-Projects on https://ssde3340.blogspot.com/). 

Your work (report, codes, and narrative demo video) will be submitted via email to me and Tuan by the deadline (14:00 October 21. 2026). 

You should pay attention to the requirements and hints stated in the mini project. You should also pay special attention to how and where AI is allowed and prohibited with the mini-project.  

The oral exam will be conducted from 1:30-5:30 on October 22, 2026 (we will send the schedule later). You will be examined through questions related to this project requirements and your performance of project work. You may be required to give live demonstration of your work. 

Lab on Oct 08 will be dedicated to help you understand and start the project!




Lecture 1-5: Digital circuits and combinational logics

We have completed the lecture 5 - Digital circuits and combinational logic circus design.

In this lecture, we have learn how to build up an integrated circuit (functional circuits) from seven primitive logic gates (AND, OR, NOT, NAND, NOR, XOR, XNOR). 

We have also studied how to build up the key functional integrated circuits (Enablers, Selectors, Decoders, Multiplexers, etc) from the primitive logic gates and inherit them to build up larger circuits, e.g. 3-to-8 decoder, multiplexers. 


Monday, 5 October 2026

Lecture 1-4: Number Systems

In this lecture, we learnt the following topics:
- Decimal, Binary, Octal, HexaDecimal number systems and the conversion between the number systems. 
- Four standard arithmetic computations and their computational operations. 
- Complement of a number in a r_base system
- Several examples of 1s and 2s complement to illustrate their implication in computer systems.
- The relationship between the 1s and 2s complements.


Friday, 25 September 2026

Lecture 1-2: (Embedded) C programming

This is a special lecture based on students' needs/requirements.

We cover the following topics to ensure that students are equipped (and/or refreshed) with C programming for their labs and mini-projects.

  •  Structure of a program in C
  • Variables
  • Operations
  • Statements
  • Functions
  • Structure and union
  • A some notices for embedded C in Ardruino