what does 3'bzzz stands for in verilog?

走远了吗. 提交于 2020-01-16 00:43:17

问题


I have the following code but I don’t know what the 3'bzzz stands for:

`timescale 1ns / 1ps
module reg_tercer_estado(entrada,hab,salida);
input [2:0] entrada;
input hab;
output [2:0] salida;
reg [2:0] auxsalida;

always @(entrada)
begin
    case (hab)
    1'b0: auxsalida=entrada;
    1'b1: auxsalida=3'bzzz;
    endcase
end

assign salida=auxsalida;

endmodule

回答1:


According to “HDL Compiler for Verilog” manual, 3'bzzz is 3-bit number, and z is a condition for 'disconnected' or 'high impedance', and it's also is not synthesizable.

So, 3'bzzz means a 3-bit value with all three bits in disconnected state.



来源:https://stackoverflow.com/questions/23453533/what-does-3bzzz-stands-for-in-verilog

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!