Intel® FPGA University Program
University Program Material, Education Boards, and Laboratory Exercises
1175 Discussions

SOPC builder NiosII adding hex[..][..] ports

Altera_Forum
Honored Contributor II
888 Views

Hello Everybody 

 

Recently I focused my interest on Altera board: Cyclone II EP2C35F672C6. 

I am very beginner at the moment. 

 

In Quartus II I added to my system processor, On chip memory device, Key and Switch inputs , LED putputs (as PIO blocks). 

 

But dont know how to add led display. I know that I need to add HEX[7..0][6..] but dont know how. Should I use PIO also? 

 

Greets
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
186 Views

 

--- Quote Start ---  

 

Recently I focused my interest on Altera board: Cyclone II EP2C35F672C6. 

I am very beginner at the moment. 

 

In Quartus II I added to my system processor, On chip memory device, Key and Switch inputs , LED putputs (as PIO blocks). 

 

But dont know how to add led display. I know that I need to add HEX[7..0][6..] but dont know how. Should I use PIO also? 

 

--- Quote End ---  

 

 

Yes, you can use a PIO component. Each segment of the hex display is an LED. 

 

Once you get that working, you can decide if you want to use something a little more complex, where just 4-bits are needed for each display. I posted code at this thread that you can look at: 

 

http://www.alteraforum.com/forum/showthread.php?t=33144 

 

Cheers, 

Dave
0 Kudos
Reply