Verilog implements SPI protocol

There are many tutorials about SPI. Here is a summary of my study of SPI protocol. What is SPI? SPI is the abbreviation of Serial Peripheral Interface Bus, which means serial peripheral interface. It is a synchronous serial communication interface standard for short distance communication, mainly used in embedded system. This in ...

Posted by rane500 on Thu, 25 Jun 2020 05:54:50 +0200

Asynchronous FIFO from FIFO Design

Bowen catalog Write before text Synchronized FIFO Review $clog2() system function use Comprehensive Attribute Control Resource Utilization Asynchronous FIFO design Review of FIFO uses Review of Asynchronous FIFO Principles Asynchronous FIFO design Asynchronous FIFO simulation Reference material ...

Posted by johnny on Tue, 09 Jun 2020 02:36:04 +0200

Processing method of single pulse across clock domain

In the development and design of FPGA, many clocks are working in the same module at the same time. At the same time, the communication between signals in the clock domain must be ensured. It is necessary to deal with the timing problem, that is, the establishment and holding time of signals.   r_PULSE_O <= { r_PULSE_O[1:0] , r_PULSE_I} ;    ...

Posted by nthomp on Mon, 16 Dec 2019 21:46:48 +0100

#Problem solving Report

Problem solving Report cf A Remove all existing ones, and take the maximum value + 1 for the rest #include <bits/stdc++.h> #define int long long using namespace std; signed main() { int T; cin>>T; while(T--) { int n,s,t; cin>>n>>s>>t; int k=s+t-n; s-=k,t-=k; int a ...

Posted by cbesh2 on Tue, 29 Oct 2019 20:06:05 +0100

VCS simulation course lab2

The main exercise in lab2 is to use ucli. The structure diagram of the adder of lab2 is shown in the figure below: Bugs have been embedded in the tutorial files this time. What the tutorial does is the whole process of de bug ging. PartA and PartB use the methods of modifying source files and usi ...

Posted by jcanker on Sat, 26 Oct 2019 06:05:37 +0200

[Linux] Learn Linux step by step - objdump command (254)

0 directory Article directory 0 directory 01. Overview of commands 02. Command format 03. Common Options 04. Reference examples 5 appendix 01. Overview of commands The objdump command is a gcc tool consisting of viewing the target file or executable target file. objdump is a bit like a Quick-V ...

Posted by tejama on Mon, 23 Sep 2019 12:00:04 +0200

Sword Finger Offer - Nine Degrees 1506 - Seek 1+2+3+...+n

The article was reproduced from: http://www.pythonheidong.com/blog/article/2880/ Sword Finger Offer - Nine Degrees 1506 - Seek 1+2+3+...+n2013-11-29 19:22 Title Description: To find 1+2+3+...+n, it is required that the keywords and conditional judgment statements (A?B:C) such as multiplication and division, for, while, if, else, switch, ca ...

Posted by hitman6003 on Thu, 15 Aug 2019 07:26:52 +0200