当前位置:网站首页>The method of ram and ROM initialization in FPGA design
The method of ram and ROM initialization in FPGA design
2022-06-21 22:36:00 【Jida qinshaoyou】
List of articles
FPGA In design RAM and ROM Used as a memory to store variable or immutable types of data , There are different initialization methods according to different usage scenarios .ROM Initialization is usually to load fixed data ,RAM It is declared as unsteady data by default , When initializing, the data can be all 1 Or all 0.
RAM Initialization method of
Method 1: small RAM When resetting, write the initial value according to the address
For small RAM You can directly write the initial value by address during reset , Examples are as follows .
always @(posedge Wr_clk or negedge rst_n)begin
if (!rst_n) begin
Mem[0] <= 24'b0;
Mem[1] <= 24'b0;
Mem[2] <= 24'b0;
Mem[3] <= 24'b0;
Mem[4] 边栏推荐
- Notes on topic brushing (16) -- binary tree: modification and construction
- STM32F407程序移植到STM32F429
- .bmp图片的文件头解析
- GDB debugging skills (0) getting started with GDB
- Introduction to class library, framework, module, component and other concepts
- Uwp confirms whether there is pop-up display
- promise错误捕获处理——Promisifying技术
- 实践 DevOps 时,可能面临的六大挑战
- 利用for循环,分别计算1-100中奇数的和、偶数的和【方法二】
- 企业微信内置应用h5开发记录-1
猜你喜欢

STM32下载一次程序后就无法再次下载,程序无法运行。

Sampler collection

【深入理解TcaplusDB技術】TcaplusDB構造數據

Implement a middleware from -1

【深入理解TcaplusDB技术】Tmonitor后台一键安装

Electronic bidding procurement mall system: optimize traditional procurement business and speed up enterprise digital upgrading
![[deeply understand tcapulusdb technology] tmonitor background one click installation](/img/f6/d2a287aac4ef3dfa8c75f7130202a4.png)
[deeply understand tcapulusdb technology] tmonitor background one click installation

刷题笔记(十七)--二叉搜索树:关于属性问题

Summary of Li Kou brush questions 4 (MySQL version)
![[in depth understanding of tcapulusdb technology] how to realize single machine installation of tmonitor](/img/74/a645742a8e135b32154859be956760.png)
[in depth understanding of tcapulusdb technology] how to realize single machine installation of tmonitor
随机推荐
Pi4j GPIO pin pull-up resistance, pull-down resistance concept
Uwp tablet inkcanvas
Use for, while and do while to find the sum of 1-100 circularly
Second understanding microservice
FPGA之道——数字系统之间的接口电平标准
利用for循环,分别计算1-100中奇数的和、偶数的和【方法二】
js实现斐波那契数列
WPF 启动带参数
Pycharm下可以正常运行,Pyinstaller打包软件报出Fatal error
[deeply understand tcapulusdb technology] one click installation of tmonitor background
C WindowFromPoint is invalid in 64 bit programs
WPF ComboBox设置选项与反显
[WUSTCTF2020]朴实无华-1
Livres obligatoires
必读书籍
C # error: the exception of the task is not observed by waiting for the task or accessing the exception attribute of the task. As a result, the finalizer thread re threw an unobserved exception.
【深入理解TcaplusDB技术】单据受理之表管理
班主任让开股票账户,在启牛开户安全吗?
WPF tablet
利用while循环,分别计算1-100中奇数的和、偶数的和【方法一】