Studentenversion des ESY6/A Praktikums "signal_processing".
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

linker.h 2.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. /*
  2. * linker.h - Linker script mapping information
  3. *
  4. * Machine generated for CPU 'core' in SOPC Builder design 'niosII'
  5. * SOPC Builder design path: ../../niosII.sopcinfo
  6. *
  7. * Generated: Wed Nov 20 10:02:14 CET 2024
  8. */
  9. /*
  10. * DO NOT MODIFY THIS FILE
  11. *
  12. * Changing this file will have subtle consequences
  13. * which will almost certainly lead to a nonfunctioning
  14. * system. If you do modify this file, be aware that your
  15. * changes will be overwritten and lost when this file
  16. * is generated again.
  17. *
  18. * DO NOT MODIFY THIS FILE
  19. */
  20. /*
  21. * License Agreement
  22. *
  23. * Copyright (c) 2008
  24. * Altera Corporation, San Jose, California, USA.
  25. * All rights reserved.
  26. *
  27. * Permission is hereby granted, free of charge, to any person obtaining a
  28. * copy of this software and associated documentation files (the "Software"),
  29. * to deal in the Software without restriction, including without limitation
  30. * the rights to use, copy, modify, merge, publish, distribute, sublicense,
  31. * and/or sell copies of the Software, and to permit persons to whom the
  32. * Software is furnished to do so, subject to the following conditions:
  33. *
  34. * The above copyright notice and this permission notice shall be included in
  35. * all copies or substantial portions of the Software.
  36. *
  37. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  38. * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  39. * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  40. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  41. * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
  42. * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  43. * DEALINGS IN THE SOFTWARE.
  44. *
  45. * This agreement shall be governed in all respects by the laws of the State
  46. * of California and by the laws of the United States of America.
  47. */
  48. #ifndef __LINKER_H_
  49. #define __LINKER_H_
  50. /*
  51. * BSP controls alt_load() behavior in crt0.
  52. *
  53. */
  54. #define ALT_LOAD_EXPLICITLY_CONTROLLED
  55. /*
  56. * Base address and span (size in bytes) of each linker region
  57. *
  58. */
  59. #define RAM_REGION_BASE 0x20000
  60. #define RAM_REGION_SPAN 131072
  61. #define RESET_REGION_BASE 0x40000
  62. #define RESET_REGION_SPAN 32
  63. #define ROM_REGION_BASE 0x40020
  64. #define ROM_REGION_SPAN 131040
  65. /*
  66. * Devices associated with code sections
  67. *
  68. */
  69. #define ALT_EXCEPTIONS_DEVICE ROM
  70. #define ALT_RESET_DEVICE ROM
  71. #define ALT_RODATA_DEVICE RAM
  72. #define ALT_RWDATA_DEVICE RAM
  73. #define ALT_TEXT_DEVICE ROM
  74. /*
  75. * Initialization code at the reset address is allowed (e.g. no external bootloader).
  76. *
  77. */
  78. #define ALT_ALLOW_CODE_AT_RESET
  79. /*
  80. * The alt_load() facility is called from crt0 to copy sections into RAM.
  81. *
  82. */
  83. #define ALT_LOAD_COPY_RODATA
  84. #define ALT_LOAD_COPY_RWDATA
  85. #endif /* __LINKER_H_ */