当前位置:网站首页>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 .
边栏推荐
- Harbor installation
- Execution process of NPM run XX
- VPP cannot load up status interface
- Introduction to base ring tree
- Performance Optimization: how to solve the slow loading speed of the first screen of spa single page application?
- VIM search and replacement and the use of regular expressions
- background
- 微服务及相关组件概念
- Tips for downloading videos in batches
- Sword finger offer II 012. the sum of the left and right subarrays is equal
猜你喜欢

微信小程序相关操作示例

单点登录(一处登录,处处可用)

JS common code questions array de duplication - Custom New throttling and anti shake - deep copy - instanceof URL parameter extraction - thousand separator - array to tree structure - array flattening

Redis cluster setup (Windows)

微服务 - 配置中心 - Nacos

How to carry out the function test with simple appearance and complex interior?

Implement is by yourself_ convertible

JWT(json web token)

STL notes (III): input / output stream

FinClip实现微信授权登录的三种方案
随机推荐
How to judge whether it is attacked by DDoS
epoll的实现原理
Implement is by yourself_ base_ of
Panda3D keyboard moving scene
Project management tools - project developer tools
300. Longest increasing subsequence
VIM search and replacement and the use of regular expressions
Interface idempotency
Project management tool - Introduction and practice of Alibaba cloud projex
The global shipment of glory 8x series exceeded 10million units, and the glory V20 exceeded 1.5 million units!
一篇文章带你读懂Redis的哨兵模式
LCP插件创建对等VLAN接口
Event cycle mechanism browser nodejs async await execution sequence promise execution sequence interview questions
Samsung folding screen has sent samples to apple and Google, and the annual production capacity will be expanded from 2.4 million to 10million!
Tips for downloading videos in batches
easyrecovery免费数据恢复工具操作简单一键恢复数据
Win11 how to view the file explorer tab
In depth understanding of pre post + +, -- and negative modulus
Matter's Unified Smart Home connection standard enables local automatic interaction between smart devices
deep报错