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

About the University Program Sub-Forum

Altera_Forum
Honored Contributor II
1,515 Views

Post questions on this forum regarding Altera's University Program materials. These materials include: 

 

 

 

Questions regarding the Nios II processor should be posted on the Nios Forum. Questions regarding the Quartus II software, other development kits and IP cores should be posted on the appropriate Altera Forum.
0 Kudos
9 Replies
Altera_Forum
Honored Contributor II
706 Views

can you please help me out on the lab_4 exercise in computer organization laboratory exercises. I prefer not to write in assembly, so using C to write the application program for it. Its a DE2 board.  

 

If anyone could please help me out with a solution.  

code: 

# include<stdio.h> 

//define timerr (char *) 0x00011000 

define jtag_uart_cnt (char *) 0x00011024 

define jtag_uart_data ( char *) 0x00011020 

 

int main(){ 

 

 

char x; 

int x2; 

while(1){ 

 

*jtag_uart_cnt=0xfffff; 

 

if(*jtag_uart_cnt>0){ 

 

 

printf("write data to jtag_uart\n"); 

scanf("%s",x); 

x2=(int)x; 

 

*jtag_uart_data=x2; 

 

printf("sucessfully written to jtag data register\n"); 

 

 

 

return 1; 

}
0 Kudos
Altera_Forum
Honored Contributor II
706 Views

Are the above links active ?? 

 

GKM
0 Kudos
Altera_Forum
Honored Contributor II
706 Views

thanks for correct links

0 Kudos
Altera_Forum
Honored Contributor II
706 Views

its super helpful having those links here!

0 Kudos
Altera_Forum
Honored Contributor II
706 Views

The link for the ip cores doesn't work

0 Kudos
Altera_Forum
Honored Contributor II
706 Views

Thx. 

The IP link works now.
0 Kudos
Altera_Forum
Honored Contributor II
706 Views

what viagra (https://www.rx247.net/viagra.html) program you are going to create?

0 Kudos
Reply