ZYNQ_project:ram_dual_port

Pseudo dual-port ram: write port: clk_w,en_A,we_A,addr_A,din_A; read port: clk_r,en_B,addr_B;dout_B. Design a read-write module to write 256 data and read 256 data. The input clock is 100Mhz and the output clock is 50Mhz. Multi-bit data is processed from high-speed clock domain to low-speed clock domain. Module block diagram: Code: module ram_real_wr( input wire clk_w , input […]

iManager&cloud suite supports configuring kingbase

Author yangjunlin Foreword More and more secret-related units have gradually increased their requirements for the Xinchuang environment, and service applications are also increasingly dependent on domestic databases. The open source database in the SuperGraph iManager for k8s product is replaced with domestic databases such as Kingbase. Customer needs and scenarios will follow. Therefore, this article […]

IsolarAB exports arxml to Matlab/Simulink to generate the model and configure the memory partition

This article uses a simple example to illustrate how to import the SWC arxml designed by Isolar into simulink to generate a model, and specify that the code generated by simulink has memory partition information. The SWC created in this article is called ECAS_Sensor_SWC. Its main function is to process sensor signals and pass them […]

Springboot2.x integrated lettuce connection redis cluster reports timeout exception Command timed out after 6 second(s)

Original/Zhu Jiqian Background: Recently, I was doing a stress test on a newly developed Springboot system. I found that when I first started the stress test, I could access data from the redis cluster normally. However, after a few minutes of pause, and then when I continued to use jmeter to perform the stress test, […]

java uses geotools to export shp files

The SHP format is a vector data format used to store geographic information system (GIS) data. SHP files consist of a series of ordered files. The shp files we export include .shp, .shx, .dbf, .prj and .fix files. .shp (shape) file: stores vector map data and records the spatial location information of each feature. .shx […]

The 2.5k ChatGPT-Java version SDK upgrade 1.1.2-beta0 supports GPT-4V, Dall-e-3 model, ToolCalls, fine-tuning Job, TTS…

1. Project Introduction Chatgpt-Java is the Java SDK of OpenAI’s official API, which can be quickly accessed for use in projects. Supports all official OpenAI interfaces. The current harvest will be 2500 + star. Open source address: https://github.com/Grt1228/chatgpt-java Official documentation: https://chatgpt-java.unfbx.com/ Latest version: 1.1.2-beta0 <dependency> <groupId>com.unfbx</groupId> <artifactId>chatgpt-java</artifactId> <version>1.1.2-beta0</version> </dependency> Currently supported features: Dall-e-3 FineTuneJob TTS […]

Onnx export swin transformer

1. Configure the swin transformer environment according to the repo. https://github.com/microsoft/Swin-Transformer 2. Create the file export.py in the repo directory. run `python export.py –eval –cfg configs/swin/swin_based_patch4_window7_224.yaml –resume ../weights/swin_tiny_patch4_window7_224.pth –data-path data/ –lock_rank 0` # ———————————————– ———- #SwinTransformer # Copyright (c) 2021 Microsoft # Licensed under The MIT License [see LICENSE for details] # Written by Ze […]

Valgrind reports error disInstr(arm): unhandled instruction: 0xEC510F1E

Directory title Problem background specific reason The principle behind Conclusion Problem background When using cross-compiled Valgrind on the arm platform to monitor your own process, you will find that processes that rely on libcrypto will report an error. Roughly as follows ==20393== Memcheck, a memory error detector ==20393== Copyright (C) 2002-2022, and GNU GPL’d, by […]

Stm32_Standard library_18_Serial port & Bluetooth module_Communication between mobile phone and Bluetooth module_Control LED light on and off

Control the LED lights on and off by inputting LED_ON and LED_OFF respectively wiring: The positive electrode of the LED is connected to positive electricity, and the negative electrode is connected to GPIOA_Pin1 Bluetooth module TXD is connected to GPIOA_Pin3, VCC is connected to positive power, and GND is connected to negative power. Note: USART2 […]