I was going through a piece of verilog code and came accross the following
abet_val<=strt?{{12 -1{1'b0}}, write_rly}:{{12 -1{1'b0}}, 1'b1};
what does the stuff inside the curly braces "{}" mean? Please help me out.
I was going through a piece of verilog code and came accross the following
abet_val<=strt?{{12 -1{1'b0}}, write_rly}:{{12 -1{1'b0}}, 1'b1};
what does the stuff inside the curly braces "{}" mean? Please help me out.
it is a mux between {11'b0}, write_rly
and 12'b1
. when strt is a one you pick the first option and when it is a zero you get the second output
{} these are the concatenation operator meaning you combine them to make one number