![]() ![]() Concatenation is the only operation that is also allowed on the left hand side. The curly braces on the right are regular concatenation – it is creating the bit vector that has a1 as the most significant bits and b as the least (it would be helpful to know how b, a1 and a2 are defined). How are curly braces used in conventional Verilog?Ġ8-11-2016 06:26 AM This is conventional Verilog. That’s often the language’s default style. It’s usually best to follow the style that is already in place in the project. ![]() However, in real life (work) I really can’t go writing code like I want to. When to start curly braces in a new line?įor classes and methods I like to put them bellow, to avoid the symbol to be “glued” to other symbols, making it easier (for me) to scan the page.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |