gpt4 book ai didi

verilog - Verilog 中的有理数

转载 作者:行者123 更新时间:2023-12-04 06:26:10 26 4
gpt4 key购买 nike

我需要在我的 Verilog 代码中使用有理数。我寻找了任何资源,但找不到有关此问题的任何信息。如何在 Verilog 中定义有理数。

最佳答案

Verilog 有一个 real用于实数(浮点)数的数据类型:

real data;
initial data = 1.55;

关于verilog - Verilog 中的有理数,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6019699/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com