Chapter 2 programming questions - C language programming: modern methods (2nd Edition) after class answers

2.1 Write a program and use printf to display the following graphics on the screen: #include <stdio.h> int main(void) { printf(" *\n"); printf(" * \n"); printf(" * \n"); printf("* * \n"); printf(" * * \n"); printf(" * \n"); return 0; }  2.2 Write a program to c ...

Posted by Rippie on Tue, 17 May 2022 04:24:13 +0300

fpga based serial port map transmission sdram cache vga display

brief introduction On DE2 development board, use serial port to receive 640 * 480 color pictures sent by Qt program on PC, store them in SDRAM in RGB565 format, and display them on the screen through VGA. Development board: DE2 Development tool: Quartus II 13.0 + Modelsim 10.5 SE Global clock: 50M VGA clock: 25M SDRAM clock: 100M overall stru ...

Posted by chopper_pc on Fri, 13 May 2022 04:35:13 +0300

Video transmission based on OV7670 camera

General design drawing of system System components Camera initialization module Camera initialization writes register and rewrites data through IIC protocol or SCCB protocol. The conditions met before initialization are shown in the figure. IIC initialization module code module OV7670_INIT_IIC( Clk, Rst_n, Start, Iic_clk, Sda, I ...

Posted by rlgriffo on Sun, 01 May 2022 19:53:58 +0300

The essence of I2C bus implementation based on FPGA

The Chinese name of I2C (inter integrated circuit) is "integrated circuit bus", which is a serial synchronous half duplex bus. I2C bus is a simple, bidirectional two-wire synchronous serial bus developed by Philips company. It only needs two wires to convey information between devices connected to the bus. One is data line (SDA) and ...

Posted by bob on Sun, 01 May 2022 16:53:46 +0300

Summary of Application of INT8 Quantitative Perception Training for CNN Convolution Neural Network Based on PPQ

1. Introduction For CNN convolution neural network acceleration at the end of the field programmer, an appropriate quantification method can not only effectively increase the number of DSP operations in a unit cycle, but also reduce the demand for storage space, in-and Out-of-chip interactive bandwidth, logical resources, etc. For example, with ...

Posted by konigwolf on Fri, 22 Apr 2022 20:31:55 +0300

Verilog reads BMP pictures and connects them to Axi stream simulation. The poor use guide of DocNav is attached

Verilog reads BMP pictures and connects them to Axi stream simulation. The poor use guide of DocNav is attached BMP file format analysis (with color table) and Verilog's Axi stream access simulation (II): In this article, you will see: After the BMP file is parsed, the rough Verilog simulation is builtAxi stream authentication IPPoor DocNav ...

Posted by Dimensional on Thu, 21 Apr 2022 08:36:43 +0300

[fingerprint identification] simulation of fingerprint identification algorithm based on MATLAB/FPGA

1. Software version MATLAB2013b,vivado2019.2 2. Theoretical knowledge of this algorithm Fingerprint identification technology refers to the biometric identification technology that uses the image taking equipment to read the fingerprint image, extracts the characteristic data in the fingerprint image through the identification software, and ...

Posted by dennissanche on Fri, 15 Apr 2022 23:07:57 +0300

Basic operation of digital signal processing -- addition

catalogue 1. Addition operation 1.1 addition tree 1.2 addition chain 1.3 accumulation operation Reference instructions This paper focuses on the implementation of addition tree. 1. Addition operation No matter what the combination is, the operation is: positive number + positive number, positive number + negative number, negative ...

Posted by thedarkwinter on Fri, 15 Apr 2022 07:40:55 +0300

Ethernet data loopback (UDP) based on EP4CE10F17C8

1, Theoretical knowledge (partly from Wildfire and punctual atomic data) (1) TCP/IP five layer model TCP/IP (Transmission Control Protocol/Internet Protocol) is a communication protocol for computers connected to the network to communicate. Refer to OSI seven layer model to a certain extent In addition to the physical layer, the five lay ...

Posted by gunhoe86 on Thu, 07 Apr 2022 06:18:27 +0300

Binary and gray code conversion

The following is taken from the guide to the design of punctual atomic logic Gray code is a binary cyclic code. The characteristic of gray code is that when changing from a number to an adjacent number, only one data bit jumps. Due to this characteristic, metastability in binary code counting combinational circuit can be avoided. Gray code is ...

Posted by ev5unleash on Mon, 04 Apr 2022 09:14:57 +0300