URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 303 |
Rev 338 |
! Pogram to test
|
! Pogram to test
|
subroutine myp (a)
|
subroutine myp (a)
|
implicit none
|
implicit none
|
integer a
|
integer a
|
|
|
if (a .ne. 42) call abort
|
if (a .ne. 42) call abort
|
end subroutine
|
end subroutine
|
|
|
subroutine test2 (p)
|
subroutine test2 (p)
|
implicit none
|
implicit none
|
external p
|
external p
|
|
|
call p(42)
|
call p(42)
|
end subroutine
|
end subroutine
|
|
|
subroutine test (p)
|
subroutine test (p)
|
implicit none
|
implicit none
|
external p, test2
|
external p, test2
|
|
|
call p(42)
|
call p(42)
|
call test2(p)
|
call test2(p)
|
end subroutine
|
end subroutine
|
|
|
program arrayio
|
program arrayio
|
implicit none
|
implicit none
|
external test, myp
|
external test, myp
|
|
|
call test (myp)
|
call test (myp)
|
end program
|
end program
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.