Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
21615 Discussions

Output pin naming rules in sub-modules.

NShan12
New Contributor I
813 Views

Hello,

I have a FPGA project designed completely as schematic entry. There is a module instantiated at top level and the output of this module is a 12 bit vector with name "2pi". Compilation is through and quartus doesnt throw any error even though the variable name "2pi" starts with a digit.

Is it okay to continue like this? is it alright to have variable names starting with a digit in schematic entry?

NShan12_0-1599043024675.png

 

0 Kudos
1 Solution
SyafieqS
Employee
798 Views

Hi Naveen,


Even though the schematic can run through the compilation, it is not recommended to naming the variable starting with number. Try to declare the variable starting with alphabet and the follow up by number.


Thanks,

Regards


View solution in original post

0 Kudos
2 Replies
SyafieqS
Employee
799 Views

Hi Naveen,


Even though the schematic can run through the compilation, it is not recommended to naming the variable starting with number. Try to declare the variable starting with alphabet and the follow up by number.


Thanks,

Regards


0 Kudos
NShan12
New Contributor I
788 Views

Hello @SyafieqS ,

Thank you. I will rename the variable names as suggested.

0 Kudos
Reply