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

Popular posts from this blog

formatting - SAS SQL Datepart function returning odd values -

c++ - Apple Mach-O Linker Error(Duplicate Symbols For Architecture armv7) -

php - Yii 2: Unable to find a class into the extension 'yii2-admin' -