当前位置:网站首页>The difference between $write and $display in SystemVerilog
The difference between $write and $display in SystemVerilog
2022-07-25 05:24:00 【Cored】
$display() function
$display Is a normal display function ( Yes , I think it's more like a function , It's not like a task . Be similar to C/C++、matlab and python And the corresponding console print function ), It is executed instantly wherever it is called . let me put it another way , When you encounter it in the process of program execution, execute it immediately .
$write() function
$write And $display Almost the same , The only difference is that the latter defaults to line feed , The former does not . So when you need to display the printed content of the statement called many times on the same line , That is, we should use $write The place of .
If you call... Without any parameters $display() Words , It is equivalent to a simple line feed , Call... Without any parameters $write() Nothing will happen .
边栏推荐
- Three must know and know problems of redis
- 微信小程序相关操作示例
- 单点登录(一处登录,处处可用)
- Realsense D435i 深度图优化_高精度模式
- 龙蜥社区发布首个 Anolis OS 安全指南 为用户业务系统保驾护航
- The second day of rhcsa summer vacation
- The third question of force deduction -- the longest substring without repeated characters
- VPP cannot load up status interface
- Dragon Dragon community released the first Anolis OS Security Guide to escort users' business systems
- STL notes (IV): String
猜你喜欢
随机推荐
Vim查找替换及正则表达式的使用
In depth understanding of pre post + +, -- and negative modulus
Continuous maximum sum and judgement palindrome
微服务 - 配置中心 - Nacos
Set up private CA server
项目管理工具——阿里云Projex介绍与实战
Redis的三个必知必会的问题
Introduction to base ring tree
Oracle 用户A删除用户B名下的一张表后,用户B可以通过回收站恢复被删除的表吗?
VPP cannot load up status interface
Three billion dollars! Horizon becomes the world's highest valued AI chip Unicorn
哪种网站适合物理服务器
Powering 5g notebook market, Wentai technology joined the "Honghu plan"
批量下载视频小技巧
Shenzhen on call test, subject 4 on call test, subject 3 theory, second theory on call test instructions
odoo14 | 关于状态栏statusbar关键词使用后显示异常及解决方法
Learning records [email protected] R & D effectiveness measurement indicators
深圳随到随考,科目四随到随考,科三理论第二理论随到随考说明
Nexttick principle analysis
STL notes (VIII): container - List








