Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21592 Discussions

Register Array position location

Altera_Forum
Honored Contributor II
1,117 Views

I define a register group as : 

reg[63:0] temp; 

Can I use a variable of "reg[6:0] a" to the temp as temp[a:0] ? 

when ""reg[6:0] a" is input port,it may work.But when the "a" is calculated in the design,i.e.it's not a ration,how the expression turns out ? 

thank u!
0 Kudos
0 Replies
Reply