Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
13 years ago

set size of binary number?

Hello, How can the size of a binary number be set, or extended by zeros; i.e. equivalent of Verilog's <size>'b<value>. So in Verilog 5'b110 will give 00110b. I require the size to be adjustab...