how can is specify with generics how many ports i want and the width of each vector port?
Look at this example, http://vhdlguru.blogspot.in/2010/03/generics-in-vhdl-construction-of.html
Guest
#4325564
For defining the number of ports and not only the width of each port, I would recommend using an array, which is defined within a package within the Package:
1 | |
within the entity:
1 | |
2 | |
3 | |
4 | |
5 | |
Reply
Please log in before posting.