System Verilog builds APB ﹣ I2C IP hierarchical verification platform

I. Preface Recently, the epidemic is serious. As a social animal, I can only continue to study technology at home. I wrote a blog about building a FIFO verification platform before, using the OOP feature of SV to preliminarily verify FIFO, but there are many shortcomings, such as the structure is not standardized, the verification component cla ...

Posted by PupChow on Fri, 07 Feb 2020 09:10:51 -0800

Download files in Python

Prerequisite The requests module needs to be installed in advance: pip install requests Put it in code. import requests url = 'XXX' #File download source URL filename = '' #New file name after downloading to local r = requests.get(url) with open(filename, "wb") as code: code.write(r.content) combat exercise with ammunition From target URL ...

Posted by realnsleo on Fri, 07 Feb 2020 08:06:43 -0800

Entity Framework Core series tutorial-3 generating entity model for existing database

Create a model for an existing database in the Entity Framework Core Here, you will learn how to create context and entity classes for existing databases in the Entity Framework Core. Creating entity and context classes for an existing database is called the database first method. EF Core does not sup ...

Posted by UQKdk on Fri, 07 Feb 2020 06:08:09 -0800

How to design a cross platform RTMP/RTSP live player with low latency

Development background In 2015, when we tried to find a low latency player for live broadcast on the market to cooperate with the test of our RTMP push module, we found that none of them were easy to use, such as VLC or Vitamio, which were all based on FFMPEG. There were many supporting formats and ...

Posted by EZE on Fri, 07 Feb 2020 05:34:44 -0800

frp + nginx deploy http intranet penetration service

frp + nginx deploy http intranet penetration service 1, Foreword frp is a high-performance reverse proxy application developed in Go language, which can be used for intranet penetration. It supports tcp, udp, http and https. A web service deployed on the local machine can be mapped to an external n ...

Posted by djlfreak on Fri, 07 Feb 2020 02:40:24 -0800

WPF learning note 8 dependency 2

2, Priority of dependent properties Because WPF allows us to set the values of dependent properties in multiple places, we have to use a standard to guarantee the priority of values. For example, in the following example, we set the background color of the button in three places, which setting will ...

Posted by mikanmao on Wed, 05 Feb 2020 22:52:34 -0800

Java multithreaded Semaphore synchronization classes CountDownLatch and Semaphore

Semaphore synchronization refers to the coordination of thread execution sequence by transferring synchronization semaphores between different threads. CountDownLatch is based on time dimension, semaphore is based on signal dimension. 1: Execution time based synchronization class CountDownLatch For example, for the existing three servers, it is ...

Posted by activomate on Wed, 05 Feb 2020 04:23:47 -0800

Unity uses Shader to make glass windows in the rain learning notes

Unity uses Shader to make glass windows in the rain learning notes Blur background, simulate fog Make glass transparent Handwriting Fuzzy Algorithm https://www.youtube.com/watch?v=EBrAdahFtuo Watch the notes after the oil pipe god's tutorial. Blur background, simulate fog In the textured Inspec ...

Posted by crazy_carl on Mon, 03 Feb 2020 19:30:26 -0800

NIO source code series: the most detailed analysis in the history of Selector III

NIO source code series: the most detailed analysis in the history of Selector III Selector registration serverSocketChannel.register(selector, SelectionKey.OP_ACCEPT); findKey(Selector sel) register(AbstractSelectableChannel ch, int ops, Object attachment) interestOps(int ops) setEventOps(Selectio ...

Posted by tlawless on Mon, 03 Feb 2020 09:31:15 -0800

Understand the structure and working principle of CPU in the code

I. Preface From the beginning of graduate school to half a year's work, I have been contacting MCU SOC controllers with CPU as the core, but because of professional reasons, I have no idea about the internal structure and working principle of CPU. Today, I broke the blind spot from a blog. It is hereby declared that the design idea and code of ...

Posted by cottonbuds2005 on Mon, 03 Feb 2020 01:53:57 -0800