Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
824 Views

About the University Program Sub-Forum

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 I
15 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; 

}
Altera_Forum
Honored Contributor I
15 Views

Are the above links active ?? 

 

GKM
Altera_Forum
Honored Contributor I
15 Views

thanks for correct links

Altera_Forum
Honored Contributor I
15 Views

its super helpful having those links here!

Altera_Forum
Honored Contributor I
15 Views

The link for the ip cores doesn't work

Altera_Forum
Honored Contributor I
15 Views

Thx. 

The IP link works now.
Altera_Forum
Honored Contributor I
15 Views

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

Reply