Forum Discussion
Altera_Forum
Honored Contributor
12 years agoQuestion...
Hello, please advise me. Imagine I have 4 registers: regA, regB, regC and regD, all defined as "reg [7:0] regA;". In addition to addressing these registers separately, I need to "assemble" them...
Altera_Forum
Honored Contributor
12 years agoDo you mean the reg-array link rule is supposed to be changed during operation? Or do you select it at compile time?
In the first case you can't use simple fixed assignments, because these would infer a physical connection between register and signal. You'd rather use selective assignments with conditionals or case statements.