Skip to main content

Recently Updated Pages

Procedure, Function and Impure Function Synthesis

Digital Sistem Design (PSD/DSG) Module 7 - Procedure, Function, and Imp...

In VHDL, both "function" and "procedure" can be used in hardware descriptions, but it should be u...

Updated 3 months ago by CH

Impure Function

Digital Sistem Design (PSD/DSG) Module 7 - Procedure, Function, and Imp...

In VHDL, an impure function is a special type of function that is allowed to read or modify signa...

Updated 3 months ago by CH

Function

Digital Sistem Design (PSD/DSG) Module 7 - Procedure, Function, and Imp...

In VHDL, a function is a subprogram used to perform calculations or data processing that returns ...

Updated 3 months ago by CH

Procedure

Digital Sistem Design (PSD/DSG) Module 7 - Procedure, Function, and Imp...

In VHDL, a procedure is a type of language construct used to group several statements and specifi...

Updated 3 months ago by CH

5. File Input/Output

Alprog - Elektro KKI Module 5 : Data Types (Struct, Enum, Ty...

5.1 Why File I/O? So far, all our programs lose their data when they terminate. File I/O allows p...

Updated 4 months ago by DS

4. Type Definitions (typedef)

Alprog - Elektro KKI Module 5 : Data Types (Struct, Enum, Ty...

4.1 What is typedef? typedef creates aliases (alternative names) for existing data types. It make...

Updated 4 months ago by DS

3. Enumerations (enum)

Alprog - Elektro KKI Module 5 : Data Types (Struct, Enum, Ty...

3.1 What is an Enumeration? An enumeration is a user-defined data type consisting of a set of nam...

Updated 4 months ago by DS

2. Structures (struct)

Alprog - Elektro KKI Module 5 : Data Types (Struct, Enum, Ty...

2.1 What is a Structure? A structure is a user-defined data type that groups variables of differe...

Updated 4 months ago by DS

1. Introduction to User-Defined Data Types

Alprog - Elektro KKI Module 5 : Data Types (Struct, Enum, Ty...

1.1 Why User-Defined Types? In previous modules, we learned about basic data types like int, floa...

Updated 4 months ago by DS

When & Which

Digital Sistem Design (PSD/DSG) Module 6 - Looping Construct

When & Which? Comparison Feature for Loop while Loop for-generate Statement Execution Sequ...

Updated 4 months ago by JD

For-Generate Loop

Digital Sistem Design (PSD/DSG) Module 6 - Looping Construct

The Concurrent 'for-generate' Loop We now switch from sequential loops to a concurrent one. The f...

Updated 4 months ago by JD

Loop Control - Next & Exit

Digital Sistem Design (PSD/DSG) Module 6 - Looping Construct

Loop Control - Next & Exit The two control statements, next and exit, allow you to skip an iterat...

Updated 4 months ago by JD

While Loop

Digital Sistem Design (PSD/DSG) Module 6 - Looping Construct

While Loop The while loop is used where the number of repetitions is not known from the start. A ...

Updated 4 months ago by JD

For Loop

Digital Sistem Design (PSD/DSG) Module 6 - Looping Construct

For Loop The for loop is the most common type of sequential loop in VHDL. It is used to repeat a ...

Updated 4 months ago by JD

Introduction to Looping Constructs

Digital Sistem Design (PSD/DSG) Module 6 - Looping Construct

Introduction to Looping Constructs Looping constructs are VHDL instructions that allow a program ...

Updated 4 months ago by JD

7.3 Web Communication with HTTP/HTTPS

Internet of Things Module 7 - MQTT, HTTP, WIFI

HTTP HTTP (Hypertext Transfer Protocol) is the foundation of data communication on the World Wide...

Updated 4 months ago by NS

9. Practical Examples with Dynamic Memory

Alprog - Elektro KKI Module 4 : Pointers & Dynamic Array

9.1 Dynamic Array with User Input #include <stdio.h> #include <stdlib.h> int main() { int n,...

Updated 4 months ago by DS

8. Common Pointer Pitfalls and Best Practices

Alprog - Elektro KKI Module 4 : Pointers & Dynamic Array

8.1 Uninitialized Pointers WRONG: int *ptr; // Uninitialized - contains garbage address *ptr...

Updated 4 months ago by DS

7. Dynamic Memory Allocation & Array

Alprog - Elektro KKI Module 4 : Pointers & Dynamic Array

7.1 Introduction to Dynamic Memory Up until now, we've used static memory allocation where array ...

Updated 4 months ago by DS

6. Pointers and Strings

Alprog - Elektro KKI Module 4 : Pointers & Dynamic Array

In C, strings are arrays of characters, so pointers work naturally with strings. 6.1 String Repre...

Updated 4 months ago by DS