Intel® FPGA University Program
University Program Material, Education Boards, and Laboratory Exercises
Announcements
The Intel sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.
1129 Discussions

About the University Program Sub-Forum

Altera_Forum
Honored Contributor II
948 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
139 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 II
139 Views

Are the above links active ?? 

 

GKM
Altera_Forum
Honored Contributor II
139 Views

thanks for correct links

Altera_Forum
Honored Contributor II
139 Views

its super helpful having those links here!

Altera_Forum
Honored Contributor II
139 Views

The link for the ip cores doesn't work

Altera_Forum
Honored Contributor II
139 Views

Thx. 

The IP link works now.
Altera_Forum
Honored Contributor II
139 Views

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

Reply