ryu_hayabusa
Newbie level 6
Hello everyone,
I have problems in understanding some of these verilog syntaxes:
parameter ALLX_0_0 = {1{1'bx}};
Is the parameter is 1 bit or 2 bits length?
And what does the {1{1'bx}} means? Is it {1{1'bx}} == 2'b1x ?
-----------------------------------------------------------------
if (( ~clk) === 1'bx && (cken_int == 1'b0))
begin
latched_cken = 1'b0;
What actually does the if condition means? Basically 1'bx means that it can be either 1 or 0 right?
-----------------------------------------------------------------
Pls help and Thanks in advance~
I have problems in understanding some of these verilog syntaxes:
parameter ALLX_0_0 = {1{1'bx}};
Is the parameter is 1 bit or 2 bits length?
And what does the {1{1'bx}} means? Is it {1{1'bx}} == 2'b1x ?
-----------------------------------------------------------------
if (( ~clk) === 1'bx && (cken_int == 1'b0))
begin
latched_cken = 1'b0;
What actually does the if condition means? Basically 1'bx means that it can be either 1 or 0 right?
-----------------------------------------------------------------
Pls help and Thanks in advance~