Skip to main content
Advanced Search
Search Terms
Content Type

Exact Matches
Tag Searches
Date Options
Updated after
Updated before
Created after
Created before

Search Results

9 total results found

Part 1 - Understanding Linked List

Algorithm Programming Module 2 - Linked List

Definition of Linked List A Linked List is a linear data structure consisting of elements called nodes. Each node has two main parts: Data – stores the value of the element. Pointer/Reference – points to the next node (or the previous node in a Doubly Lin...

Part 2 - Types of Linked List

Algorithm Programming Module 2 - Linked List

Types of Linked Lists Based on the structure of linked lists, they can be classified into several types: Singly Linked List Doubly Linked List Circular Linked List 1. Singly Linked List The singly linked list is the simplest form of linke...

Part 3 - Searching

Algorithm Programming Module 2 - Linked List

1. Searching in a Custom Singly Linked List #include <bits/stdc++.h> using namespace std; // Linked list node class Node { public: int key; Node* next; }; // Add a new node at the front void push(Node** head_ref, int new_key) { ...

Part 4 - Manual VS STL List

Algorithm Programming Module 2 - Linked List

A doubly linked list is a data structure where each node contains a pointer to the next and previous nodes, allowing traversal in both directions. In C++, you can implement it manually or use the built-in STL std::list. Differences between Manual Doubly Linke...

Understanding Behavioral Style

Digital Sistem Design (PSD/DSG) Module 3 - Behavioural Style

One of the three architecture models is the behavioral style. Unlike the data-flow style, a VHDL program written in behavioral style does not need to describe how the circuit will be implemented when synthesized. Instead, the behavioral style describes how the...

Process Statement

Digital Sistem Design (PSD/DSG) Module 3 - Behavioural Style

A process statement is a concurrent command that consists of a label, sensitivity list, declaration area, begin–end (body) area, and sequential statements. An example of a process statement description in VHDL is: process (<Sensitivity List>) -- Variable d...

Sequential Statement

Digital Sistem Design (PSD/DSG) Module 3 - Behavioural Style

In a process, the execution of sequential statements will be initiated when there is a change in the signals listed in the sensitivity list. In general, the execution of statements in the process body will be carried out continuously until the end of the proce...

Wait Statements

Digital Sistem Design (PSD/DSG) Module 3 - Behavioural Style

Wait StatementsWait statements are used to make a process wait for a certain condition, signal/variable, or a specific time interval. The following wait statements are used: ● Wait until [condition] and wait on [signal]wait until [condition] will block the pr...

Report Statements

Digital Sistem Design (PSD/DSG) Module 3 - Behavioural Style

In VHDL, the report statement is used to generate text messages during simulation. This statement is useful for providing information about the status or certain values during simulation. The generated report will appear in the transcript to help with debuggin...