Altera_Forum
Honored Contributor
14 years agoQuestion on basic coding
Hi I'm a newbie on this forum and just entered into Verilog HDL recently.
As a beginner i am quite confused about how pin assignments work. If the user imports DE2 pin assignments.csv directly from Quartus database, is he/she NECESSARY to use SW,LEDG,LEDR,etc to write the Verilog code? I found it quite tedious to write in this way instead of using normal variables such as x,y,z.... Is there any easy way to assign normal variables to SW,LEDG,LEDR so we can use them inside the code? Or is this method completely unacceptable? Thanks for spending time to help.