General information

Subject type: Mandatory

Coordinator: Joan Triadó Aymerich

Trimester: Second term

Credits: 4

Teaching staff: 

Andreu Comajuncosas Fortuño

Teaching languages

  • Catalan

This subject has been successfully enrolled by a number of foreign students, most of them from Italy. Classes are taught in Catalan and students are expected to have a basic understanding of spoken Catalan. However, exams and practical reports can be written in Italian or in other languages. Public questions in the classroom and private questions to the teacher can also be asked in Italian or other languages.


Specific skills
  • CE11: Knowledge of the basics of electronics.


Introduction to Digital Electronics with discrete components (logic gates and combinational, arithmetic and sequential integrated circuits). The theory focuses on the practical assembly of digital circuits. The elementary concepts of binary arithmetic are also explained, which will be extended in later subjects. Programmable circuits are presented.


1. Logical functions.


Logical gates. Timelines.

TTL and CMOS integrated circuits. Delays, supply voltage, consumption, logic levels, fan-out, fan-in.

Boolean algebra. De Morgan's laws.

Simplification of logical functions. Irrelevant conditions.

Related activities

First partial test.

Exercise resolution.

Laboratory practices.


2. Combinational circuits.


Comparator, decoder, encoder, multiplexer, demultiplexer.

Generation of logic functions with decoders and multiplexers.

Related activities

First partial test.

Exercise resolution.

Laboratory practices.


3. Arithmetic circuits.


Binary, octal, decimal and hexadecimal numbering systems. Conversion between systems.

Representation of numbers with sign: sign-magnitude, complement to 1, complement to 2.

Representation of floating point numbers: IEEE-754.

Operations with natural and integer numbers. Carry and overflow.

BCD and Gray codes.

Code converter. Suppression of initial and final zeros.

Error detection and correction codes. Parity bit.

Arithmetic circuits. Semi-adder, adder and subtractor.

Generation of the output carry. Carry in series and carry in advance.

Related activities

Second partial test.

Exercise resolution.

Laboratory practices.


4. Sequential circuits.


Multivibrator circuits.

Level sensitive bistable. SR patch with NOR or NAND doors.

Bounce elimination.

Bistable shot from the flank. Flip-flops D, JK and T.

Enabling, clock, and asynchronous entries.

Flip-flop shot. Master-slave.

Delay time, establishment and maintenance.

Monostable. Astable. Integrated timer 555.

Memory and scroll logs. Inputs and outputs in series and in parallel.

Asynchronous counters ascending and descending. Frequency divider. Binary and decimal counter.

Synchronous counter. Integrated counter.

Accountant Johnson. Ring counter.

Related activities

Second partial test.

Exercise resolution.


5. Programmable circuits.



Door arrays, interconnections, input / output.

Programming technologies. Fuse, antifuse, EPROM, SRAM.

Programming process. VHDL.

Contour exploration logic.

Related activities

Second partial test.


Evaluation system

The final grade will be the weighted average of the grades of the assessable activities:

First partial test: 35%

Second partial test: 35%

Laboratory practices: 30%

Recovery exam: 70%

There will be a first partial test in the middle of the course and a second partial test at the end of the course.

For students who do not pass the assessment during the course, 30% of the internship grade will be maintained, and an overall retake exam will be held which will be worth 70% of the grade.

The resit exam may be used to pass the subject with a final grade of 5, but not to obtain a grade higher than 5.



Thomas Floyd. Fundamentals of digital systems. Pearson, 2006. ISBN 9788483220856.


Daniel Gajski. Principles of digital design. Prentice Hall, 1997. ISBN 84-8322-004-0.

John Hayes. Introduction to digital logical design. Addison-Wesley, 1996. ISBN 0-201-62590-3.