verilog - Assign localparam with concatenation satement? -
verilog - Assign localparam with concatenation satement? -
here's i'm trying . . .
localparam nine1 = {3{4'b0000}, 4'b1001}; localparam nine2 = {2{4'b0000}, 2{nine1}};
is possible assign localparam
concat satement , utilize localparam
in localparam
assignment? seems work, might have fuddled up. not scheme verilog way.
well, error wasn't wrapping replication statements
in {}
within concatenation
.
localparam nine1 = {{3{4'b0000}}, 4'b1001}; localparam nine2 = {{2{4'b0000}}, {2{nine1}}};
subtle, important.
verilog
Comments
Post a Comment