Digital Logic Design: Examples in VHDL
Classified in Computers
Written on in
English with a size of 5.88 KB
Behavioral Architecture of a State Machine
This VHDL code describes the behavioral architecture of a state machine.
Classified in Computers
Written on in
English with a size of 5.88 KB
This VHDL code describes the behavioral architecture of a state machine.
Classified in Computers
Written on in
English with a size of 3.86 KB
Microcontroller: Processor, memory, and I/O ports integrated on a single chip.
Microcomputer: A small computer.
Microprocessor: Example: Intel x86.
Components:
A single bus interconnects the processor, memory, and I/O.
| Feature | CISC | RISC |
|---|---|---|
| Instruction Set | Complex Instruction Set Computer | Reduced Instruction Set Computer |
| Instructions | Multi-cycle, complex instructions | Mostly single-cycle, reduced instructions |
| Instruction Types | Many, varying length | Few, fixed length |
| Complexity | Hardware | Software |
| Code Size | Small | Large |
| Examples | Intel (x86), Freescale 9S12 | MIPS, ARM, SPARC, PowerPC |
| Feature | RAM | ROM |
|---|---|---|
| Elaboration | Random |
Classified in Computers
Written on in
English with a size of 1.01 KB

COLEGIO LEONARDO DA VINCI

COMIENZAN LOS EXÁMENES DE LA PRIMERA EVALUACIÓN.
EL BAILE DE DISFRACES DE HALLOWEEN FUE TODO UN ÉXITO.
LOS ALUMNOS PIDEN VER LOS PARTIDOS DE ESPAÑA EN CLASE.
La presente web no tiene derechos de autor, sino que está sujeta a la licencia Creative Commons mostrada.
Classified in Computers
Written on in
English with a size of 8.83 KB
This document details several procedures written in Pascal for managing a movie database. The database is stored in a file of records, where each record represents a movie.
The code defines a pelicula (movie) record with the following fields:
codigo: integer (Movie ID)genero: string (Genre)nombre: string (Title)duracion: integer (Duration)director: string (Director)copias: integer (Number of Copies)precio: real (Price)A constant valoralto is defined as 9999, used as a sentinel value.
And the file is defined as:
maestro= file of pelicula ;leerp(var p: pelicula)Reads movie data from the input (keyboard) and stores it in the pelicula record p. It reads the codigo first. If it's not equal to... Continue reading "Pascal Movie Database Management Procedures" »
Classified in Computers
Written on in
English with a size of 7.52 KB
This section demonstrates various VHDL implementations of flip-flops and latches, showcasing different clocking, clear, preset, and load mechanisms.
entity reginf is
port (
d, clk, clr, pre, load, data : in std_logic;
q1, q2, q3, q4, q5, q6, q7 : out std_logic
);
end reginf;
architecture rtl of reginf is
begin
A simple D-latch sensitive to the rising edge of the clock.
-- D-latch with active high clock
process
begin
wait until clk='1';
q1 <= d;
end process;
A D-latch sensitive to the falling edge of the clock.
-- D-latch with active low clock
process
begin
wait until clk='0';... Continue reading "VHDL Implementations for Digital Logic Components" »Posted by aditya dani and classified in Computers
Written on in
English with a size of 2.54 KB
#include // Include the GLUT header file
void display (void) {
glClearColor(0.0f, 0.0f, 1.0f, 1.0f); // Clear the background of our window to blue
glClear(GL_COLOR_BUFFER_BIT); // Clear the colour buffer (more buffers later on)
glLoadIdentity(); // Load the Identity Matrix to reset our drawing locations
glTranslatef(0.3f, 0.3f,-6.0f); // Push everything 5 units back into the scene, otherwise we won't see the primitive
//glScalef(0.5f, 1.0f, 2.0f); // Make the shape half as wide, the same height and twice as deep
glutWireCube(2.0f); // Render the primitive
glLoadIdentity(); // Load the Identity Matrix to reset our drawing locations
glTranslatef(0.0f,... Continue reading "3-D Cube Transformations in OpenGL" »
Classified in Computers
Written on in
English with a size of 735 bytes
The viewport meta tag is crucial for responsive web design on mobile devices. It controls how the browser displays a webpage on different screen sizes. Here's a breakdown of its key attributes:
width: Defines the viewport width. Typically set to device-width, which matches the device's screen width.initial-scale: Sets the initial zoom level. A value of 1 ensures the webpage is displayed at 100% zoom initially.user-scalable: A boolean attribute. Setting it to no prevents users from zooming in or out.Classified in Computers
Written on in
English with a size of 7.68 KB
The CIA Triad consists of Confidentiality, Integrity, and Availability. These are the fundamental goals of information security.
Threat modeling involves system decomposition and emphasizes security by design.
Kerckhoffs's Principle states that:
A One-Time Pad is an algorithm that XORs the message with a randomly generated key of equal length. It is secure if:
Classified in Computers
Written on in
English with a size of 4.61 KB
Bit stuffing and destuffing are crucial techniques used in data link layer protocols to ensure reliable data transmission. They prevent sequences of data bits from being misinterpreted as control characters or flags, especially when the data itself contains patterns identical to these control sequences.
Bit stuffing is the process of adding one or more extra bits into a data stream to break up a sequence of identical bits that might otherwise be misinterpreted as a control signal. For example, in protocols like HDLC, a flag sequence (01111110) is used to mark the beginning and end of a frame. To prevent the actual data from containing this sequence, a '0' bit is stuffed after every five consecutive '1's in the data stream.... Continue reading "C Program for Bit Stuffing and Destuffing" »
Classified in Computers
Written on in
English with a size of 2.85 KB
Networks can be classified in several ways: