Forum Discussion
Altera_Forum
Honored Contributor
17 years agoIm not Sure if its the right place to post
I got Cyclone II FPGA starter Kit. I want to create an entity that will handle the seven segment in it in all my projects. something I can just add and it will automatically be assigned to the correc...
Altera_Forum
Honored Contributor
17 years agoI am afaid you can't go that automated. You need to manually assign the pins. The kit itself is never visible to HDL.
Create your 7 segment entity, decide its functionality if you haven't got one ready-made then assign pins as appropriate. You can connect switches to the input of your module so that it can be used all over your project for whatever purpose. edit: some compilers accept pin attributes in code level