Browse Source

New upstream version 0.35+git20181129+dfsg

tags/debian/0.35+git20181129+dfsg-1
Jonathan McDowell 6 months ago
parent
commit
b190c7c7f1
1000 changed files with 73553 additions and 7967 deletions
  1. 9
    0
      .github/CONTRIBUTING.md
  2. 60
    0
      .github/ISSUE_TEMPLATE/bug_report.md
  3. 16
    0
      .github/ISSUE_TEMPLATE/feature_request.md
  4. 26
    0
      .github/PULL_REQUEST_TEMPLATE.md
  5. 19
    42
      .travis.yml
  6. 0
    3
      CONTRIBUTING
  7. 18
    14
      Makefile.in
  8. 37
    35
      configure
  9. 1
    1
      dist/gcc/Make-lang.in
  10. 0
    24
      dist/linux/create.sh
  11. 0
    32
      dist/linux/deploy2dockerhub.sh
  12. 0
    11
      dist/linux/docker/build/buster
  13. 0
    12
      dist/linux/docker/build/fedora26
  14. 0
    11
      dist/linux/docker/build/stretch
  15. 0
    16
      dist/linux/docker/build/ubuntu14
  16. 0
    16
      dist/linux/docker/build/ubuntu16
  17. 0
    16
      dist/linux/docker/build/ubuntu18
  18. 0
    10
      dist/linux/docker/run/buster
  19. 0
    12
      dist/linux/docker/run/fedora26
  20. 0
    10
      dist/linux/docker/run/stretch
  21. 0
    16
      dist/linux/docker/run/ubuntu14
  22. 0
    16
      dist/linux/docker/run/ubuntu16
  23. 0
    16
      dist/linux/docker/run/ubuntu18
  24. 0
    13
      dist/linux/travis-enc-dockerhub.sh
  25. 58
    6
      dist/travis/build.sh
  26. 4
    2
      dist/travis/test.sh
  27. 3
    4
      dist/travis/travis-ci.sh
  28. 0
    0
      dist/travis/travis-utils.sh
  29. 2
    2
      dist/windows/InstallerTemplate.ps1
  30. 2
    2
      dist/windows/appveyor/install.ps1
  31. 13
    13
      doc/appendix/Meta.rst
  32. 6
    7
      doc/appendix/Roadmap.rst
  33. 3
    3
      doc/building/Building.rst
  34. 11
    11
      doc/building/Directories.rst
  35. 68
    72
      doc/building/PrecompileVendorPrimitives.rst
  36. 5
    9
      doc/building/gcc/GNULinux-GNAT.rst
  37. 1
    1
      doc/building/gcc/index.rst
  38. 1
    1
      doc/building/llvm/GNULinux-GNAT.rst
  39. 2
    2
      doc/building/llvm/Windows-MinGW-GNAT.rst
  40. 2
    2
      doc/building/mcode/GNULinux-GNAT.rst
  41. 2
    2
      doc/building/mcode/Windows-MinGW-GNAT.rst
  42. 2
    2
      doc/building/mcode/index.rst
  43. 18
    18
      doc/contribute.rst
  44. 3
    3
      doc/getting/Releases.rst
  45. 2
    2
      doc/ghdl.texi
  46. 6
    6
      doc/licenses.rst
  47. 13
    13
      doc/references/CodingStyle.rst
  48. 16
    16
      doc/references/CommandReference.rst
  49. 85
    85
      doc/references/ImplementationOfVHDL.rst
  50. 21
    21
      doc/references/ImplementationOfVITAL.rst
  51. 12
    0
      doc/shields.inc
  52. 162
    129
      doc/using/InvokingGHDL.rst
  53. 99
    99
      doc/using/QuickStartGuide.rst
  54. 63
    61
      doc/using/Simulation.rst
  55. 2
    2
      libraries/Makefile.inc
  56. 254
    0
      libraries/mentor/std_logic_arith.vhdl
  57. 2915
    0
      libraries/mentor/std_logic_arith_body.vhdl
  58. 1
    1
      libraries/std/textio_body.vhdl
  59. 1
    1
      libraries/vendors/README.md
  60. 72
    1
      libraries/vendors/compile-altera.sh
  61. 1
    0
      libraries/vendors/compile-uvvm.ps1
  62. 1
    0
      libraries/vendors/compile-uvvm.sh
  63. 1
    1
      src/bug.adb
  64. 13
    13
      src/dyn_tables.adb
  65. 435
    0
      src/files_map-editor.adb
  66. 50
    0
      src/files_map-editor.ads
  67. 148
    200
      src/files_map.adb
  68. 107
    8
      src/files_map.ads
  69. 2
    11
      src/flags.adb
  70. 2
    12
      src/flags.ads
  71. 33
    7
      src/ghdldrv/ghdlcomp.adb
  72. 12
    0
      src/ghdldrv/ghdlcomp.ads
  73. 24
    7
      src/ghdldrv/ghdldrv.adb
  74. 32
    12
      src/ghdldrv/ghdllocal.adb
  75. 3
    0
      src/ghdldrv/ghdllocal.ads
  76. 5
    1
      src/ghdldrv/ghdlmain.adb
  77. 4
    1
      src/ghdldrv/ghdlmain.ads
  78. 12
    21
      src/ghdldrv/ghdlprint.adb
  79. 68
    20
      src/ghdldrv/ghdlrun.adb
  80. 13
    5
      src/ghdldrv/ghdlsimul.adb
  81. 8
    1
      src/ghdldrv/ghdlxml.adb
  82. 3
    3
      src/grt/Makefile.inc
  83. 22
    10
      src/grt/ghwlib.c
  84. 27
    17
      src/grt/grt-astdio.adb
  85. 22
    13
      src/grt/grt-avhpi.adb
  86. 10
    0
      src/grt/grt-cbinding.c
  87. 5
    5
      src/grt/grt-change_generics.adb
  88. 5
    10
      src/grt/grt-disp.adb
  89. 65
    29
      src/grt/grt-disp_rti.adb
  90. 77
    106
      src/grt/grt-errors.adb
  91. 45
    21
      src/grt/grt-errors.ads
  92. 136
    54
      src/grt/grt-files.adb
  93. 1
    1
      src/grt/grt-fst.adb
  94. 8
    7
      src/grt/grt-ghw.ads
  95. 130
    63
      src/grt/grt-lib.adb
  96. 13
    4
      src/grt/grt-lib.ads
  97. 1
    7
      src/grt/grt-main.adb
  98. 64
    181
      src/grt/grt-options.adb
  99. 10
    4
      src/grt/grt-options.ads
  100. 18
    6
      src/grt/grt-processes.adb
  101. 2
    2
      src/grt/grt-processes.ads
  102. 1
    1
      src/grt/grt-psl.adb
  103. 6
    3
      src/grt/grt-rtis.adb
  104. 15
    3
      src/grt/grt-rtis.ads
  105. 5
    0
      src/grt/grt-rtis_addr.adb
  106. 2
    4
      src/grt/grt-rtis_addr.ads
  107. 67
    33
      src/grt/grt-rtis_utils.adb
  108. 6
    4
      src/grt/grt-rtis_utils.ads
  109. 16
    17
      src/grt/grt-sdf.adb
  110. 5
    5
      src/grt/grt-signals.adb
  111. 1
    1
      src/grt/grt-signals.ads
  112. 2
    4
      src/grt/grt-stats.adb
  113. 13
    0
      src/grt/grt-types.ads
  114. 8
    8
      src/grt/grt-values.adb
  115. 50
    36
      src/grt/grt-vcd.adb
  116. 1
    1
      src/grt/grt-vcdz.adb
  117. 5
    5
      src/grt/grt-vital_annotate.adb
  118. 7
    7
      src/grt/grt-vpi.adb
  119. 1
    0
      src/grt/grt-vpi.ads
  120. 11
    7
      src/grt/grt-wave_opt-design.adb
  121. 38
    32
      src/grt/grt-wave_opt-file.adb
  122. 19
    33
      src/grt/grt-wave_opt.adb
  123. 4
    8
      src/grt/grt-wave_opt.ads
  124. 80
    18
      src/grt/grt-waves.adb
  125. 2
    0
      src/grt/grt.adc
  126. 0
    379
      src/libraries.adb
  127. 7
    44
      src/libraries.ads
  128. 2
    1
      src/lists.ads
  129. 31
    0
      src/logging.adb
  130. 22
    0
      src/logging.ads
  131. 2
    2
      src/options.adb
  132. 1
    1
      src/ortho/debug/Makefile
  133. 124
    8
      src/ortho/debug/ortho_debug-disp.adb
  134. 63
    11
      src/ortho/debug/ortho_debug.adb
  135. 28
    9
      src/ortho/debug/ortho_debug.private.ads
  136. 1
    1
      src/ortho/gcc/Makefile
  137. 2166
    0
      src/ortho/gcc/ortho-lang-8.c
  138. 11
    0
      src/ortho/gcc/ortho_gcc.adb
  139. 16
    6
      src/ortho/gcc/ortho_gcc.ads
  140. 2
    0
      src/ortho/gcc/ortho_gcc.private.ads
  141. 2
    2
      src/ortho/llvm-nodebug/Makefile
  142. 70
    24
      src/ortho/llvm-nodebug/ortho_llvm.adb
  143. 7
    0
      src/ortho/llvm-nodebug/ortho_llvm.private.ads
  144. 2
    2
      src/ortho/llvm/Makefile
  145. 71
    24
      src/ortho/llvm/ortho_llvm.adb
  146. 21
    6
      src/ortho/llvm/ortho_llvm.ads
  147. 7
    0
      src/ortho/llvm/ortho_llvm.private.ads
  148. 2
    2
      src/ortho/llvm4-nodebug/Makefile
  149. 9
    4
      src/ortho/llvm4-nodebug/ortho_code_main.adb
  150. 77
    28
      src/ortho/llvm4-nodebug/ortho_llvm.adb
  151. 21
    6
      src/ortho/llvm4-nodebug/ortho_llvm.ads
  152. 7
    0
      src/ortho/llvm4-nodebug/ortho_llvm.private.ads
  153. 5
    5
      src/ortho/mcode/Makefile
  154. 84
    20
      src/ortho/mcode/binary_file-memory.adb
  155. 20
    15
      src/ortho/mcode/binary_file.adb
  156. 5
    0
      src/ortho/mcode/binary_file.ads
  157. 8
    3
      src/ortho/mcode/memsegs_mmap.adb
  158. 2
    2
      src/ortho/mcode/memsegs_mmap.ads
  159. 129
    9
      src/ortho/mcode/ortho_code-consts.adb
  160. 17
    4
      src/ortho/mcode/ortho_code-consts.ads
  161. 0
    1
      src/ortho/mcode/ortho_code-decls.adb
  162. 35
    37
      src/ortho/mcode/ortho_code-decls.ads
  163. 4
    4
      src/ortho/mcode/ortho_code-disps.adb
  164. 0
    3
      src/ortho/mcode/ortho_code-dwarf.adb
  165. 22
    14
      src/ortho/mcode/ortho_code-exprs.adb
  166. 8
    6
      src/ortho/mcode/ortho_code-exprs.ads
  167. 2
    1
      src/ortho/mcode/ortho_code-types.ads
  168. 8
    11
      src/ortho/mcode/ortho_code-x86-abi.adb
  169. 17
    13
      src/ortho/mcode/ortho_code-x86-emits.adb
  170. 6
    4
      src/ortho/mcode/ortho_code-x86-insns.adb
  171. 4
    0
      src/ortho/mcode/ortho_code.ads
  172. 1
    1
      src/ortho/mcode/ortho_jit.adb
  173. 19
    5
      src/ortho/mcode/ortho_mcode.adb
  174. 16
    6
      src/ortho/mcode/ortho_mcode.ads
  175. 2
    0
      src/ortho/mcode/ortho_mcode.private.ads
  176. 224
    85
      src/ortho/oread/ortho_front.adb
  177. 14
    6
      src/ortho/ortho_nodes.common.ads
  178. 255
    113
      src/std_names.adb
  179. 592
    431
      src/std_names.ads
  180. 0
    1
      src/str_table.ads
  181. 29
    2
      src/types.ads
  182. 12
    8
      src/vhdl/canon.adb
  183. 6
    5
      src/vhdl/configuration.adb
  184. 18
    3
      src/vhdl/disp_tree.adb
  185. 74
    33
      src/vhdl/disp_vhdl.adb
  186. 261
    0
      src/vhdl/errorout-console.adb
  187. 31
    0
      src/vhdl/errorout-console.ads
  188. 103
    0
      src/vhdl/errorout-memory.adb
  189. 38
    0
      src/vhdl/errorout-memory.ads
  190. 162
    292
      src/vhdl/errorout.adb
  191. 61
    14
      src/vhdl/errorout.ads
  192. 30
    0
      src/vhdl/evaluation.adb
  193. 48
    0
      src/vhdl/iirs.adb
  194. 57
    20
      src/vhdl/iirs.ads
  195. 0
    15
      src/vhdl/iirs_utils.adb
  196. 0
    4
      src/vhdl/iirs_utils.ads
  197. 6
    0
      src/vhdl/nodes_gc.adb
  198. 359
    274
      src/vhdl/nodes_meta.adb
  199. 7
    0
      src/vhdl/nodes_meta.ads
  200. 754
    616
      src/vhdl/parse.adb
  201. 13
    5
      src/vhdl/parse.ads
  202. 64
    13
      src/vhdl/parse_psl.adb
  203. 1
    1
      src/vhdl/parse_psl.ads
  204. 4
    0
      src/vhdl/python/libghdl.adb
  205. 48
    10
      src/vhdl/python/libghdl/thin.py
  206. 2
    0
      src/vhdl/scanner-scan_literal.adb
  207. 107
    59
      src/vhdl/scanner.adb
  208. 7
    6
      src/vhdl/scanner.ads
  209. 78
    82
      src/vhdl/sem.adb
  210. 10
    8
      src/vhdl/sem.ads
  211. 37
    10
      src/vhdl/sem_assocs.adb
  212. 22
    987
      src/vhdl/sem_decls.adb
  213. 4
    4
      src/vhdl/sem_decls.ads
  214. 552
    179
      src/vhdl/sem_expr.adb
  215. 20
    17
      src/vhdl/sem_expr.ads
  216. 20
    2
      src/vhdl/sem_inst.adb
  217. 410
    0
      src/vhdl/sem_lib.adb
  218. 58
    0
      src/vhdl/sem_lib.ads
  219. 34
    13
      src/vhdl/sem_names.adb
  220. 1
    1
      src/vhdl/sem_names.ads
  221. 89
    61
      src/vhdl/sem_scopes.adb
  222. 3
    2
      src/vhdl/sem_specs.adb
  223. 7
    5
      src/vhdl/sem_stmts.adb
  224. 40
    16
      src/vhdl/sem_types.adb
  225. 1039
    0
      src/vhdl/sem_utils.adb
  226. 30
    0
      src/vhdl/sem_utils.ads
  227. 9
    7
      src/vhdl/simulate/simul-elaboration.adb
  228. 1
    3
      src/vhdl/simulate/simul-execution.adb
  229. 106
    37
      src/vhdl/std_package.adb
  230. 4
    4
      src/vhdl/std_package.ads
  231. 13
    8
      src/vhdl/tokens.ads
  232. 0
    45
      src/vhdl/translate/Makefile
  233. 20
    10
      src/vhdl/translate/ortho_front.adb
  234. 26
    20
      src/vhdl/translate/trans-chap12.adb
  235. 2
    4
      src/vhdl/translate/trans-chap12.ads
  236. 2
    4
      src/vhdl/translate/trans-chap14.adb
  237. 16
    37
      src/vhdl/translate/trans-chap2.adb
  238. 724
    849
      src/vhdl/translate/trans-chap3.adb
  239. 33
    16
      src/vhdl/translate/trans-chap3.ads
  240. 133
    68
      src/vhdl/translate/trans-chap4.adb
  241. 25
    19
      src/vhdl/translate/trans-chap5.adb
  242. 108
    86
      src/vhdl/translate/trans-chap6.adb
  243. 7
    0
      src/vhdl/translate/trans-chap6.ads
  244. 341
    263
      src/vhdl/translate/trans-chap7.adb
  245. 3
    1
      src/vhdl/translate/trans-chap7.ads
  246. 238
    97
      src/vhdl/translate/trans-chap8.adb
  247. 104
    13
      src/vhdl/translate/trans-chap9.adb
  248. 2
    4
      src/vhdl/translate/trans-foreach_non_composite.adb
  249. 8
    7
      src/vhdl/translate/trans-helpers2.adb
  250. 150
    129
      src/vhdl/translate/trans-rtis.adb
  251. 2
    2
      src/vhdl/translate/trans-rtis.ads
  252. 38
    11
      src/vhdl/translate/trans.adb
  253. 203
    50
      src/vhdl/translate/trans.ads
  254. 4
    1
      src/vhdl/translate/trans_decls.ads
  255. 60
    17
      src/vhdl/translate/translation.adb
  256. 7
    4
      src/vhdl/translate/translation.ads
  257. 20
    6
      src/xtools/pnodes.py
  258. 228
    0
      testsuite/get_entities.adb
  259. 43
    0
      testsuite/gna/README
  260. 41
    0
      testsuite/gna/bug01/foo.vhdl
  261. 16
    0
      testsuite/gna/bug01/repro.vhdl
  262. 116
    0
      testsuite/gna/bug01/tb.vhdl
  263. 12
    0
      testsuite/gna/bug01/testsuite.sh
  264. 69
    0
      testsuite/gna/bug010/FIFO.vhdl
  265. 193
    0
      testsuite/gna/bug010/TestFIFO.vhdl
  266. 10
    0
      testsuite/gna/bug010/testsuite.sh
  267. 59
    0
      testsuite/gna/bug011/phonybench.vhdl
  268. 18
    0
      testsuite/gna/bug011/testsuite.sh
  269. 14
    0
      testsuite/gna/bug012/demo.vhd
  270. 10
    0
      testsuite/gna/bug012/testsuite.sh
  271. 15
    0
      testsuite/gna/bug014/bug.vhdl
  272. 4
    0
      testsuite/gna/bug014/bug2.vhdl
  273. 7
    0
      testsuite/gna/bug014/bug3.vhdl
  274. 10
    0
      testsuite/gna/bug014/testsuite.sh
  275. 24
    0
      testsuite/gna/bug015/phys.vhdl
  276. 14
    0
      testsuite/gna/bug015/phys2.vhdl
  277. 12
    0
      testsuite/gna/bug015/testsuite.sh
  278. 2
    0
      testsuite/gna/bug016/pkg.vhdl
  279. 29
    0
      testsuite/gna/bug016/repro.vhdl
  280. 28
    0
      testsuite/gna/bug016/repro1.vhdl
  281. 18
    0
      testsuite/gna/bug016/repro2.vhdl
  282. 14
    0
      testsuite/gna/bug016/testsuite.sh
  283. 20
    0
      testsuite/gna/bug017/call1.vhdl
  284. 22
    0
      testsuite/gna/bug017/call10.vhdl
  285. 20
    0
      testsuite/gna/bug017/call2.vhdl
  286. 29
    0
      testsuite/gna/bug017/call3.vhdl
  287. 28
    0
      testsuite/gna/bug017/call4.vhdl
  288. 21
    0
      testsuite/gna/bug017/call5.vhdl
  289. 21
    0
      testsuite/gna/bug017/call6.vhdl
  290. 21
    0
      testsuite/gna/bug017/call6a.vhdl
  291. 23
    0
      testsuite/gna/bug017/call6b.vhdl
  292. 25
    0
      testsuite/gna/bug017/call7.vhdl
  293. 25
    0
      testsuite/gna/bug017/call8.vhdl
  294. 28
    0
      testsuite/gna/bug017/call9.vhdl
  295. 31
    0
      testsuite/gna/bug017/case1.vhdl
  296. 28
    0
      testsuite/gna/bug017/case2.vhdl
  297. 29
    0
      testsuite/gna/bug017/case3.vhdl
  298. 34
    0
      testsuite/gna/bug017/case4.vhdl
  299. 16
    0
      testsuite/gna/bug017/for1.vhdl
  300. 22
    0
      testsuite/gna/bug017/if1.vhdl
  301. 23
    0
      testsuite/gna/bug017/if2.vhdl
  302. 23
    0
      testsuite/gna/bug017/if3.vhdl
  303. 19
    0
      testsuite/gna/bug017/if4.vhdl
  304. 19
    0
      testsuite/gna/bug017/loop1.vhdl
  305. 20
    0
      testsuite/gna/bug017/loop2.vhdl
  306. 25
    0
      testsuite/gna/bug017/ret1.vhdl
  307. 11
    0
      testsuite/gna/bug017/simple.vhdl
  308. 46
    0
      testsuite/gna/bug017/testsuite.sh
  309. 13
    0
      testsuite/gna/bug017/wait1.vhdl
  310. 16
    0
      testsuite/gna/bug017/wait2.vhdl
  311. 18
    0
      testsuite/gna/bug017/wait3.vhdl
  312. 9
    0
      testsuite/gna/bug018/repro.vhdl
  313. 9
    0
      testsuite/gna/bug018/repro1.vhdl
  314. 13
    0
      testsuite/gna/bug018/testsuite.sh
  315. 38
    0
      testsuite/gna/bug019/PoC/.gitignore
  316. 310
    0
      testsuite/gna/bug019/PoC/src/common/components.vhdl
  317. 962
    0
      testsuite/gna/bug019/PoC/src/common/config.vhdl
  318. 87
    0
      testsuite/gna/bug019/PoC/src/common/debug.vhdl
  319. 93
    0
      testsuite/gna/bug019/PoC/src/common/fileio.vhdl
  320. 58
    0
      testsuite/gna/bug019/PoC/src/common/my_config.vhdl.template
  321. 52
    0
      testsuite/gna/bug019/PoC/src/common/my_project.vhdl.template
  322. 1014
    0
      testsuite/gna/bug019/PoC/src/common/physical.vhdl
  323. 899
    0
      testsuite/gna/bug019/PoC/src/common/strings.vhdl
  324. 946
    0
      testsuite/gna/bug019/PoC/src/common/utils.vhdl
  325. 764
    0
      testsuite/gna/bug019/PoC/src/common/vectors.vhdl
  326. 155
    0
      testsuite/gna/bug019/PoC/src/io/uart/uart.pkg.vhdl
  327. 108
    0
      testsuite/gna/bug019/PoC/src/io/uart/uart_bclk.vhdl
  328. 320
    0
      testsuite/gna/bug019/PoC/src/io/uart/uart_fifo.vhdl
  329. 174
    0
      testsuite/gna/bug019/PoC/src/io/uart/uart_rx.vhdl
  330. 140
    0
      testsuite/gna/bug019/PoC/src/io/uart/uart_tx.vhdl
  331. 2
    0
      testsuite/gna/bug019/PoC/tb/.gitignore
  332. 76
    0
      testsuite/gna/bug019/PoC/tb/common/config_tb.vhdl
  333. 48
    0
      testsuite/gna/bug019/PoC/tb/common/my_config_ML505.vhdl
  334. 50
    0
      testsuite/gna/bug019/PoC/tb/common/my_config_ML605.vhdl
  335. 52
    0
      testsuite/gna/bug019/PoC/tb/common/my_project.vhdl
  336. 363
    0
      testsuite/gna/bug019/PoC/tb/common/simulation.v08.vhdl
  337. 308
    0
      testsuite/gna/bug019/PoC/tb/common/simulation.v93.vhdl
  338. 123
    0
      testsuite/gna/bug019/PoC/tb/common/strings_tb.vhdl
  339. 141
    0
      testsuite/gna/bug019/PoC/tb/io/uart/uart_rx_tb.vhdl
  340. 43
    0
      testsuite/gna/bug019/repro.vhdl
  341. 51
    0
      testsuite/gna/bug019/repro1.vhdl
  342. 25
    0
      testsuite/gna/bug019/testsuite.sh
  343. 29
    0
      testsuite/gna/bug02/repro.vhdl
  344. 45
    0
      testsuite/gna/bug02/repro2.vhdl
  345. 49
    0
      testsuite/gna/bug02/repro3.vhdl
  346. 19
    0
      testsuite/gna/bug02/testsuite.sh
  347. 43
    0
      testsuite/gna/bug021/makefile
  348. 15
    0
      testsuite/gna/bug021/sim.c
  349. 35
    0
      testsuite/gna/bug021/sim_pkg.vhd
  350. 66
    0
      testsuite/gna/bug021/tb_cosim.vhd
  351. 10
    0
      testsuite/gna/bug021/testsuite.sh
  352. 20
    0
      testsuite/gna/bug022/test.vhdl
  353. 10
    0
      testsuite/gna/bug022/testsuite.sh
  354. 23
    0
      testsuite/gna/bug023/ppkg.vhdl
  355. 24
    0
      testsuite/gna/bug023/ppkg1.vhdl
  356. 14
    0
      testsuite/gna/bug023/ppkg1_tb.vhdl
  357. 14
    0
      testsuite/gna/bug023/ppkg_tb.vhdl
  358. 13
    0
      testsuite/gna/bug023/testsuite.sh
  359. 23
    0
      testsuite/gna/bug024/ppkg.vhdl
  360. 24
    0
      testsuite/gna/bug024/ppkg1.vhdl
  361. 10
    0
      testsuite/gna/bug024/testsuite.sh
  362. 10
    0
      testsuite/gna/bug026/testsuite.sh
  363. 15
    0
      testsuite/gna/bug026/x.vhd
  364. 20
    0
      testsuite/gna/bug026/xb.vhd
  365. 7
    0
      testsuite/gna/bug027/comp.vhdl
  366. 12
    0
      testsuite/gna/bug027/repro.vhdl
  367. 9
    0
      testsuite/gna/bug027/testsuite.sh
  368. 7
    0
      testsuite/gna/bug028/simple.vhdl
  369. 10
    0
      testsuite/gna/bug028/testsuite.sh
  370. 25
    0
      testsuite/gna/bug029/fft.vhdl
  371. 15
    0
      testsuite/gna/bug029/fft1.vhdl
  372. 14
    0
      testsuite/gna/bug029/fft2.vhdl
  373. 42
    0
      testsuite/gna/bug029/repro1.vhdl
  374. 11
    0
      testsuite/gna/bug029/repro2.vhdl
  375. 14
    0
      testsuite/gna/bug029/testsuite.sh
  376. 10
    0
      testsuite/gna/bug03/testsuite.sh
  377. 128
    0
      testsuite/gna/bug03/wor_std.vhdl
  378. 11
    0
      testsuite/gna/bug030/reserved1.vhdl
  379. 11
    0
      testsuite/gna/bug030/reserved2.vhdl
  380. 11
    0
      testsuite/gna/bug030/reserved3.vhdl
  381. 11
    0
      testsuite/gna/bug030/reserved4.vhdl
  382. 13
    0
      testsuite/gna/bug030/testsuite.sh
  383. 13
    0
      testsuite/gna/bug031/ams1.vhdl
  384. 9
    0
      testsuite/gna/bug031/testsuite.sh
  385. 5
    0
      testsuite/gna/bug032/allnl.vhdl
  386. 2
    0
      testsuite/gna/bug032/p.vhdl
  387. 61
    0
      testsuite/gna/bug032/testsuite.sh
  388. 12
    0
      testsuite/gna/bug033/simple.vhdl
  389. 13
    0
      testsuite/gna/bug033/simple08.vhdl
  390. 17
    0
      testsuite/gna/bug033/testsuite.sh
  391. 20
    0
      testsuite/gna/bug034/repro.vhdl
  392. 10
    0
      testsuite/gna/bug034/testsuite.sh
  393. 274
    0
      testsuite/gna/bug035/arith_prng.vhdl
  394. 117
    0
      testsuite/gna/bug035/arith_prng_tb.vhdl
  395. 1083
    0
      testsuite/gna/bug035/config.vhdl
  396. 45
    0
      testsuite/gna/bug035/my_config_ML505.vhdl
  397. 52
    0
      testsuite/gna/bug035/my_project.vhdl
  398. 1014
    0
      testsuite/gna/bug035/physical.vhdl
  399. 308
    0
      testsuite/gna/bug035/simulation.v93.vhdl
  400. 905
    0
      testsuite/gna/bug035/strings.vhdl
  401. 32
    0
      testsuite/gna/bug035/testsuite.sh
  402. 946
    0
      testsuite/gna/bug035/utils.vhdl
  403. 960
    0
      testsuite/gna/bug035/vectors.vhdl
  404. 7
    0
      testsuite/gna/bug036/phys.vhdl
  405. 9
    0
      testsuite/gna/bug036/phys2.vhdl
  406. 10
    0
      testsuite/gna/bug036/testsuite.sh
  407. 196
    0
      testsuite/gna/bug037/arith.pkg.vhdl
  408. 351
    0
      testsuite/gna/bug037/arith_addw.vhdl
  409. 153
    0
      testsuite/gna/bug037/arith_addw_tb.vhdl
  410. 191
    0
      testsuite/gna/bug037/bugreport.txt
  411. 1083
    0
      testsuite/gna/bug037/config.vhdl
  412. 45
    0
      testsuite/gna/bug037/my_config_ML505.vhdl
  413. 39
    0
      testsuite/gna/bug037/my_project.vhdl
  414. 981
    0
      testsuite/gna/bug037/physical.vhdl
  415. 14
    0
      testsuite/gna/bug037/repro.vhdl
  416. 40
    0
      testsuite/gna/bug037/sim_global.v08.vhdl
  417. 225
    0
      testsuite/gna/bug037/sim_protected.v08.vhdl
  418. 440
    0
      testsuite/gna/bug037/sim_simulation.v08.vhdl
  419. 159
    0
      testsuite/gna/bug037/sim_types.vhdl
  420. 936
    0
      testsuite/gna/bug037/strings.vhdl
  421. 34
    0
      testsuite/gna/bug037/testsuite.sh
  422. 987
    0
      testsuite/gna/bug037/utils.vhdl
  423. 960
    0
      testsuite/gna/bug037/vectors.vhdl
  424. 16
    0
      testsuite/gna/bug039/repro.vhdl
  425. 10
    0
      testsuite/gna/bug039/testsuite.sh
  426. 64
    0
      testsuite/gna/bug04/std_logic_warning.vhdl
  427. 63
    0
      testsuite/gna/bug04/test.vhdl
  428. 13
    0
      testsuite/gna/bug04/testsuite.sh
  429. 33
    0
      testsuite/gna/bug040/add_200.vhd
  430. 33
    0
      testsuite/gna/bug040/add_201.vhd
  431. 33
    0
      testsuite/gna/bug040/add_202.vhd
  432. 33
    0
      testsuite/gna/bug040/add_203.vhd
  433. 33
    0
      testsuite/gna/bug040/add_204.vhd
  434. 60
    0
      testsuite/gna/bug040/bit_set_mask.vhd
  435. 26
    0
      testsuite/gna/bug040/cmp_775.vhd
  436. 26
    0
      testsuite/gna/bug040/cmp_779.vhd
  437. 26
    0
      testsuite/gna/bug040/cmp_780.vhd
  438. 26
    0
      testsuite/gna/bug040/cmp_787.vhd
  439. 26
    0
      testsuite/gna/bug040/cmp_788.vhd
  440. 26
    0
      testsuite/gna/bug040/cmp_790.vhd
  441. 26
    0
      testsuite/gna/bug040/cmp_791.vhd
  442. 26
    0
      testsuite/gna/bug040/cmp_792.vhd
  443. 26
    0
      testsuite/gna/bug040/cmp_793.vhd
  444. 26
    0
      testsuite/gna/bug040/cmp_794.vhd
  445. 26
    0
      testsuite/gna/bug040/cmp_799.vhd
  446. 26
    0
      testsuite/gna/bug040/cmp_800.vhd
  447. 26
    0
      testsuite/gna/bug040/cmp_804.vhd
  448. 26
    0
      testsuite/gna/bug040/cmp_846.vhd
  449. 26
    0
      testsuite/gna/bug040/cmp_847.vhd
  450. 26
    0
      testsuite/gna/bug040/cmp_848.vhd
  451. 26
    0
      testsuite/gna/bug040/cmp_849.vhd
  452. 26
    0
      testsuite/gna/bug040/cmp_850.vhd
  453. 26
    0
      testsuite/gna/bug040/cmp_851.vhd
  454. 26
    0
      testsuite/gna/bug040/cmp_852.vhd
  455. 26
    0
      testsuite/gna/bug040/cmp_855.vhd
  456. 26
    0
      testsuite/gna/bug040/cmp_861.vhd
  457. 26
    0
      testsuite/gna/bug040/cmp_863.vhd
  458. 26
    0
      testsuite/gna/bug040/cmp_865.vhd
  459. 26
    0
      testsuite/gna/bug040/cmp_868.vhd
  460. 26
    0
      testsuite/gna/bug040/cmp_869.vhd
  461. 26
    0
      testsuite/gna/bug040/cmp_871.vhd
  462. 26
    0
      testsuite/gna/bug040/cmp_873.vhd
  463. 26
    0
      testsuite/gna/bug040/cmp_877.vhd
  464. 26
    0
      testsuite/gna/bug040/cmp_878.vhd
  465. 26
    0
      testsuite/gna/bug040/cmp_879.vhd
  466. 26
    0
      testsuite/gna/bug040/cmp_880.vhd
  467. 26
    0
      testsuite/gna/bug040/cmp_882.vhd
  468. 26
    0
      testsuite/gna/bug040/cmp_885.vhd
  469. 26
    0
      testsuite/gna/bug040/cmp_887.vhd
  470. 26
    0
      testsuite/gna/bug040/cmp_962.vhd
  471. 26
    0
      testsuite/gna/bug040/cmp_964.vhd
  472. 26
    0
      testsuite/gna/bug040/cmp_971.vhd
  473. 26
    0
      testsuite/gna/bug040/cmp_972.vhd
  474. 26
    0
      testsuite/gna/bug040/cmp_973.vhd
  475. 26
    0
      testsuite/gna/bug040/cmp_974.vhd
  476. 26
    0
      testsuite/gna/bug040/cmp_975.vhd
  477. 26
    0
      testsuite/gna/bug040/cmp_977.vhd
  478. 26
    0
      testsuite/gna/bug040/cmp_978.vhd
  479. 26
    0
      testsuite/gna/bug040/cmp_979.vhd
  480. 26
    0
      testsuite/gna/bug040/cmp_985.vhd
  481. 54
    0
      testsuite/gna/bug040/extend_mask.vhd
  482. 3028
    0
      testsuite/gna/bug040/fsm_224.vhd
  483. 65
    0
      testsuite/gna/bug040/huff_make_dhuff_tb_ac_huffcode.vhd
  484. 65
    0
      testsuite/gna/bug040/huff_make_dhuff_tb_ac_huffsize.vhd
  485. 65
    0
      testsuite/gna/bug040/huff_make_dhuff_tb_dc_huffcode.vhd
  486. 65
    0
      testsuite/gna/bug040/huff_make_dhuff_tb_dc_huffsize.vhd
  487. 65
    0
      testsuite/gna/bug040/huffbuff.vhd
  488. 71
    0
      testsuite/gna/bug040/idctbuff.vhd
  489. 55
    0
      testsuite/gna/bug040/izigzag_index.vhd
  490. 65
    0
      testsuite/gna/bug040/jpegfilebuf.vhd
  491. 60
    0
      testsuite/gna/bug040/lmask.vhd
  492. 27
    0
      testsuite/gna/bug040/mul_209.vhd
  493. 27
    0
      testsuite/gna/bug040/mul_210.vhd
  494. 27
    0
      testsuite/gna/bug040/mul_213.vhd
  495. 27
    0
      testsuite/gna/bug040/mul_214.vhd
  496. 27
    0
      testsuite/gna/bug040/mul_215.vhd
  497. 27
    0
      testsuite/gna/bug040/mul_216.vhd
  498. 27
    0
      testsuite/gna/bug040/mul_222.vhd
  499. 22
    0
      testsuite/gna/bug040/muxb_784.vhd
  500. 65
    0
      testsuite/gna/bug040/outdata_comp_buf.vhd
  501. 65
    0
      testsuite/gna/bug040/outdata_comp_hpos.vhd
  502. 65
    0
      testsuite/gna/bug040/outdata_comp_vpos.vhd
  503. 65
    0
      testsuite/gna/bug040/p_jinfo_ac_dhuff_tbl_maxcode.vhd
  504. 65
    0
      testsuite/gna/bug040/p_jinfo_ac_dhuff_tbl_mincode.vhd
  505. 65
    0
      testsuite/gna/bug040/p_jinfo_ac_dhuff_tbl_ml.vhd
  506. 65
    0
      testsuite/gna/bug040/p_jinfo_ac_dhuff_tbl_valptr.vhd
  507. 65
    0
      testsuite/gna/bug040/p_jinfo_ac_xhuff_tbl_bits.vhd
  508. 65
    0
      testsuite/gna/bug040/p_jinfo_ac_xhuff_tbl_huffval.vhd
  509. 65
    0
      testsuite/gna/bug040/p_jinfo_comps_info_dc_tbl_no.vhd
  510. 65
    0
      testsuite/gna/bug040/p_jinfo_comps_info_h_samp_factor.vhd
  511. 65
    0
      testsuite/gna/bug040/p_jinfo_comps_info_id.vhd
  512. 65
    0
      testsuite/gna/bug040/p_jinfo_comps_info_quant_tbl_no.vhd
  513. 65
    0
      testsuite/gna/bug040/p_jinfo_dc_dhuff_tbl_maxcode.vhd
  514. 65
    0
      testsuite/gna/bug040/p_jinfo_dc_dhuff_tbl_mincode.vhd
  515. 65
    0
      testsuite/gna/bug040/p_jinfo_dc_dhuff_tbl_ml.vhd
  516. 65
    0
      testsuite/gna/bug040/p_jinfo_dc_dhuff_tbl_valptr.vhd
  517. 65
    0
      testsuite/gna/bug040/p_jinfo_dc_xhuff_tbl_bits.vhd
  518. 65
    0
      testsuite/gna/bug040/p_jinfo_dc_xhuff_tbl_huffval.vhd
  519. 65
    0
      testsuite/gna/bug040/p_jinfo_quant_tbl_quantval.vhd
  520. 65
    0
      testsuite/gna/bug040/quantbuff.vhd
  521. 65
    0
      testsuite/gna/bug040/rgb_buf.vhd
  522. 46
    0
      testsuite/gna/bug040/shl_211.vhd
  523. 46
    0
      testsuite/gna/bug040/shr_212.vhd
  524. 70
    0
      testsuite/gna/bug040/sub_205.vhd
  525. 64
    0
      testsuite/gna/bug040/sub_206.vhd
  526. 66
    0
      testsuite/gna/bug040/sub_207.vhd
  527. 64
    0
      testsuite/gna/bug040/sub_208.vhd
  528. 64
    0
      testsuite/gna/bug040/sub_217.vhd
  529. 64
    0
      testsuite/gna/bug040/sub_218.vhd
  530. 64
    0
      testsuite/gna/bug040/sub_219.vhd
  531. 64
    0
      testsuite/gna/bug040/sub_220.vhd
  532. 64
    0
      testsuite/gna/bug040/sub_221.vhd
  533. 1712
    0
      testsuite/gna/bug040/tb.vhd
  534. 14
    0
      testsuite/gna/bug040/testsuite.sh
  535. 7027
    0
      testsuite/gna/bug040/top.vhd
  536. 55
    0
      testsuite/gna/bug040/zigzag_index.vhd
  537. 11
    0
      testsuite/gna/bug041/foo.vhdl
  538. 9
    0
      testsuite/gna/bug041/testsuite.sh
  539. 65
    0
      testsuite/gna/bug042/centerconfig.vhdl
  540. 73
    0
      testsuite/gna/bug042/centerconfig_generics_works.vhdl
  541. 71
    0
      testsuite/gna/bug042/centerconfig_works.vhdl
  542. 13
    0
      testsuite/gna/bug042/testsuite.sh
  543. 167
    0
      testsuite/gna/bug043/sha256.vhd
  544. 9
    0
      testsuite/gna/bug043/testsuite.sh
  545. 11
    0
      testsuite/gna/bug044/aggr1.vhdl
  546. 9
    0
      testsuite/gna/bug044/testsuite.sh
  547. 41
    0
      testsuite/gna/bug045/repro.vhdl
  548. 17
    0
      testsuite/gna/bug045/testsuite.sh
  549. 19
    0
      testsuite/gna/bug046/bug_pkg.vhdl
  550. 9
    0
      testsuite/gna/bug046/testsuite.sh
  551. 15
    0
      testsuite/gna/bug047/repro_arith.vhdl
  552. 10
    0
      testsuite/gna/bug047/testsuite.sh
  553. 22
    0
      testsuite/gna/bug048/leftof1.vhdl
  554. 21
    0
      testsuite/gna/bug048/leftof2.vhdl
  555. 15
    0
      testsuite/gna/bug048/leftof3.vhdl
  556. 16
    0
      testsuite/gna/bug048/testsuite.sh
  557. 45
    0
      testsuite/gna/bug049/rng1.vhdl
  558. 10
    0
      testsuite/gna/bug049/testsuite.sh
  559. 35
    0
      testsuite/gna/bug05/repro.vhdl
  560. 17
    0
      testsuite/gna/bug05/testsuite.sh
  561. 5
    0
      testsuite/gna/bug050/tarith.vhdl
  562. 22
    0
      testsuite/gna/bug050/testsuite.sh
  563. 5
    0
      testsuite/gna/bug050/tsigned.vhdl
  564. 5
    0
      testsuite/gna/bug050/tsltextio.vhdl
  565. 5
    0
      testsuite/gna/bug050/tunsigned.vhdl
  566. 15
    0
      testsuite/gna/bug051/tb.vhdl
  567. 8
    0
      testsuite/gna/bug051/tb1.vhdl
  568. 17
    0
      testsuite/gna/bug051/tb2.vhdl
  569. 13
    0
      testsuite/gna/bug051/testsuite.sh
  570. 11
    0
      testsuite/gna/bug052/tb.vhdl
  571. 11
    0
      testsuite/gna/bug052/tb_simple.vhdl
  572. 12
    0
      testsuite/gna/bug052/tb_simple1.vhdl
  573. 13
    0
      testsuite/gna/bug052/tb_simple2.vhdl
  574. 18
    0
      testsuite/gna/bug052/testsuite.sh
  575. 12
    0
      testsuite/gna/bug053/tb1.vhdl
  576. 17
    0
      testsuite/gna/bug053/tb2.vhdl
  577. 28
    0
      testsuite/gna/bug053/tb3.vhdl
  578. 17
    0
      testsuite/gna/bug053/testsuite.sh
  579. 26
    0
      testsuite/gna/bug054/gen1.vhdl
  580. 38
    0
      testsuite/gna/bug054/gen2.vhdl
  581. 38
    0
      testsuite/gna/bug054/gen3.vhdl
  582. 38
    0
      testsuite/gna/bug054/gen4.vhdl
  583. 14
    0
      testsuite/gna/bug054/testsuite.sh
  584. 6
    0
      testsuite/gna/bug055/gen1-body.vhdl
  585. 5
    0
      testsuite/gna/bug055/gen1.vhdl
  586. 8
    0
      testsuite/gna/bug055/gen2-body.vhdl
  587. 5
    0
      testsuite/gna/bug055/gen2.vhdl
  588. 1
    0
      testsuite/gna/bug055/pkg1.vhdl
  589. 1
    0
      testsuite/gna/bug055/pkg2.vhdl
  590. 4
    0
      testsuite/gna/bug055/tb-behav.vhdl
  591. 2
    0
      testsuite/gna/bug055/tb.vhdl
  592. 16
    0
      testsuite/gna/bug055/testsuite.sh
  593. 21
    0
      testsuite/gna/bug056/tb.vhdl
  594. 12
    0
      testsuite/gna/bug056/testsuite.sh
  595. 21
    0
      testsuite/gna/bug057/tb.vhdl
  596. 20
    0
      testsuite/gna/bug057/tb2.vhdl
  597. 15
    0
      testsuite/gna/bug057/testsuite.sh
  598. 22
    0
      testsuite/gna/bug058/tb.vhdl
  599. 21
    0
      testsuite/gna/bug058/tb1.vhdl
  600. 20
    0
      testsuite/gna/bug058/tb2.vhdl
  601. 15
    0
      testsuite/gna/bug058/testsuite.sh
  602. 12
    0
      testsuite/gna/bug059/tb.vhdl
  603. 13
    0
      testsuite/gna/bug059/tb1.vhdl
  604. 16
    0
      testsuite/gna/bug059/testsuite.sh
  605. 29
    0
      testsuite/gna/bug06/repro.vhdl
  606. 10
    0
      testsuite/gna/bug06/testsuite.sh
  607. 39
    0
      testsuite/gna/bug060/Integer_List_tb.vhdl
  608. 37
    0
      testsuite/gna/bug060/corelib.v08.vhdl
  609. 366
    0
      testsuite/gna/bug060/corelib_List.v08.vhdl
  610. 14
    0
      testsuite/gna/bug060/testsuite.sh
  611. 69
    0
      testsuite/gna/bug061/datastructure.vhdl
  612. 194
    0
      testsuite/gna/bug061/dictp.vhdl
  613. 187
    0
      testsuite/gna/bug061/dictp08.vhdl
  614. 17
    0
      testsuite/gna/bug061/test_dict.vhdl
  615. 15
    0
      testsuite/gna/bug061/testsuite.sh
  616. 20
    0
      testsuite/gna/bug062/ex.vhdl
  617. 9
    0
      testsuite/gna/bug062/testsuite.sh
  618. 4
    0
      testsuite/gna/bug063/dff.expected
  619. 17
    0
      testsuite/gna/bug063/dff.vhdl
  620. 11
    0
      testsuite/gna/bug063/testsuite.sh
  621. 17
    0
      testsuite/gna/bug064/repro.vhdl
  622. 10
    0
      testsuite/gna/bug064/testsuite.sh
  623. 17
    0
      testsuite/gna/bug065/repro.vhdl
  624. 11
    0
      testsuite/gna/bug065/testsuite.sh
  625. 17
    0
      testsuite/gna/bug066/repro.vhdl
  626. 9
    0
      testsuite/gna/bug066/testsuite.sh
  627. 7
    0
      testsuite/gna/bug067/testsuite.sh
  628. 15
    0
      testsuite/gna/bug069/bug1.vhdl
  629. 13
    0
      testsuite/gna/bug069/bug2.vhdl
  630. 13
    0
      testsuite/gna/bug069/bug7.vhdl
  631. 13
    0
      testsuite/gna/bug069/bug8.vhdl
  632. 12
    0
      testsuite/gna/bug069/testsuite.sh
  633. 21
    0
      testsuite/gna/bug07/repro.vhdl
  634. 10
    0
      testsuite/gna/bug07/testsuite.sh
  635. 45
    0
      testsuite/gna/bug071/atod.vhdl
  636. 103
    0
      testsuite/gna/bug071/pattr.adb
  637. 11
    0
      testsuite/gna/bug071/testsuite.sh
  638. 4
    0
      testsuite/gna/bug072/t.vhdl
  639. 9
    0
      testsuite/gna/bug072/testsuite.sh
  640. 14
    0
      testsuite/gna/bug073/adder.vhdl
  641. 57
    0
      testsuite/gna/bug073/adder_tb.vhdl
  642. 57
    0
      testsuite/gna/bug073/adder_tb2.vhdl
  643. 13
    0
      testsuite/gna/bug073/testsuite.sh
  644. 30
    0
      testsuite/gna/bug074/repro.vhdl
  645. 11
    0
      testsuite/gna/bug074/testsuite.sh
  646. 48
    0
      testsuite/gna/bug075/dff.vhdl
  647. 10
    0
      testsuite/gna/bug075/testsuite.sh
  648. 37
    0
      testsuite/gna/bug077/repro.vhdl
  649. 26
    0
      testsuite/gna/bug077/repro2.vhdl
  650. 26
    0
      testsuite/gna/bug077/repro3.vhdl
  651. 26
    0
      testsuite/gna/bug077/repro4.vhdl
  652. 32
    0
      testsuite/gna/bug077/repro5.vhdl
  653. 32
    0
      testsuite/gna/bug077/repro6.vhdl
  654. 32
    0
      testsuite/gna/bug077/repro7.vhdl
  655. 28
    0
      testsuite/gna/bug077/testsuite.sh
  656. 100
    0
      testsuite/gna/bug078/half_adder.vhdl
  657. 10
    0
      testsuite/gna/bug078/testsuite.sh
  658. 19
    0
      testsuite/gna/bug079/repro1.vhdl
  659. 25
    0
      testsuite/gna/bug079/repro2.vhdl
  660. 13
    0
      testsuite/gna/bug079/testsuite.sh
  661. 15
    0
      testsuite/gna/bug08/paren1.vhdl
  662. 18
    0
      testsuite/gna/bug08/paren10.vhdl
  663. 19
    0
      testsuite/gna/bug08/paren11.vhdl
  664. 19
    0
      testsuite/gna/bug08/paren12.vhdl
  665. 23
    0
      testsuite/gna/bug08/paren13.vhdl
  666. 10
    0
      testsuite/gna/bug08/paren2.vhdl
  667. 10
    0
      testsuite/gna/bug08/paren3.vhdl
  668. 13
    0
      testsuite/gna/bug08/paren4.vhdl
  669. 13
    0
      testsuite/gna/bug08/paren5.vhdl
  670. 15
    0
      testsuite/gna/bug08/paren6.vhdl
  671. 15
    0
      testsuite/gna/bug08/paren7.vhdl
  672. 17
    0
      testsuite/gna/bug08/paren8.vhdl
  673. 17
    0
      testsuite/gna/bug08/paren9.vhdl
  674. 12
    0
      testsuite/gna/bug08/testsuite.sh
  675. 11
    0
      testsuite/gna/bug080/impurefunc.vhdl
  676. 9
    0
      testsuite/gna/bug080/testsuite.sh
  677. 28
    0
      testsuite/gna/bug081/dummy.vhdl
  678. 10
    0
      testsuite/gna/bug081/testsuite.sh
  679. 24
    0
      testsuite/gna/bug082/repro.vhdl
  680. 10
    0
      testsuite/gna/bug082/testsuite.sh
  681. 79
    0
      testsuite/gna/bug083/repro.vhdl
  682. 27
    0
      testsuite/gna/bug083/repro2.vhdl
  683. 67
    0
      testsuite/gna/bug083/repro3.vhdl
  684. 14
    0
      testsuite/gna/bug083/testsuite.sh
  685. 58
    0
      testsuite/gna/bug084/func_test1.vhdl
  686. 49
    0
      testsuite/gna/bug084/func_test2.vhdl
  687. 28
    0
      testsuite/gna/bug084/func_test3.vhdl
  688. 137
    0
      testsuite/gna/bug084/mod5.vhdl
  689. 150
    0
      testsuite/gna/bug084/mod5x.vhdl
  690. 22
    0
      testsuite/gna/bug084/testsuite.sh
  691. 13
    0
      testsuite/gna/bug085/foo.vhdl
  692. 9
    0
      testsuite/gna/bug085/testsuite.sh
  693. 28
    0
      testsuite/gna/bug086/sig.vhdl
  694. 10
    0
      testsuite/gna/bug086/testsuite.sh
  695. 11
    0
      testsuite/gna/bug087/testsuite.sh
  696. 37
    0
      testsuite/gna/bug088/assemble.vhdl
  697. 70
    0
      testsuite/gna/bug088/assemble2.vhdl
  698. 10
    0
      testsuite/gna/bug088/testsuite.sh
  699. 13
    0
      testsuite/gna/bug09/testsuite.sh
  700. 22
    0
      testsuite/gna/bug09/univ1.vhdl
  701. 17
    0
      testsuite/gna/bug09/univ2.vhdl
  702. 28
    0
      testsuite/gna/bug090/crash1.vhdl
  703. 62
    0
      testsuite/gna/bug090/crash10.vhdl
  704. 75
    0
      testsuite/gna/bug090/crash11.vhdl
  705. 16
    0
      testsuite/gna/bug090/crash12.vhdl
  706. 75
    0
      testsuite/gna/bug090/crash13.vhdl
  707. 51
    0
      testsuite/gna/bug090/crash14.vhdl
  708. 28
    0
      testsuite/gna/bug090/crash2.vhdl
  709. 26
    0
      testsuite/gna/bug090/crash3.vhdl
  710. 29
    0
      testsuite/gna/bug090/crash4.vhdl
  711. 63
    0
      testsuite/gna/bug090/crash5.vhdl
  712. 84
    0
      testsuite/gna/bug090/crash6.vhdl
  713. 84
    0
      testsuite/gna/bug090/crash7.vhdl
  714. 84
    0
      testsuite/gna/bug090/crash9.vhdl
  715. 28
    0
      testsuite/gna/bug090/hang1.vhdl
  716. 7
    0
      testsuite/gna/bug090/hang2.vhdl
  717. 6
    0
      testsuite/gna/bug090/hang3.vhdl
  718. 7
    0
      testsuite/gna/bug090/hang4.vhdl
  719. 28
    0
      testsuite/gna/bug090/hang5.vhdl
  720. 25
    0
      testsuite/gna/bug090/hang6.vhdl
  721. 64
    0
      testsuite/gna/bug090/hang7.vhdl
  722. 62
    0
      testsuite/gna/bug090/hang8.vhdl
  723. 11
    0
      testsuite/gna/bug090/testsuite.sh
  724. 11
    0
      testsuite/gna/bug14953/bug.vhdl
  725. 11
    0
      testsuite/gna/bug14953/bug2.vhdl
  726. 12
    0
      testsuite/gna/bug14953/testsuite.sh
  727. 35
    0
      testsuite/gna/bug15638/15368.vhd
  728. 10
    0
      testsuite/gna/bug15638/testsuite.sh
  729. 48
    0
      testsuite/gna/bug15702/example.vhd
  730. 9
    0
      testsuite/gna/bug15702/testsuite.sh
  731. 14
    0
      testsuite/gna/bug15933/crash.vhd
  732. 9
    0
      testsuite/gna/bug15933/testsuite.sh
  733. 96
    0
      testsuite/gna/bug15966/fail.vhd
  734. 10
    0
      testsuite/gna/bug15966/testsuite.sh
  735. 33
    0
      testsuite/gna/bug15993/cells.vhdl
  736. 68
    0
      testsuite/gna/bug15993/testbench.vhdl
  737. 97
    0
      testsuite/gna/bug15993/testbench_15993.vhdl
  738. 15
    0
      testsuite/gna/bug15993/testsuite.sh
  739. 5
    0
      testsuite/gna/bug16095/module.vhd
  740. 9
    0
      testsuite/gna/bug16095/testsuite.sh
  741. 31
    0
      testsuite/gna/bug16096/module.vhd
  742. 9
    0
      testsuite/gna/bug16096/testsuite.sh
  743. 2
    0
      testsuite/gna/bug16144/adder.vhdl
  744. 7
    0
      testsuite/gna/bug16144/testsuite.sh
  745. 27
    0
      testsuite/gna/bug16287/16287.vhd
  746. 10
    0
      testsuite/gna/bug16287/testsuite.sh
  747. 65
    0
      testsuite/gna/bug16695/lfsr_updown.vhd
  748. 88
    0
      testsuite/gna/bug16695/lfsr_updown_tb.vhd
  749. 10
    0
      testsuite/gna/bug16695/testsuite.sh
  750. 36
    0
      testsuite/gna/bug16782/bug.vhd
  751. 10
    0
      testsuite/gna/bug16782/testsuite.sh
  752. 28
    0
      testsuite/gna/bug17127/bug2.vhdl
  753. 10
    0
      testsuite/gna/bug17127/testsuite.sh
  754. 5
    0
      testsuite/gna/bug17202/test.vhdl
  755. 10
    0
      testsuite/gna/bug17202/testsuite.sh
  756. 37
    0
      testsuite/gna/bug17203/bug.vhdl
  757. 10
    0
      testsuite/gna/bug17203/testsuite.sh
  758. 120
    0
      testsuite/gna/bug17309/makefile
  759. 366
    0
      testsuite/gna/bug17309/master_testbench3.vhdl
  760. 1860
    0
      testsuite/gna/bug17309/polyamplib.vhdl
  761. 16
    0
      testsuite/gna/bug17309/testsuite.sh
  762. 17
    0
      testsuite/gna/bug17545/bug.vhdl
  763. 10
    0
      testsuite/gna/bug17545/testsuite.sh
  764. 43
    0
      testsuite/gna/bug17759/test.vhdl
  765. 10
    0
      testsuite/gna/bug17759/testsuite.sh
  766. 33
    0
      testsuite/gna/bug18280/alias_bug.txt
  767. 41
    0
      testsuite/gna/bug18280/alias_bug.vhd
  768. 2
    0
      testsuite/gna/bug18280/ghdc.bat
  769. 10
    0
      testsuite/gna/bug18280/testsuite.sh
  770. 57
    0
      testsuite/gna/bug18351/18351.vhd
  771. 25
    0
      testsuite/gna/bug18351/PROBLEM.vhdl
  772. 10
    0
      testsuite/gna/bug18351/testsuite.sh
  773. 22
    0
      testsuite/gna/bug18353/TESTCASE.vhdl
  774. 10
    0
      testsuite/gna/bug18353/testsuite.sh
  775. 28
    0
      testsuite/gna/bug18359/testcase.vhdl
  776. 10
    0
      testsuite/gna/bug18359/testsuite.sh
  777. 8
    0
      testsuite/gna/bug18360/testcase.vhdl
  778. 9
    0
      testsuite/gna/bug18360/testsuite.sh
  779. 91
    0
      testsuite/gna/bug18361/cnt.vhdl
  780. 9
    0
      testsuite/gna/bug18361/testsuite.sh
  781. 20
    0
      testsuite/gna/bug18659/crash.vhd
  782. 10
    0
      testsuite/gna/bug18659/testsuite.sh
  783. 241
    0
      testsuite/gna/bug18810/BENCH_OISC_SUBLEQ.vhd
  784. 243
    0
      testsuite/gna/bug18810/DMEM.vhd
  785. 339
    0
      testsuite/gna/bug18810/OISC_SUBLEQ.vhd
  786. 10
    0
      testsuite/gna/bug18810/testsuite.sh
  787. 13
    0
      testsuite/gna/bug19195/pkg.vhd
  788. 11
    0
      testsuite/gna/bug19195/testsuite.sh
  789. 7
    0
      testsuite/gna/bug19195/top.vhdl
  790. 16
    0
      testsuite/gna/bug20255/test.vhd
  791. 32
    0
      testsuite/gna/bug20255/test_20255.vhd
  792. 13
    0
      testsuite/gna/bug20255/testsuite.sh
  793. 15
    0
      testsuite/gna/bug20312/arr.vhdl
  794. 73
    0
      testsuite/gna/bug20312/repro.vhdl
  795. 13
    0
      testsuite/gna/bug20312/testsuite.sh
  796. 38
    0
      testsuite/gna/bug20549/info.txt
  797. 66
    0
      testsuite/gna/bug20549/tb.vhdl
  798. 10
    0
      testsuite/gna/bug20549/testsuite.sh
  799. 27
    0
      testsuite/gna/bug20597/20597.vhd
  800. 12
    0
      testsuite/gna/bug20597/testsuite.sh
  801. 10
    0
      testsuite/gna/bug20703/t.vhdl
  802. 10
    0
      testsuite/gna/bug20703/testsuite.sh
  803. 30
    0
      testsuite/gna/bug20767/aggr.vhdl
  804. 14
    0
      testsuite/gna/bug20767/testsuite.sh
  805. 11
    0
      testsuite/gna/bug20767/xilname.vhdl
  806. 31
    0
      testsuite/gna/bug20771/20771.vhd
  807. 4
    0
      testsuite/gna/bug20771/hello.txt
  808. 10
    0
      testsuite/gna/bug20771/testsuite.sh
  809. BIN
      testsuite/gna/bug21052/test.ghw
  810. 81
    0
      testsuite/gna/bug21052/test.vhd
  811. 27
    0
      testsuite/gna/bug21052/test3.vhd
  812. 12
    0
      testsuite/gna/bug21052/testsuite.sh
  813. 68
    0
      testsuite/gna/bug21078/foo.vhdl
  814. 9
    0
      testsuite/gna/bug21078/testsuite.sh
  815. 14
    0
      testsuite/gna/bug21274/21274.vhd
  816. 9
    0
      testsuite/gna/bug21274/testsuite.sh
  817. 10
    0
      testsuite/gna/bug21332/testsuite.sh
  818. 48
    0
      testsuite/gna/bug21332/twoscomplement.vhdl
  819. 37
    0
      testsuite/gna/bug21487/repro.vhdl
  820. 11
    0
      testsuite/gna/bug21487/testsuite.sh
  821. 19
    0
      testsuite/gna/bug21497/repro.vhdl
  822. 11
    0
      testsuite/gna/bug21497/testsuite.sh
  823. 25
    0
      testsuite/gna/bug21500/resolv1.vhdl
  824. 22
    0
      testsuite/gna/bug21500/resolv2.vhdl
  825. 14
    0
      testsuite/gna/bug21500/testsuite.sh
  826. 17
    0
      testsuite/gna/bug21513/pb.vhdl
  827. 10
    0
      testsuite/gna/bug21513/testsuite.sh
  828. 15
    0
      testsuite/gna/bug22868/Makefile
  829. 9
    0
      testsuite/gna/bug22868/NOTES
  830. 31
    0
      testsuite/gna/bug22868/fails1.vhdl
  831. 28
    0
      testsuite/gna/bug22868/fails2.vhdl
  832. 10
    0
      testsuite/gna/bug22868/testsuite.sh
  833. 39
    0
      testsuite/gna/bug22868/works.vhdl
  834. 27
    0
      testsuite/gna/bug23013/attrs.vhdl
  835. 9
    0
      testsuite/gna/bug23013/testsuite.sh
  836. 38
    0
      testsuite/gna/bug23165/mwe2/mwe.vhd
  837. 33
    0
      testsuite/gna/bug23165/mwe_failing/counter.vhd
  838. 40
    0
      testsuite/gna/bug23165/mwe_failing/mwe.vhd
  839. 33
    0
      testsuite/gna/bug23165/mwe_working/counter.vhd
  840. 45
    0
      testsuite/gna/bug23165/mwe_working/mwe.vhd
  841. 21
    0
      testsuite/gna/bug23165/testsuite.sh
  842. 8
    0
      testsuite/gna/bug23482/test1.vhdl
  843. 8
    0
      testsuite/gna/bug23482/test2.vhdl
  844. 12
    0
      testsuite/gna/bug23482/testsuite.sh
  845. 719
    0
      testsuite/gna/bug24064/er_pack.vhd
  846. 352
    0
      testsuite/gna/bug24064/pp_fir_filter.vhd
  847. 11
    0
      testsuite/gna/bug24064/testsuite.sh
  848. 201
    0
      testsuite/gna/bug24065/cic_up.vhd
  849. 9
    0
      testsuite/gna/bug24065/testsuite.sh
  850. 21
    0
      testsuite/gna/bug24324/tb_thingy1.vhdl
  851. 9
    0
      testsuite/gna/bug24324/testsuite.sh
  852. 7
    0
      testsuite/gna/bug24326/repro1.vhdl
  853. 27
    0
      testsuite/gna/bug24326/tb_thingy7.vhdl
  854. 27
    0
      testsuite/gna/bug24326/tb_thingy9.vhdl
  855. 11
    0
      testsuite/gna/bug24326/testsuite.sh
  856. 24
    0
      testsuite/gna/bug7186/bug.vhdl
  857. 9
    0
      testsuite/gna/bug7186/testsuite.sh
  858. 168
    0
      testsuite/gna/bug7751/7751_extra_tests.vhd
  859. 119
    0
      testsuite/gna/bug7751/7751_tests.vhd
  860. 13
    0
      testsuite/gna/bug7751/testsuite.sh
  861. 51
    0
      testsuite/gna/deb573721/573721_deb.vhd
  862. 9
    0
      testsuite/gna/deb573721/testsuite.sh
  863. 24
    0
      testsuite/gna/deb585748/585748_deb.vhd
  864. 10
    0
      testsuite/gna/deb585748/testsuite.sh
  865. 37
    0
      testsuite/gna/deb585750/585750_deb.vhd
  866. 10
    0
      testsuite/gna/deb585750/testsuite.sh
  867. 20
    0
      testsuite/gna/issue10/test_attr.vhdl
  868. 19
    0
      testsuite/gna/issue10/test_id.vhdl
  869. 15
    0
      testsuite/gna/issue10/testsuite.sh
  870. 2
    0
      testsuite/gna/issue103/hello.vhdl
  871. 20
    0
      testsuite/gna/issue103/testsuite.sh
  872. 29
    0
      testsuite/gna/issue106/case1.vhdl
  873. 16
    0
      testsuite/gna/issue106/ent.vhdl
  874. 16
    0
      testsuite/gna/issue106/ent1.vhdl
  875. 20
    0
      testsuite/gna/issue106/ent2.vhdl
  876. 14
    0
      testsuite/gna/issue106/ent3.vhdl
  877. 20
    0
      testsuite/gna/issue106/testsuite.sh
  878. 28
    0
      testsuite/gna/issue107/test1.vhdl
  879. 16
    0
      testsuite/gna/issue107/testpkg.vhdl
  880. 12
    0
      testsuite/gna/issue107/testsuite.sh
  881. 63
    0
      testsuite/gna/issue123/adder.vhdl
  882. 10
    0
      testsuite/gna/issue123/testsuite.sh
  883. 17
    0
      testsuite/gna/issue125/bug.vhdl
  884. 10
    0
      testsuite/gna/issue125/testsuite.sh
  885. 25
    0
      testsuite/gna/issue126/seg_fault.vhdl
  886. 13
    0
      testsuite/gna/issue126/testsuite.sh
  887. 4
    0
      testsuite/gna/issue132/repro.vhdl
  888. 11
    0
      testsuite/gna/issue132/testsuite.sh
  889. 4
    0
      testsuite/gna/issue136/arch.vhdl
  890. 3
    0
      testsuite/gna/issue136/args.resp
  891. 2
    0
      testsuite/gna/issue136/ent.vhdl
  892. 11
    0
      testsuite/gna/issue136/testsuite.sh
  893. 20
    0
      testsuite/gna/issue14/repro.vhdl
  894. 10
    0
      testsuite/gna/issue14/repro1.vhdl
  895. 14
    0
      testsuite/gna/issue14/testsuite.sh
  896. 31
    0
      testsuite/gna/issue140/OSVVM_TB.vhd
  897. 12
    0
      testsuite/gna/issue140/repro.vhdl
  898. 9
    0
      testsuite/gna/issue140/testsuite.sh
  899. 6
    0
      testsuite/gna/issue141/e.vhdl
  900. 11
    0
      testsuite/gna/issue141/testsuite.sh
  901. 8
    0
      testsuite/gna/issue143/repro.vhdl
  902. 10
    0
      testsuite/gna/issue143/testsuite.sh
  903. 24
    0
      testsuite/gna/issue143/universal_conversion_tb.vhd
  904. 10
    0
      testsuite/gna/issue144/tb.vhdl
  905. 9
    0
      testsuite/gna/issue144/testsuite.sh
  906. 8
    0
      testsuite/gna/issue147/simple.vhdl
  907. 21
    0
      testsuite/gna/issue147/testsuite.sh
  908. 17
    0
      testsuite/gna/issue148/bug_sim.vhdl
  909. 9
    0
      testsuite/gna/issue148/testsuite.sh
  910. 11
    0
      testsuite/gna/issue15/testsuite.sh
  911. 21
    0
      testsuite/gna/issue15/to_slv_issue.vhdl
  912. 19
    0
      testsuite/gna/issue150/concat2.vhdl
  913. 15
    0
      testsuite/gna/issue150/testsuite.sh
  914. 19
    0
      testsuite/gna/issue151/tb.vhdl
  915. 8
    0
      testsuite/gna/issue151/testsuite.sh
  916. 30
    0
      testsuite/gna/issue152/ax_wb_pli.vhdl
  917. 35
    0
      testsuite/gna/issue152/ax_wb_pli_c.c
  918. 29
    0
      testsuite/gna/issue152/ax_wb_pli_pkg.vhdl
  919. 12
    0
      testsuite/gna/issue152/testsuite.sh
  920. 116
    0
      testsuite/gna/issue155/failure.vhdl
  921. 8
    0
      testsuite/gna/issue155/testsuite.sh
  922. 70
    0
      testsuite/gna/issue156/compile_error.vhdl
  923. 8
    0
      testsuite/gna/issue156/testsuite.sh
  924. 19
    0
      testsuite/gna/issue158/repro.vhdl
  925. 13
    0
      testsuite/gna/issue158/testsuite.sh
  926. 28
    0
      testsuite/gna/issue160/testsuite.sh
  927. 2
    0
      testsuite/gna/issue160/top.vhdl
  928. 21
    0
      testsuite/gna/issue163/qualified_expr.vhdl
  929. 9
    0
      testsuite/gna/issue163/testsuite.sh
  930. 16
    0
      testsuite/gna/issue167/pkg1.vhdl
  931. 16
    0
      testsuite/gna/issue167/pkg2.vhdl
  932. 10
    0
      testsuite/gna/issue167/testsuite.sh
  933. 30
    0
      testsuite/gna/issue17/cond_assign_proc.vhdl
  934. 28
    0
      testsuite/gna/issue17/cond_assign_sig.vhdl
  935. 31
    0
      testsuite/gna/issue17/cond_assign_var.vhdl
  936. 17
    0
      testsuite/gna/issue17/testsuite.sh
  937. 11
    0
      testsuite/gna/issue176/t2.vhdl
  938. 21
    0
      testsuite/gna/issue176/test.vhdl
  939. 11
    0
      testsuite/gna/issue176/testsuite.sh
  940. 55
    0
      testsuite/gna/issue18/fum.vhdl
  941. 15
    0
      testsuite/gna/issue18/integer_ambig.vhdl
  942. 12
    0
      testsuite/gna/issue18/testsuite.sh
  943. 20
    0
      testsuite/gna/issue190/e.vhdl
  944. 11
    0
      testsuite/gna/issue190/testsuite.sh
  945. 20
    0
      testsuite/gna/issue191/repro.vhdl
  946. 11
    0
      testsuite/gna/issue191/testsuite.sh
  947. 30
    0
      testsuite/gna/issue199/repro.vhdl
  948. 11
    0
      testsuite/gna/issue199/testsuite.sh
  949. 15
    0
      testsuite/gna/issue2/repro.vhdl
  950. 15
    0
      testsuite/gna/issue2/repro2.vhdl
  951. 341
    0
      testsuite/gna/issue2/sortnet_BitonicSort.vhdl
  952. 131
    0
      testsuite/gna/issue2/sortnet_BitonicSort_tb.vhdl
  953. 184
    0
      testsuite/gna/issue2/sortnet_OddEvenSort.vhdl
  954. 158
    0
      testsuite/gna/issue2/sortnet_OddEvenSort_tb.vhdl
  955. 23
    0
      testsuite/gna/issue2/testsuite.sh
  956. 32
    0
      testsuite/gna/issue20/fp_write_read_issue.vhdl
  957. 12
    0
      testsuite/gna/issue20/testsuite.sh
  958. 14
    0
      testsuite/gna/issue201/repro.vhdl
  959. 11
    0
      testsuite/gna/issue201/testsuite.sh
  960. 124
    0
      testsuite/gna/issue202/ScoreboardGenericPkg.vhd
  961. 48
    0
      testsuite/gna/issue202/repro.vhdl
  962. 48
    0
      testsuite/gna/issue202/repro_err.vhdl
  963. 15
    0
      testsuite/gna/issue202/testsuite.sh
  964. 22
    0
      testsuite/gna/issue204/repro.vhdl
  965. 10
    0
      testsuite/gna/issue204/testsuite.sh
  966. 7
    0
      testsuite/gna/issue205/repro.vhdl
  967. 33
    0
      testsuite/gna/issue205/repro1.vhdl
  968. 11
    0
      testsuite/gna/issue205/testsuite.sh
  969. 91
    0
      testsuite/gna/issue207/pack.vhd
  970. 128
    0
      testsuite/gna/issue207/pack1.vhd
  971. 10
    0
      testsuite/gna/issue207/testsuite.sh
  972. 14
    0
      testsuite/gna/issue209/main.vhdl
  973. 17
    0
      testsuite/gna/issue209/main2.vhdl
  974. 12
    0
      testsuite/gna/issue209/testsuite.sh
  975. 3
    0
      testsuite/gna/issue209/util.vhdl
  976. 45
    0
      testsuite/gna/issue212/test.vhdl
  977. 9
    0
      testsuite/gna/issue212/testsuite.sh
  978. 16
    0
      testsuite/gna/issue216/repro1.vhdl
  979. 11
    0
      testsuite/gna/issue216/repro2.vhdl
  980. 9
    0
      testsuite/gna/issue216/repro3.vhdl
  981. 39
    0
      testsuite/gna/issue216/test.vhdl
  982. 16
    0
      testsuite/gna/issue216/testsuite.sh
  983. 20
    0
      testsuite/gna/issue223/repro.vhdl
  984. 9
    0
      testsuite/gna/issue223/testsuite.sh
  985. 33
    0
      testsuite/gna/issue225/repro.vhdl
  986. 41
    0
      testsuite/gna/issue225/tb.vhdl
  987. 13
    0
      testsuite/gna/issue225/testsuite.sh
  988. 21
    0
      testsuite/gna/issue227/repro.vhdl
  989. 25
    0
      testsuite/gna/issue227/test.vhdl
  990. 14
    0
      testsuite/gna/issue227/testsuite.sh
  991. 61
    0
      testsuite/gna/issue228/tb.vhdl
  992. 15
    0
      testsuite/gna/issue228/testsuite.sh
  993. 41
    0
      testsuite/gna/issue233/repro.vhdl
  994. 19
    0
      testsuite/gna/issue233/test.vhdl
  995. 13
    0
      testsuite/gna/issue233/testsuite.sh
  996. 18
    0
      testsuite/gna/issue235/test.vhdl
  997. 11
    0
      testsuite/gna/issue235/testsuite.sh
  998. 21
    0
      testsuite/gna/issue238/assign1.vhdl
  999. 18
    0
      testsuite/gna/issue238/call1.vhdl
  1000. 0
    0
      testsuite/gna/issue238/call2.vhdl

+ 9
- 0
.github/CONTRIBUTING.md View File

@@ -0,0 +1,9 @@
1
+# Contributing to GHDL
2
+
3
+GHDL is a free and open source software brought to you with :heart: by [@tgingold](https://github.com/tgingold) and [contributors](https://github.com/ghdl/ghdl/graphs/contributors). So, first off, thanks for taking the time to contribute. We need all the help we can get :thumbsup:
4
+
5
+- Found a bug? See how to [report a bug](http://ghdl.readthedocs.io/en/latest/contribute.html#reporting-bugs) and open a [Bug report](https://github.com/ghdl/ghdl/issues/new?template=bug_report.md).
6
+- Got a feature idea? See how to [request enhancements](http://ghdl.readthedocs.io/en/latest/contribute.html#requesting-enhancements) and open a [Feature request](https://github.com/ghdl/ghdl/issues/new?template=feature_request.md).
7
+- Want to contribute modifications to the codebase? See how to [contribute modifications](http://ghdl.readthedocs.io/en/latest/contribute.html#fork-modify-and-pull-request) and open a [Pull Request (PR)](https://github.com/ghdl/ghdl/compare/).
8
+- Spread the word. Talk to your friends and colleagues about how awesome GHDL is!
9
+- If you want to have any specific talk, e.g. add VHDL design examples, come to [gitter.im/ghdl1/Lobby](https://gitter.im/ghdl1/Lobby).

+ 60
- 0
.github/ISSUE_TEMPLATE/bug_report.md View File

@@ -0,0 +1,60 @@
1
+---
2
+name: Bug report
3
+about: Create a report to help us improve
4
+---
5
+
6
+**Description**
7
+A clear and concise description of what the issue is about.
8
+
9
+**Expected behaviour**
10
+What you expected to happen, and what is happening instead.
11
+
12
+**Context**
13
+Please paste the `GHDL Bug occurred` log block here. Also, provide the following information:
14
+
15
+- OS:
16
+- Origin:
17
+  - [ ] Package manager. Repo:
18
+  - [ ] Released binaries. Tarball:
19
+  - [ ] Built from sources. Commit SHA:
20
+
21
+**Additional context**
22
+Add any other context about the problem here. If applicable, add screenshots to help explain your problem.
23
+
24
+**How to reproduce?**
25
+Tell us how to reproduce this issue. Please provide a Minimal Working Example (MWE), that is compatible with [issue-runner](https://github.com/1138-4EB/issue-runner). With sample code it's easier to reproduce the bug and it's much faster to fix it. For example:
26
+
27
+```
28
+#>> ent.vhd
29
+entity ent is
30
+end entity;
31
+
32
+architecture a of ent is
33
+begin
34
+  process begin
35
+    report "Hello world" severity note;
36
+    wait;
37
+  end process;
38
+end;
39
+
40
+#>> sim.sh
41
+ghdl -a ent.vhd
42
+ghdl --elab-run ent
43
+
44
+#>> run.sh
45
+docker run --rm -tv /$(pwd):/src:z -w //src ghdl/ghdl:buster-mcode sh -c ./sim.sh
46
+
47
+#>> end
48
+```
49
+
50
+Note that `run.sh` is used to execute `sim.sh` inside a docker container. Please, put your commands in `sim.sh` and just copy `run.sh` from the example. Using `ghdl/ghdl:*` docker images to run the MWEs ensures that the latest available GHDL is used.
51
+
52
+**Files**
53
+A list of relevant files for this issue. Large files can be uploaded one-by-one or in a tarball/zipfile. See [1138-4EB/issue-runner#parser](https://github.com/1138-4EB/issue-runner#parser).
54
+
55
+**Checklist**
56
+Before submitting your issue, please review the following checklist:
57
+
58
+- [ ] Add `GHDL Bug occurred` log block
59
+- [ ] Add a MWE
60
+- [ ] Try the latest version

+ 16
- 0
.github/ISSUE_TEMPLATE/feature_request.md View File

@@ -0,0 +1,16 @@
1
+---
2
+name: Feature request
3
+about: Suggest an idea for this project
4
+---
5
+
6
+**Is your feature request related to a problem? Please describe.**
7
+Add a clear and concise description of what the problem is. E.g. *I'm always frustrated when [...]*
8
+
9
+**Describe the solution you'd like**
10
+Add a clear and concise description of what you want to happen.
11
+
12
+**Describe alternatives you've considered**
13
+Add a clear and concise description of any alternative solutions or features you've considered.
14
+
15
+**Additional context**
16
+Add any other context or screenshots about the feature request here.

+ 26
- 0
.github/PULL_REQUEST_TEMPLATE.md View File

@@ -0,0 +1,26 @@
1
+**Description** Please explain the changes you made here.
2
+If the feature changes current behaviour, explain why your solution is better.
3
+
4
+:rotating_light: Before submitting your PR, please read [contribute](http://ghdl.readthedocs.io/en/latest/contribute.html#fork-modify-and-pull-request) in the [Docs](http://ghdl.readthedocs.io/en/latest/index.html), and review the following checklist:
5
+
6
+- [ ] DO indicate which issues are either fixed or closed by this PR. See [GitHub Help: Closing issues using keywords](https://help.github.com/articles/closing-issues-via-commit-messages/).
7
+
8
+**When contributing to the GHDL codebase...**
9
+
10
+- [ ] DO make sure you are requesting to **pull a topic/feature/bugfix branch** (right side). Don't request your master!
11
+- [ ] DO make sure you are making a pull request against the **master branch** (left side). Also you should start *your branch* off *our master*.
12
+- [ ] DO make sure that GHDL can be successfully built. See [Building GHDL](https://github.com/ghdl/ghdl#building-ghdl).
13
+- [ ] CONSIDER adding a unit test if your PR resolves an issue.
14
+- [ ] CONSIDER modifying the docs, at least in the TODO, if your contribution is relevant to any of the content.
15
+- [ ] AVOID breaking the continuous integration build.
16
+- [ ] AVOID breaking the testsuite.
17
+
18
+**When contributing to the docs...**
19
+
20
+- [ ] DO make sure that the build is successful. See [ghdl/ghdl#572 (issuecomment-390466024)](https://github.com/ghdl/ghdl/issues/572#issuecomment-390466024).
21
+
22
+**Further comments**
23
+
24
+If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did, what alternatives you considered, etc.
25
+
26
+:heart: Thank you!

+ 19
- 42
.travis.yml View File

@@ -8,33 +8,13 @@ sudo: required
8 8
 services: docker
9 9
 language: minimal
10 10
 install: skip
11
-script: "./dist/linux/travis-ci.sh"
11
+script: "./dist/travis/travis-ci.sh"
12 12
 
13 13
 addons:
14 14
   apt:
15 15
     packages:
16 16
       - docker-ce
17 17
 
18
-deploy:
19
-  - &deploy-docker
20
-    provider: script
21
-    skip_cleanup: true
22
-    script: ./dist/linux/deploy2dockerhub.sh "$IMAGE" "$TRAVIS_COMMIT_MESSAGE"
23
-    on:
24
-      repo: 1138-4EB/ghdl
25
-      branch: master
26
-  - &deploy-releases
27
-    provider: releases
28
-    skip_cleanup: true
29
-    api_key:
30
-      secure: ji6LXOmD5V2N+ELHZr4oJsmxPhedk+8W6jfCqQdEbewQ42N+fKOq3lgqJni7ZdfpZaulB9OHPTApv3bwOjXjtN9rfBGmq//U9CwvzHmUeomdQv6WQOVevaWSXl3DNL9fk3yKynyFrsv4pvr45L8GIjaHLggKcYhNFPJ2rrnJlDoFT9MqQNpmP7Bg/LnwVQiv+ZDPkLlMWQzrXzLamdQILARPQka+kCdXl/sHH6OKvLgRvu9yvyXYSSfbyAHP+THISS5gDciizSBeWGlU75kgj/N+mkV+8NvtTTfEIgG8y49WJz6aBooTmRzk/jZW1dKMbDR6c5bpTmRvMZSzeSBuAR6WLhr6HevgCPi/1fX1y3pkVSrgBUF5KcxPgWCZp0I05QjaJOdvQDl1hH4TlVwpT18lM2+cWrui9fS7spnk/AuNKX882C5QWWRy28lIPasCVnwfeKX8a9KAwY9OqVOenoLC1yx7NJOGfH1bjuSYYxyR4XgLiGTHKALAuknCyD9QL0o378IwqxHMcsN0Gsd+GndMu0/b8GvSqfzDpV1XknqabQFwkZLs+Yydw0snfBUzXw9TfOk78IiPYEgXAxsQKBAkK7qvO36HIxLlSQXglXU1D4IDtQYDUel6vKll4pgu0WMxStQCbj51yDVJKvRhzwiBNC6Pwgzt2JTrpwM/T/U=
31
-    file: "ghdl-*.tgz"
32
-    file_glob: true
33
-    on:
34
-      repo: ghdl/ghdl
35
-      all_branches: true
36
-      tags: true
37
-
38 18
 # For each linux build, a different job/instance (with the constraints
39 19
 # above) is executed in parallel in stage 'test'.
40 20
 env:
@@ -45,38 +25,35 @@ env:
45 25
 #    - IMAGE=buster+mcode+gpl
46 26
     - IMAGE=ubuntu14+mcode
47 27
     - IMAGE=ubuntu14+llvm-3.8
48
-#    - IMAGE=ubuntu16+mcode
49
-#    - IMAGE=ubuntu16+llvm-3.9
50 28
 #    - IMAGE=ubuntu18+mcode
51 29
 #    - IMAGE=ubuntu18+llvm-5.0
52
-    - IMAGE=fedora26+mcode
53
-#    - IMAGE=fedora26+llvm
54
-  global:
55
-    - secure: "MZHtYkWdYK+SeYzJvWD8I0tbkdHGjmWyNDn70a2RrNYFu363Zt51ZvksEtkjrS7kdje6l6VPfLjilX5UtywIM1Mg6nt/rsw4p62+bGhMyhfXiqS3eqEfH2sThjosy773X8iotm2sW0ax0oHX07ZLcuTbZ+TK2cMGarZ+LzNT8IiMaeaWu4W7aE5LRxSmVRwcACUOa3NiC7GY/qC7vU2C8QNdXSlU3fSp17K5eccrkkBuiEhRTsdr3ZIhjOjrYzqHKWC3a0uHn/fJsbepsVM6FGt+zAwo0VqdXXCE2ts8EOATvFgEaCGxUgfGd/yvNsAG7sjF3nweR9Z11dpMbBE+TjxlLCXQ31v1Oj7pH6vcgjCYV69cZiLbsDhxTJFQ08qbm3xK8dmTUXFy1scrMSd8D/Q3Uf0LjHkH5Q5dL8TOyqejs57fUTIBtBUpCTvvGOErdZQAOWJc93sC9RQB7BuCDR2yR7rPTJr4KUwspe1uScA/H9cQS2p42SeJ4+Yyjtwod3IQWjr6+/pdNPoImleOP0dXSDCXpAIsbv6TR9curS3geLJuTmu5UnLzbURDr7Whtop3lCPbiN0H9jThSuyIxWUI+6JDGDG89RXbCyZvGz97sIShYstWg0U0xLWmw9IDez2HtK5VKuTT/hE7gDicZ0erN6r1dlix3SpuCtH1MlA=" #U
56
-    - secure: "kIA09oCHzoHMK4LsfwcaVaMuoAFpd1M+M8tW3b9Rvki/hEB3y46edlb88lWVM7RgkNoCaIPwAZD7Wf3Xiq9Y7wWmqRsWQNRaorC0xke5SuyMwCSQSNo9S5jAu9SM5uxENCH9yucJl/vm2juYitJCHyYYMb4x17fy3sHKULNJ+JBqnrgOuTBYM1JOIkJVO1P5LqEXmqTtr6KgQgiTMtlvnM7hxjapgoyM3J1376f+Kfky0hUoDD7LFLXu8yQCn5Fnar8wR3czK6Qknafmckt5yWJxGOZobMDfKwOdA0fpU+XiArNQ/1NM80fGXq4YOGK5ycVQkO2ACxDqHYfQRYLlIfrUGp75BoXWwN6O1GoOrFcF7ZIoSaLoK3hZdvzRFT7dpUQFlosn00Y7VzqbosQM5QS5TBBqO+DExnkb399OpXI7o0lrlr232kjAeYqEb6N1n3M9BpiNW9Je4plJa/RDKwYsnC8Qak4G08PVTe6V711W1UtqMPd6efWFYTNvRW9tjO3v1lFGaGJ99ABP0AYLIDYWV3zfgvp0UzQOKFdWJj7dMQxdLMQ/bIETKn8P7NFjOWic4pgtp3zekZCL27blhc0fyHm62HUiVLT+VGFOI/nyclzBIZStSVuxPj2LvmAIiMnUNmWwds1ZqIZ21eiNykkn+k52ddTRHXIh2fhvWfg=" #P
30
+    - IMAGE=fedora28+mcode
31
+    - IMAGE=fedora28+llvm
57 32
 
58
-stages:
59
-  - create ghdl/build and ghdl/run images
60
-  - test
33
+deploy:
34
+  provider: releases
35
+  skip_cleanup: true
36
+  api_key:
37
+    secure: ji6LXOmD5V2N+ELHZr4oJsmxPhedk+8W6jfCqQdEbewQ42N+fKOq3lgqJni7ZdfpZaulB9OHPTApv3bwOjXjtN9rfBGmq//U9CwvzHmUeomdQv6WQOVevaWSXl3DNL9fk3yKynyFrsv4pvr45L8GIjaHLggKcYhNFPJ2rrnJlDoFT9MqQNpmP7Bg/LnwVQiv+ZDPkLlMWQzrXzLamdQILARPQka+kCdXl/sHH6OKvLgRvu9yvyXYSSfbyAHP+THISS5gDciizSBeWGlU75kgj/N+mkV+8NvtTTfEIgG8y49WJz6aBooTmRzk/jZW1dKMbDR6c5bpTmRvMZSzeSBuAR6WLhr6HevgCPi/1fX1y3pkVSrgBUF5KcxPgWCZp0I05QjaJOdvQDl1hH4TlVwpT18lM2+cWrui9fS7spnk/AuNKX882C5QWWRy28lIPasCVnwfeKX8a9KAwY9OqVOenoLC1yx7NJOGfH1bjuSYYxyR4XgLiGTHKALAuknCyD9QL0o378IwqxHMcsN0Gsd+GndMu0/b8GvSqfzDpV1XknqabQFwkZLs+Yydw0snfBUzXw9TfOk78IiPYEgXAxsQKBAkK7qvO36HIxLlSQXglXU1D4IDtQYDUel6vKll4pgu0WMxStQCbj51yDVJKvRhzwiBNC6Pwgzt2JTrpwM/T/U=
38
+  file: "ghdl-*.tgz"
39
+  file_glob: true
40
+  on:
41
+    repo: ghdl/ghdl
42
+    all_branches: true
43
+    tags: true
61 44
 
62 45
 jobs:
63 46
   include:
64
-    # A single job is described in its own stage, to create and push ghdl/build and ghdl/run images.
65
-    - stage: create ghdl/build and ghdl/run images
66
-      env: IMAGE=""
67
-      script: if echo "$TRAVIS_COMMIT_MESSAGE" | grep -F -q "[ci images]"; then ./dist/linux/create.sh; fi;
68
-      deploy:
69
-        - <<: *deploy-docker
70
-    # A single additional job is described in stage 'test' for the macos build.
47
+    # Additional jobs are described in stage 'test' for the macos build.
71 48
     # The constraints above are used, except explicitly overriden.
72
-    - stage: test
49
+    - &osx
73 50
       os: osx
74 51
       language: c
75
-      osx_image: xcode7.3
52
+      osx_image: xcode9.3
76 53
       install: true
77 54
       cache:
78 55
         directories:
79 56
           - gnat
80 57
       env: IMAGE=macosx+mcode
81
-      deploy:
82
-        - <<: *deploy-releases
58
+#    - <<: *osx
59
+#      osx_image: xcode8.3

+ 0
- 3
CONTRIBUTING View File

@@ -1,3 +0,0 @@
1
-First off, thanks for taking the time to contribute!
2
-
3
-Either to [report a bug](http://ghdl.readthedocs.io/en/doc-gcc/contribute.html#reporting-bugs), [request enhancements](http://ghdl.readthedocs.io/en/doc-gcc/contribute.html#requesting-enhancements) or to [contribute modifications](http://ghdl.readthedocs.io/en/doc-gcc/contribute.html#fork-modify-and-pull-request), please read [Contributing](http://ghdl.readthedocs.io/en/doc-gcc/contribute.html) in the [Docs](http://ghdl.readthedocs.io/en/doc-gcc/index.html).

+ 18
- 14
Makefile.in View File

@@ -79,7 +79,7 @@ ifeq "$(build_mode)" "coverage"
79 79
 OPT_FLAGS+=-fprofile-arcs -ftest-coverage
80 80
 endif
81 81
 
82
-GNATFLAGS=-gnaty3befhkmr -gnatwa -gnatf -gnat05 $(OPT_FLAGS) $(ADA_FLAGS)
82
+GNATFLAGS=-gnaty3befhkmr -gnatwa -gnatf $(OPT_FLAGS) $(ADA_FLAGS)
83 83
 GRT_FLAGS=$(OPT_FLAGS)
84 84
 
85 85
 WARN_CFLAGS=-Wall
@@ -184,7 +184,7 @@ install.mcode: install.mcode.program install.vhdllib install.vpi
184 184
 oread-mcode$(EXEEXT): force
185 185
 	$(MAKE) -f $(srcdir)/src/ortho/mcode/Makefile \
186 186
 	 ortho_srcdir=$(srcdir)/src/ortho ortho_exec=$@ \
187
-	 GNAT_FLAGS="-aI$(srcdir)/src/ortho/oread $(GNATFLAGS)" all
187
+	 GNATFLAGS="-aI$(srcdir)/src/ortho/oread $(GNATFLAGS)" all
188 188
 
189 189
 #################### For gcc backend ##############################
190 190
 
@@ -217,8 +217,9 @@ copy-sources.gcc: version.ads
217 217
 	 5.*)      gcc_ortho_lang=ortho-lang-5.c ;; \
218 218
 	 6 | 6.*)  gcc_ortho_lang=ortho-lang-6.c ;; \
219 219
 	 7.*)      gcc_ortho_lang=ortho-lang-7.c ;; \
220
+	 8.*)      gcc_ortho_lang=ortho-lang-8.c ;; \
220 221
 	 *) echo "Mismatch gcc version from $(gcc_src_dir)"; \
221
-	    echo "Need gcc version 4.9.x, 5.x, 6.x or 7.x"; \
222
+	    echo "Need gcc version 4.9.x, 5.x, 6.x, 7.x or 8.x"; \
222 223
 	    exit 1 ;; \
223 224
 	esac; \
224 225
 	$(CP) -p $(srcdir)/src/ortho/gcc/$$gcc_ortho_lang \
@@ -250,7 +251,7 @@ GHDL_GCC_INCFLAGS=$(GHDL_COMMON_INCFLAGS)
250 251
 ghdl1-gcc$(EXEEXT): version.ads force
251 252
 	$(MAKE) -f $(srcdir)/src/ortho/gcc/Makefile \
252 253
 	 ortho_srcdir=$(srcdir)/src/ortho ortho_exec=$@ \
253
-	 GNAT_FLAGS="$(GHDL_GCC_INCFLAGS) $(GNATFLAGS)" all
254
+	 GNATFLAGS="$(GHDL_GCC_INCFLAGS) $(GNATFLAGS)" all
254 255
 
255 256
 ghdl_gcc$(EXEEXT): version.ads force
256 257
 	$(GNATMAKE) $(GHDL_GCC_INCFLAGS) -aI$(srcdir)/src/ghdldrv \
@@ -262,13 +263,13 @@ libs.vhdl.local_gcc: ghdl_gcc$(EXEEXT) ghdl1-gcc$(EXEEXT)
262 263
 ghdl1-debug$(EXEEXT): version.ads force
263 264
 	$(MAKE) -f $(srcdir)/src/ortho/debug/Makefile \
264 265
 	 ortho_srcdir=$(srcdir)/src/ortho ortho_exec=$@ \
265
-	 GNAT_FLAGS="$(GHDL_GCC_INCFLAGS) $(GNATFLAGS)" \
266
+	 GNATFLAGS="$(GHDL_GCC_INCFLAGS) $(GNATFLAGS)" \
266 267
 	 GNATMAKE="$(GNATMAKE)" all
267 268
 
268 269
 oread-gcc$(EXEEXT): force
269 270
 	$(MAKE) -f $(srcdir)/src/ortho/gcc/Makefile \
270 271
 	 ortho_srcdir=$(srcdir)/src/ortho ortho_exec=$@ \
271
-	 GNAT_FLAGS="-aI$(srcdir)/src/ortho/oread $(GNATFLAGS)" all
272
+	 GNATFLAGS="-aI$(srcdir)/src/ortho/oread $(GNATFLAGS)" all
272 273
 
273 274
 #################### For llvm backend ##############################
274 275
 
@@ -296,6 +297,9 @@ libs.vhdl.llvmjit: ghdl_llvm_jit$(EXEEXT)
296 297
 libs.vhdl.llvm: ghdl_llvm$(EXEEXT) ghdl1-llvm$(EXEEXT)
297 298
 	$(MAKE) -f $(srcdir)/libraries/Makefile.inc $(LIBVHDL_FLAGS_TO_PASS) GHDL=$(PWD)/ghdl_llvm$(EXEEXT) GHDL_FLAGS="--GHDL1=$(PWD)/ghdl1-llvm$(EXEEXT) $(LIB_CFLAGS)" vhdl.libs.all libs.vhdl.standard
298 299
 
300
+libs.vhdl.debug-llvm: ghdl_llvm$(EXEEXT) ghdl1-debug$(EXEEXT)
301
+	$(MAKE) -f $(srcdir)/libraries/Makefile.inc $(LIBVHDL_FLAGS_TO_PASS) GHDL=$(PWD)/ghdl_llvm$(EXEEXT) GHDL_FLAGS="--GHDL1=$(PWD)/ghdl1-debug$(EXEEXT) $(LIB_CFLAGS)" vhdl.libs.all libs.vhdl.standard
302
+
299 303
 ghdl_llvm$(EXEEXT): version.ads force
300 304
 	$(GNATMAKE) $(GHDL_LLVM_INCFLAGS) -aI$(srcdir)/src/ghdldrv $(GNATFLAGS)\
301 305
 	 ghdl_llvm $(GNAT_BARGS) -largs $(LDFLAGS) $(GNAT_LARGS)
@@ -303,7 +307,7 @@ ghdl_llvm$(EXEEXT): version.ads force
303 307
 ghdl1-llvm$(EXEEXT): version.ads force
304 308
 	$(MAKE) -f $(srcdir)/src/ortho/$(llvm_be)/Makefile \
305 309
 	 ortho_srcdir=$(srcdir)/src/ortho ortho_exec=$@ \
306
-	 GNAT_FLAGS="$(GHDL_LLVM_INCFLAGS) $(GNATFLAGS)" LDFLAGS="$(LDFLAGS)" \
310
+	 GNATFLAGS="$(GHDL_LLVM_INCFLAGS) $(GNATFLAGS)" LDFLAGS="$(LDFLAGS)" \
307 311
 	 LLVM_CONFIG="$(LLVM_CONFIG)" CXX="$(CXX)" GNATMAKE="$(GNATMAKE)" \
308 312
 	 all
309 313
 
@@ -311,7 +315,7 @@ oread-llvm$(EXEEXT): force
311 315
 	$(MAKE) -f $(srcdir)/src/ortho/$(llvm_be)/Makefile \
312 316
 	 ortho_srcdir=$(srcdir)/src/ortho ortho_exec=$@ \
313 317
 	 GNATMAKE="$(GNATMAKE)" \
314
-	 GNAT_FLAGS="-aI$(srcdir)/src/ortho/oread $(GNATFLAGS)" \
318
+	 GNATFLAGS="-aI$(srcdir)/src/ortho/oread $(GNATFLAGS)" \
315 319
 	 LLVM_CONFIG="$(LLVM_CONFIG)" CXX="$(CXX)"
316 320
 
317 321
 install.llvm.program: install.dirs ghdl1-llvm$(EXEEXT) ghdl_llvm$(EXEEXT)
@@ -343,7 +347,7 @@ LIBGHDL_INCFLAGS=$(GHDL_COMMON_INCFLAGS) -aI$(srcdir)/src/vhdl/python -aI$(srcdi
343 347
 libghdl_name=libghdl-$(libghdl_version)$(SOEXT)
344 348
 
345 349
 $(libghdl_name): $(GRT_SRC_DEPS) version.ads force
346
-	$(GNATMAKE) -I- -aI. -D pic -z libghdl -o $@ $(GNATFLAGS) $(PIC_FLAGS) -gnat05 $(LIBGHDL_INCFLAGS) -bargs -shared -Llibghdl_ -largs -shared $(SHLIB_FLAGS)
350
+	$(GNATMAKE) -I- -aI. -D pic -z libghdl -o $@ $(GNATFLAGS) $(PIC_FLAGS) $(LIBGHDL_INCFLAGS) -bargs -shared -Llibghdl_ -largs -shared $(SHLIB_FLAGS)
347 351
 
348 352
 all.libghdl.true: $(libghdl_name)
349 353
 all.libghdl.false:
@@ -375,7 +379,7 @@ install.libghdlsynth.static: libghdlsynth.a install.libghdlsynth.include
375 379
 	$(INSTALL_DATA) -p ghdlsynth.link $(DESTDIR)$(libdir)/
376 380
 
377 381
 install.libghdlsynth.shared: libghdlsynth$(SOEXT) install.libghdlsynth.include
378
-	$(INSTALL_DATA) -p libghdlsynth$(SOEXT) $(DESTDIR)$(libdir)/
382
+	$(INSTALL_PROGRAM) -p libghdlsynth$(SOEXT) $(DESTDIR)$(libdir)/
379 383
 
380 384
 ################ ghwdump #################################################
381 385
 
@@ -411,20 +415,20 @@ libghdlvpi$(SOEXT): vpi_thunk.o
411 415
 all.vpi: libghdlvpi$(SOEXT)
412 416
 
413 417
 install.vpi: all.vpi install.dirs
414
-	$(INSTALL_DATA) -p libghdlvpi$(SOEXT) $(DESTDIR)$(libdir)/
418
+	$(INSTALL_PROGRAM) -p libghdlvpi$(SOEXT) $(DESTDIR)$(libdir)/
415 419
 	$(INSTALL_DATA) -p $(GRTSRCDIR)/vpi_user.h $(DESTDIR)$(incdir)/
416 420
 
417 421
 install.vpi.local: all.vpi
418 422
 	$(MKDIR) -p include lib
419 423
 	$(INSTALL_DATA) -p $(GRTSRCDIR)/vpi_user.h include/
420
-	$(INSTALL_DATA) -p libghdlvpi$(SOEXT) lib/
424
+	$(INSTALL_PROGRAM) -p libghdlvpi$(SOEXT) lib/
421 425
 
422 426
 ################ Libraries ###############################################
423 427
 
424 428
 LIBSRC_DIR:=$(srcdir)/libraries
425 429
 LIBDST_DIR:=$(libdirsuffix)
426 430
 
427
-VHDLLIB_SUBDIRS_COMMON= src/std src/synopsys src/openieee \
431
+VHDLLIB_SUBDIRS_COMMON= src/std src/synopsys \
428 432
   std/v87 ieee/v87 synopsys/v87 \
429 433
   std/v93 ieee/v93 synopsys/v93 \
430 434
   std/v08
@@ -436,7 +440,7 @@ VHDLLIB_SUBDIRS_FULL= src/ieee src/vital95 src/vital2000 src/mentor \
436 440
 ifeq ($(enable_openieee),false)
437 441
 VHDLLIB_SUBDIRS=$(VHDLLIB_SUBDIRS_COMMON) $(VHDLLIB_SUBDIRS_FULL)
438 442
 else
439
-VHDLLIB_SUBDIRS=$(VHDLLIB_SUBDIRS_COMMON)
443
+VHDLLIB_SUBDIRS=$(VHDLLIB_SUBDIRS_COMMON) src/openieee
440 444
 endif
441 445
 
442 446
 install.dirs:

+ 37
- 35
configure View File

@@ -124,9 +124,10 @@ case $srcdir in
124 124
     *)
125 125
         # Use a Windows path on windows.
126 126
         case "$OS" in
127
-            Windows_NT) abs_srcdir="`pwd -W`/$srcdir" ;;
128
-            *) abs_srcdir=`pwd`/$srcdir ;;
127
+            Windows_NT) curdir=`pwd -W 2>/dev/null || pwd` ;;
128
+            *) curdir=`pwd` ;;
129 129
         esac
130
+        abs_srcdir=$curdir/$srcdir
130 131
         ;;
131 132
 esac
132 133
 
@@ -213,43 +214,45 @@ fi
213 214
 
214 215
 # For llvm backend, check llvm-config
215 216
 if test $backend = llvm; then
216
-    llvm_version=`"$llvm_config" --version 2>/dev/null`
217
-    if [ $? != 0 ]; then
218
-	echo "cannot run $llvm_config"
219
-	exit 1
220
-    fi
221
-    if check_version 3.5 $llvm_version; then
222
-	llvm_be=llvm
223
-    elif check_version 3.6 $llvm_version ||
224
-	 check_version 3.7 $llvm_version ||
225
-         check_version 3.8 $llvm_version;
226
-    then
227
-	echo "Debugging is not enabled with llvm $llvm_version"
228
-	llvm_be=llvm-nodebug
217
+	llvm_version=`"$llvm_config" --version 2>/dev/null`
218
+	if [ $? != 0 ]; then
219
+		echo "cannot run $llvm_config"
220
+		exit 1
221
+	fi
222
+	if check_version 3.5 $llvm_version; then
223
+		llvm_be=llvm
224
+	elif check_version 3.6 $llvm_version ||
225
+	     check_version 3.7 $llvm_version ||
226
+	     check_version 3.8 $llvm_version ||
227
+	     false; then
228
+		echo "Debugging is not enabled with llvm $llvm_version"
229
+		llvm_be=llvm-nodebug
229 230
 	# Tested with llvm 3.5, so assume 3.6, 3.7 and 3.8
230
-    elif check_version 3.9 $llvm_version ||
231
-	 check_version 4.0 $llvm_version ||
232
-	 check_version 5.0 $llvm_version ||
233
-	 check_version 6.0 $llvm_version ||
234
-	 false; then
235
-	echo "Debugging is not enabled with llvm $llvm_version"
236
-	llvm_be=llvm4-nodebug
237
-    else
238
-	echo "Unhandled version llvm $llvm_version"
239
-	exit 1
240
-    fi
241
-    # For llvm, the c++ compiler is used for linking so that the standard c++
242
-    # library is included.  However, the linker needs the no_compact_unwind
243
-    # flag because code generated by gcc is not compatible with compact unwind.
244
-    case "$build" in
245
-	*darwin*) LDFLAGS="$LDFLAGS -Wl,-no_compact_unwind" ;;
246
-    esac
231
+	elif check_version 3.9 $llvm_version ||
232
+	     check_version 4.0 $llvm_version ||
233
+	     check_version 5.0 $llvm_version ||
234
+	     check_version 6.0 $llvm_version ||
235
+	     check_version 7.0 $llvm_version ||
236
+	     false; then
237
+		echo "Debugging is not enabled with llvm $llvm_version"
238
+		llvm_be=llvm4-nodebug
239
+	else
240
+		echo "Unhandled version llvm $llvm_version"
241
+		exit 1
242
+	fi
243
+	# For llvm, the c++ compiler is used for linking so that the standard c++
244
+	# library is included.  However, the linker needs the no_compact_unwind
245
+	# flag because code generated by gcc is not compatible with compact unwind.
246
+	case "$build" in
247
+		*darwin*) LDFLAGS="$LDFLAGS -Wl,-no_compact_unwind" ;;
248
+	esac
247 249
 fi
248 250
 
249 251
 # Define default file extensions for Windows or Linux-like systems and
250 252
 # use -fPIC or not.
251 253
 case "$build" in
252
-    *mingw*)  SOEXT=".dll";   EXEEXT=".exe"; PIC_FLAGS="";;
254
+    *mingw* | *cygwin*)
255
+              SOEXT=".dll";   EXEEXT=".exe"; PIC_FLAGS="";;
253 256
     *darwin*) SOEXT=".dylib"; EXEEXT="";     PIC_FLAGS="";;
254 257
     *)        SOEXT=".so";    EXEEXT="";     PIC_FLAGS="-fPIC";;
255 258
 esac
@@ -346,11 +349,10 @@ fi
346 349
 # Also update dist/windows/mcode/default_paths.ads if you change this
347 350
 # template.
348 351
 echo "Generate default_paths.ads"
349
-curdir=`pwd`
350 352
 sed -e "s%@COMPILER_GCC@%ghdl1-gcc$EXEEXT%" \
351 353
     -e "s%@COMPILER_DEBUG@%ghdl1-debug$EXEEXT%" \
352 354
     -e "s%@COMPILER_MCODE@%ghdl1-mcode$EXEEXT%" \
353
-    -e "s%@COMPILER_LLVM@%bin/ghdl1-llvm$EXEEXT%" \
355
+    -e "s%@COMPILER_LLVM@%ghdl1-llvm$EXEEXT%" \
354 356
     -e "s%@POST_PROCESSOR@%oread-$backend%" \
355 357
     -e "s%@INSTALL_PREFIX@%$prefix%" \
356 358
     -e "s%@LIB_PREFIX@%$libdirsuffix%" \

+ 1
- 1
dist/gcc/Make-lang.in View File

@@ -41,7 +41,7 @@ RM = rm -f
41 41
 
42 42
 
43 43
 # Extra flags to pass to recursive makes.
44
-GHDL_ADAFLAGS=-gnata -gnat05 -gnaty3befhkmr -gnatwae
44
+GHDL_ADAFLAGS=-gnata -gnaty3befhkmr -gnatwae
45 45
 GNATBIND = gnatbind
46 46
 GNATMAKE = gnatmake
47 47
 

+ 0
- 24
dist/linux/create.sh View File

@@ -1,24 +0,0 @@
1
-#! /bin/sh
2
-# This script is executed in the travis-ci environment.
3
-
4
-set -e
5
-
6
-. dist/linux/travis-utils.sh
7
-. dist/ansi_color.sh
8
-#disable_color
9
-
10
-scriptdir=$(dirname $0)
11
-
12
-for d in build run; do
13
-    currentdir="${scriptdir}/docker/$d"
14
-    for f in `ls $currentdir`; do
15
-        for tag in `grep -oP "FROM.*AS \K.*" ${currentdir}/$f`; do
16
-            echo "travis_fold:start:${f}-$tag"
17
-            travis_time_start
18
-            printf "$ANSI_BLUE[DOCKER build] ${d} : ${f} - ${tag}$ANSI_NOCOLOR\n"
19
-            docker build -t ghdl/${d}:${f}-${tag} --target $tag - < ${currentdir}/$f
20
-            travis_time_finish
21
-            echo "travis_fold:end:${f}-$tag"
22
-        done
23
-    done
24
-done

+ 0
- 32
dist/linux/deploy2dockerhub.sh View File

@@ -1,32 +0,0 @@
1
-#! /bin/sh
2
-
3
-set -e
4
-
5
-. dist/linux/travis-utils.sh
6
-. dist/ansi_color.sh
7
-#disable_color
8
-
9
-# Skip deploy if we are in stage 0 (i.e. IMAGE="") and there is no '[ci images]' in the commit message
10
-if [ "$1" = "skip" ] || [ "${1}$(echo $2 | grep -o '\[ci images\]')" = "" ]; then
11
-    printf "${ANSI_GREEN}SKIP DEPLOY2DOCKERHUB$ANSI_NOCOLOR\n";
12
-    exit 0;
13
-fi
14
-
15
-case $1 in
16
-  "")    FILTER="/";;
17
-  *)     FILTER="/ghdl /pkg";;
18
-esac
19
-
20
-docker login -u="$DOCKER_USER" -p="$DOCKER_PASS"
21
-for key in $FILTER; do
22
-  for tag in `echo $(docker images ghdl$key* | awk -F ' ' '{print $1 ":" $2}') | cut -d ' ' -f2-`; do
23
-      if [ "$tag" = "REPOSITORY:TAG" ]; then break; fi
24
-      echo "travis_fold:start:`echo $tag | grep -oP 'ghdl/\K.*'`"
25
-      travis_time_start
26
-      printf "$ANSI_YELLOW[DOCKER push] ${tag}$ANSI_NOCOLOR\n"
27
-      docker push $tag
28
-      travis_time_finish
29
-      echo "travis_fold:end:`echo $tag | grep -oP 'ghdl/\K.*'`"
30
-  done
31
-done
32
-docker logout

+ 0
- 11
dist/linux/docker/build/buster View File

@@ -1,11 +0,0 @@
1
-# [build] Debian 10
2
-
3
-FROM debian:buster-slim AS mcode
4
-
5
-RUN apt-get update -qq \
6
-  && apt-get -y install --no-install-recommends \
7
-            gnat gcc make zlib1g-dev \
8
-  && apt-get autoclean && apt-get clean && apt-get autoremove
9
-
10
-
11
-FROM mcode AS mcode-gpl

+ 0
- 12
dist/linux/docker/build/fedora26 View File

@@ -1,12 +0,0 @@
1
-# [build] Fedora 26
2
-
3
-FROM fedora:26 AS mcode
4
-
5
-RUN dnf --nodocs -y install gcc-gnat zlib-devel make \
6
-  && dnf clean all --enablerepo=\*
7
-
8
-
9
-FROM mcode AS llvm
10
-
11
-RUN dnf --nodocs -y install llvm-devel gcc-c++ clang \
12
-    && dnf clean all --enablerepo=\*

+ 0
- 11
dist/linux/docker/build/stretch View File

@@ -1,11 +0,0 @@
1
-# [build] Debian 9
2
-
3
-FROM debian:stretch-slim AS mcode
4
-
5
-RUN apt-get update -qq \
6
-  && apt-get -y install --no-install-recommends \
7
-            gnat gcc make zlib1g-dev \
8
-  && apt-get autoclean && apt-get clean && apt-get autoremove
9
-
10
-
11
-FROM mcode AS mcode-gpl

+ 0
- 16
dist/linux/docker/build/ubuntu14 View File

@@ -1,16 +0,0 @@
1
-# [build] Ubuntu 14
2
-
3
-FROM ubuntu:trusty AS mcode
4
-
5
-RUN apt-get update -qq \
6
-  && apt-get -y install --no-install-recommends \
7
-            gnat gcc make zlib1g-dev \
8
-  && apt-get autoclean && apt-get clean && apt-get autoremove
9
-
10
-
11
-FROM mcode AS llvm-3.8
12
-
13
-RUN apt-get update -qq \
14
-  && apt-get -y install --no-install-recommends \
15
-            llvm-3.8-dev clang-3.8 \
16
-  && apt-get autoclean && apt-get clean && apt-get autoremove

+ 0
- 16
dist/linux/docker/build/ubuntu16 View File

@@ -1,16 +0,0 @@
1
-# [build] Ubuntu 16
2
-
3
-FROM ubuntu:xenial AS mcode
4
-
5
-RUN apt-get update -qq \
6
-  && apt-get -y install --no-install-recommends \
7
-            gnat gcc make zlib1g-dev \
8
-  && apt-get autoclean && apt-get clean && apt-get autoremove
9
-
10
-
11
-FROM mcode AS llvm-3.9
12
-
13
-RUN apt-get update -qq \
14
-  && apt-get -y install --no-install-recommends \
15
-            llvm-3.9-dev clang-3.9 \
16
-  && apt-get autoclean && apt-get clean && apt-get autoremove

+ 0
- 16
dist/linux/docker/build/ubuntu18 View File

@@ -1,16 +0,0 @@
1
-# [build] Ubuntu 18
2
-
3
-FROM ubuntu:bionic AS mcode
4
-
5
-RUN apt-get update -qq \
6
-  && apt-get -y install --no-install-recommends \
7
-            gnat gcc make zlib1g-dev \
8
-  && apt-get autoclean && apt-get clean && apt-get autoremove
9
-
10
-
11
-FROM mcode AS llvm-5.0
12
-
13
-RUN apt-get update -qq \
14
-  && apt-get -y install --no-install-recommends \
15
-            llvm-5.0-dev clang-5.0 \
16
-  && apt-get autoclean && apt-get clean && apt-get autoremove

+ 0
- 10
dist/linux/docker/run/buster View File

@@ -1,10 +0,0 @@
1
-# [run] Debian 10
2
-
3
-FROM debian:buster-slim AS mcode
4
-
5
-RUN apt-get update -qq \
6
- && apt-get -y install libgnat-7 gcc libc6-dev \
7
- && apt-get autoclean && apt-get clean && apt-get autoremove
8
-
9
-
10
-FROM mcode AS mcode-gpl

+ 0
- 12
dist/linux/docker/run/fedora26 View File

@@ -1,12 +0,0 @@
1
-# [run] Fedora 26
2
-
3
-FROM fedora:26 AS mcode
4
-
5
-RUN dnf --nodocs -y install libgnat gcc \
6
-  && dnf clean all --enablerepo=\*
7
-
8
-
9
-FROM mcode AS llvm
10
-
11
-RUN dnf --nodocs -y install llvm-libs zlib-devel \
12
-  && dnf clean all --enablerepo=\*

+ 0
- 10
dist/linux/docker/run/stretch View File

@@ -1,10 +0,0 @@
1
-# [run] Debian 9
2
-
3
-FROM debian:stretch-slim AS mcode
4
-
5
-RUN apt-get update -qq \
6
- && apt-get -y install libgnat-6 gcc libc6-dev \
7
- && apt-get autoclean && apt-get clean && apt-get autoremove
8
-
9
-
10
-FROM mcode AS mcode-gpl

+ 0
- 16
dist/linux/docker/run/ubuntu14 View File

@@ -1,16 +0,0 @@
1
-# [run] Ubuntu 14
2
-
3
-FROM ubuntu:trusty AS mcode
4
-
5
-RUN apt-get update -qq \
6
-  && apt-get -y install --no-install-recommends \
7
-            libgnat-4.6 gcc libc6-dev \
8
-  && apt-get autoclean && apt-get clean && apt-get autoremove
9
-
10
-
11
-FROM mcode AS llvm-3.8
12
-
13
-RUN apt-get update -qq \
14
-  && apt-get -y install --no-install-recommends \
15
-            libllvm-3.8 zlib1g-dev \
16
-  && apt-get autoclean && apt-get clean && apt-get autoremove

+ 0
- 16
dist/linux/docker/run/ubuntu16 View File

@@ -1,16 +0,0 @@
1
-# [run] Ubuntu 16
2
-
3
-FROM ubuntu:xenial AS mcode
4
-
5
-RUN apt-get update -qq \
6
-  && apt-get -y install --no-install-recommends \
7
-            libgnat-4.9 gcc libc6-dev \
8
-  && apt-get autoclean && apt-get clean && apt-get autoremove
9
-
10
-
11
-FROM mcode AS llvm-3.9
12
-
13
-RUN apt-get update -qq \
14
-  && apt-get -y install --no-install-recommends \
15
-            libllvm-3.9 zlib1g-dev \
16
-  && apt-get autoclean && apt-get clean && apt-get autoremove

+ 0
- 16
dist/linux/docker/run/ubuntu18 View File

@@ -1,16 +0,0 @@
1
-# [run] Ubuntu 18
2
-
3
-FROM ubuntu:bionic AS mcode
4
-
5
-RUN apt-get update -qq \
6
-  && apt-get -y install --no-install-recommends \
7
-            libgnat-7 gcc libc6-dev \
8
-  && apt-get autoclean && apt-get clean && apt-get autoremove
9
-
10
-
11
-FROM mcode AS llvm-5.0
12
-
13
-RUN apt-get update -qq \
14
-  && apt-get -y install --no-install-recommends \
15
-            libllvm5.0 zlib1g-dev \
16
-  && apt-get autoclean && apt-get clean && apt-get autoremove

+ 0
- 13
dist/linux/travis-enc-dockerhub.sh View File

@@ -1,13 +0,0 @@
1
-#!/bin/sh
2
-
3
-# - Run `$(command -v winpty) docker run --rm -it alpine sh -c "REPO='https://github.com/<user|organization>/<repo>'; USERNAME=<username>; PASSWORD=<password>; $(cat travis-enc.sh)"`
4
-# - Check the log and copy the secure key to `.travis.yml`: https://docs.travis-ci.com/user/environment-variables/#Defining-encrypted-variables-in-.travis.yml
5
-
6
-apk add -U --no-cache git openssh ruby ruby-dev libffi-dev build-base ruby-dev libc-dev libffi-dev linux-headers
7
-gem install travis --no-rdoc --no-ri
8
-
9
-git clone $REPO ./tmp-repo && cd tmp-repo
10
-
11
-travis login --org --auto
12
-travis encrypt DOCKER_USER=$USERNAME
13
-travis encrypt DOCKER_PASS=$PASSWORD

dist/linux/build.sh → dist/travis/build.sh View File

@@ -1,7 +1,9 @@
1 1
 #! /bin/bash
2 2
 
3
-. dist/linux/travis-utils.sh
4
-. dist/ansi_color.sh
3
+scriptdir=$(dirname $0)
4
+
5
+. "$scriptdir/travis-utils.sh"
6
+. "$scriptdir/../ansi_color.sh"
5 7
 disable_color
6 8
 
7 9
 echo "$0" "$@"
@@ -69,6 +71,30 @@ mkdir "build-$BLD"
69 71
 cd "build-$BLD"
70 72
 
71 73
 case "$BLD" in
74
+    gcc*)
75
+        echo "travis_fold:start:get_gcc"
76
+        travis_time_start
77
+        printf "$ANSI_YELLOW[GHDL] Get gcc sources $ANSI_NOCOLOR\n"
78
+        echo "https://github.com/gcc-mirror/gcc/archive/$(echo ${BLD} | sed -e 's/\./_/g')-release.tar.gz"
79
+        mkdir gcc-srcs
80
+        curl -L "https://github.com/gcc-mirror/gcc/archive/$(echo ${BLD} | sed -e 's/\./_/g')-release.tar.gz" | tar -xz -C gcc-srcs --strip-components=1
81
+        cd gcc-srcs
82
+        sed -i.bak s/ftp:/http:/g ./contrib/download_prerequisites
83
+        ./contrib/download_prerequisites
84
+        cd ..
85
+        travis_time_finish
86
+        echo "travis_fold:end:get_gcc"
87
+
88
+        echo "travis_fold:start:configure_gcc"
89
+        travis_time_start
90
+        printf "$ANSI_YELLOW[GHDL] Configure gcc $ANSI_NOCOLOR\n"
91
+        ../configure --with-gcc=gcc-srcs --prefix="$prefix"
92
+        make copy-sources
93
+        mkdir gcc-objs; cd gcc-objs
94
+        ../gcc-srcs/configure --prefix="$prefix" --enable-languages=c,vhdl --disable-bootstrap --disable-lto --disable-multilib --disable-libssp --disable-libgomp --disable-libquadmath "`gcc -v 2>&1 | grep -o -- --enable-default-pie`"
95
+        travis_time_finish
96
+        echo "travis_fold:end:configure_gcc"
97
+    ;;
72 98
     mcode)
73 99
 	      config_opts=""
74 100
         CXX=""
@@ -97,12 +123,20 @@ case "$BLD" in
97 123
 	      CXX="clang++-5.0"
98 124
 	      config_opts="--with-llvm-config=llvm-config-5.0 CXX=$CXX"
99 125
     ;;
126
+    llvm-6.0)
127
+	      CXX="clang++-6.0"
128
+	      config_opts="--with-llvm-config=llvm-config-6.0 CXX=$CXX"
129
+    ;;
100 130
     *)
101 131
 	      echo "$ANSI_RED[GHDL - build] Unknown build $BLD $ANSI_NOCOLOR"
102 132
 	      exit 1;;
103 133
 esac
104
-echo "../configure --prefix=$prefix $config_opts"
105
-../configure "--prefix=$prefix" $config_opts
134
+
135
+if [ ! "$(echo $BLD | grep gcc)" ]; then
136
+    echo "../configure --prefix=$prefix $config_opts"
137
+    ../configure "--prefix=$prefix" $config_opts
138
+fi
139
+
106 140
 echo "travis_fold:end:configure"
107 141
 
108 142
 #--- make
@@ -110,7 +144,10 @@ echo "travis_fold:end:configure"
110 144
 echo "travis_fold:start:make"
111 145
 travis_time_start
112 146
 printf "$ANSI_YELLOW[GHDL - build] Make $ANSI_NOCOLOR\n"
113
-make
147
+set +e
148
+make -j$(nproc) 2>make_err.log
149
+tail -1000 make_err.log
150
+set -e
114 151
 travis_time_finish
115 152
 echo "travis_fold:end:make"
116 153
 
@@ -120,6 +157,21 @@ make install
120 157
 cd ..
121 158
 echo "travis_fold:end:install"
122 159
 
160
+if [ "$(echo $BLD | grep gcc)" ]; then
161
+    echo "travis_fold:start:make_ghdllib"
162
+    travis_time_start
163
+    printf "$ANSI_YELLOW[GHDL - build] Make ghdllib $ANSI_NOCOLOR\n"
164
+    make ghdllib
165
+    travis_time_finish
166
+    echo "travis_fold:end:make_ghdllib"
167
+
168
+    echo "travis_fold:start:install_ghdllib"
169
+    printf "$ANSI_YELLOW[GHDL - build] Install ghdllib $ANSI_NOCOLOR\n"
170
+    make install
171
+    cd ..
172
+    echo "travis_fold:end:install_ghdllib"
173
+fi
174
+
123 175
 #--- package
124 176
 
125 177
 echo "travis_fold:start:tar.bin"
@@ -134,7 +186,7 @@ echo "travis_fold:end:tar.bin"
134 186
     gnatls --version | grep 'GNATLS'
135 187
     gcc --version | grep 'gcc'
136 188
     if [ "$CXX" != "" ]; then
137
-	$CXX --version | grep 'clang'
189
+        $CXX --version | grep 'clang'
138 190
     fi
139 191
 } > BUILD_TOOLS
140 192
 

dist/linux/test.sh → dist/travis/test.sh View File

@@ -1,7 +1,9 @@
1 1
 #! /bin/bash
2 2
 
3
-. dist/linux/travis-utils.sh
4
-. dist/ansi_color.sh
3
+scriptdir=$(dirname $0)
4
+
5
+. "$scriptdir/travis-utils.sh"
6
+. "$scriptdir/../ansi_color.sh"
5 7
 disable_color
6 8
 
7 9
 echo "$0" "$@"

dist/linux/travis-ci.sh → dist/travis/travis-ci.sh View File

@@ -23,12 +23,11 @@ build_img_ghdl() {
23 23
 
24 24
 set -e
25 25
 
26
-. dist/linux/travis-utils.sh
27
-. dist/ansi_color.sh
28
-#disable_color
29
-
30 26
 scriptdir=$(dirname $0)
31 27
 
28
+. "$scriptdir/travis-utils.sh"
29
+. "$scriptdir/../ansi_color.sh"
30
+#disable_color
32 31
 
33 32
 # Display env (to debug)
34 33
 

dist/linux/travis-utils.sh → dist/travis/travis-utils.sh View File


+ 2
- 2
dist/windows/InstallerTemplate.ps1 View File

@@ -205,13 +205,13 @@ if ($Install)
205 205
 	New-Item -ItemType Directory -Path "$InstallPath"						-ErrorAction SilentlyContinue	| Out-Null
206 206
 
207 207
 	# writing ZIP file to disk
208
-	$TempFilePath =									[System.IO.Path]::GetTempFileName()
208
+	$TempFilePath =	[System.IO.Path]::GetTempFileName().TrimEnd("tmp") + "zip"
209 209
 	Write-Host "  Writing temporary ZIP file: $TempFilePath"
210 210
 	$CompressedFileContentAsBytes =	[System.Convert]::FromBase64String($CompressedFileContentInBase64)
211 211
 	[System.IO.File]::WriteAllBytes("$TempFilePath", $CompressedFileContentAsBytes)
212 212
 	
213 213
 	Write-Host "  Extracting ZIP file to: $InstallPath"
214
-	Expand-Archive "$TempFilePath" -OutputPath $InstallPath -Force -ShowProgress
214
+	Microsoft.PowerShell.Archive\Expand-Archive "$TempFilePath" -DestinationPath $InstallPath -Force
215 215
 
216 216
 	Remove-Item $TempFilePath
217 217
 	

+ 2
- 2
dist/windows/appveyor/install.ps1 View File

@@ -12,7 +12,7 @@ if ($env:BUILD_MINGW -eq "mingw32")
12 12
 	{
13 13
 	}
14 14
 	elseif ($env:BUILD_BACKEND -eq "llvm")
15
-	{	C:\msys64\usr\bin\pacman -S mingw-w64-i686-llvm35 mingw-w64-i686-clang35 --noconfirm
15
+	{	C:\msys64\usr\bin\pacman -S mingw-w64-i686-llvm mingw-w64-i686-clang --noconfirm
16 16
 	}
17 17
 }
18 18
 elseif ($env:BUILD_MINGW -eq "mingw64")
@@ -21,7 +21,7 @@ elseif ($env:BUILD_MINGW -eq "mingw64")
21 21
 	{
22 22
 	}
23 23
 	elseif ($env:BUILD_BACKEND -eq "llvm")
24
-	{	C:\msys64\usr\bin\pacman -S mingw-w64-x86_64-llvm35 mingw-w64-x86_64-clang35 --noconfirm
24
+	{	C:\msys64\usr\bin\pacman -S mingw-w64-x86_64-llvm mingw-w64-x86_64-clang --noconfirm
25 25
 	}
26 26
 }
27 27
 

+ 13
- 13
doc/appendix/Meta.rst View File

@@ -6,10 +6,10 @@ Meta
6 6
 General guidelines to edit the documentation
7 7
 ********************************************
8 8
 
9
-   1) It’s better for version control systems and diff tools to break lines at a sensible number of characters. Long lines appear as one diff. Also merging is more complex because merges are line based. Long unbreakable items may be longer (links, refs, ). We chose to use 160 chars.
9
+   1) It’s better for version control systems and diff tools to break lines at a sensible number of characters. Long lines appear as one diff. Also merging is more complex because merges are line based. Long unbreakable items may be longer (links, refs, etc.). We chose to use 160 chars.
10 10
    2) Please indent all directive content by 3 spaces (not 2, and no tabs).
11
-   3) Please use ``*`` as an itemize character, since ``-`` and ``+`` are supported by docutils, but not officially supported by Sphinx`.
12
-   4) Please underline all headlines with at least as many characters as the headline is long. Following the Python pattern for headline the levels are:
11
+   3) Please use ``*`` as an itemize character, since ``-`` and ``+`` are supported by docutils, but not officially supported by Sphinx.
12
+   4) Please underline all headlines with at least as many characters as the headline is long. Following the Python pattern for headlines the levels are:
13 13
 
14 14
       .. code::
15 15
 	  
@@ -29,7 +29,7 @@ General guidelines to edit the documentation
29 29
 	   
30 30
 	  .. code::
31 31
 	   
32
-	     ````
32
+	     ``code``
33 33
 		  
34 34
       is samp. ``:samp:`` is only required when you want to write italic text in code text.
35 35
 	  
@@ -39,13 +39,13 @@ General guidelines to edit the documentation
39 39
 
40 40
       Now, variable becomes italic.
41 41
 
42
-      Please simplify all usages of :samp:`…`to ``…`` for readability. Here are the regular expressions for an editor like Notepad++:
42
+      Please simplify all usages of ``:samp:`code``` to ````code```` for readability. Here are the regular expressions for an editor like Notepad++:
43 43
 	  
44 44
       - Search pattern:: :samp:`(.+?)`
45 45
 		 
46 46
       - Replace pattern:: ``\1`` 
47 47
 
48
-   6) Each backend has one folder and each platform/compiler has one file. Please note that page headlines are different from ToC headline: 
48
+   6) Each backend has one folder and each platform/compiler has one file. Please note that page headlines are different from ToC headlines: 
49 49
 
50 50
       .. code::   
51 51
 
@@ -55,24 +55,24 @@ General guidelines to edit the documentation
55 55
             ToC entry <file1>
56 56
             file2
57 57
 
58
-   7) A documentation should not use “you”, “we”, …, because it’s not an interactive conversation or informal letter. It’s like a thesis, everything is structured and formal. However, to make it more friendly to newcomers, we agree to allow informal language in section ':ref:`USING:QuickStart`'.
58
+   7) Documentation should not use “you”, “we”, …, because it’s not an interactive conversation or informal letter. It’s like a thesis, everything is structured and formal. However, to make it more friendly to newcomers, we agree to allow informal language in the section :ref:`USING:QuickStart`.
59 59
 
60
-   8) Please keep errors low.
60
+   8) Please keep errors to a minimum.
61 61
 	  
62 62
 
63 63
 Guidelines to edit section 'Building'
64 64
 *************************************
65 65
 
66
-I prefer a text block, which explains how a compilation works, what I can configure for that backend, etc. After that, I prefer a code block with e.g. bash instructions on how to compile a backend. A list of instructions with embedded bash lines is not helpful. An experienced, as well as novice user, would like to copy a set of instructions into the shell. But it should be stated what these instructions will do. Complex flows like for GCC, can be split into multiple shell code blocks. Moreover, I find it essential, to demonstrate when and where to change directories.
66
+We prefer a text block, which explains how a compilation works, what we can configure for that backend, etc. After that, we prefer a code block with e.g. bash instructions on how to compile a backend. A list of instructions with embedded bash lines is not helpful. An experienced, as well as novice user, would like to copy a set of instructions into the shell. But it should be stated what these instructions will do. Complex flows like for GCC, can be split into multiple shell code blocks. Moreover, we find it essential to demonstrate when and where to change directories.
67 67
 
68
-We would like to see a list like
68
+We would like to see a list like:
69 69
 
70 70
 * gcc (Gnu Compiler Collection)
71 71
 * gcc-gnat (Ada compiler for GCC)
72 72
 * llvm-del (LLVM development package)
73 73
 * ...
74 74
 
75
-The goal is to also explain what a user is installing and what the few lines in the build description do. Now they know the name, can search for similar names if the have another package manager or distro or can ask Google/Wikipedia. We often find many build receipts with cryptic shell code and to execute this unknown stuff with sudo is not comfortable. We would like to know what it does before hiting enter.
75
+The goal is also to explain what a user is installing and what the few lines in the build description do. Now they know the name, can search for similar names if they have another package manager or distro or can ask Google/Wikipedia. We often find many build receipts with cryptic shell code and to execute this unknown stuff with sudo is not comfortable. We would like to know what it does before hitting enter.
76 76
 	  
77 77
 Documentation configuration
78 78
 ***************************
@@ -97,7 +97,7 @@ Documentation configuration
97 97
 CSS
98 98
 ***
99 99
 
100
-* The indentation of the elements in the side menu have been modified. They are fixed por levels 1, 2 and 3 (`#294 <https://github.com/ghdl/ghdl/pull/294#issuecomment-281555760>`_) and 4 (later).
100
+* The indentation of the elements in the side menu have been modified. They are fixed for levels 1, 2 and 3 (`#294 <https://github.com/ghdl/ghdl/pull/294#issuecomment-281555760>`_) and 4 (later).
101 101
 
102 102
 * The RTD menu (bottom-left) has been modified (`#294 <https://github.com/ghdl/ghdl/pull/294#issuecomment-281513494>`_):
103 103
 
@@ -107,4 +107,4 @@ CSS
107 107
 Dist
108 108
 ****
109 109
 		
110
-* Ubuntu uses `dash` instead of `bash` when a shell script is run. As a result, some functionalities, such as arrays like ``array[1]``, are not supported. Therefore, build scripts in `dist/linux` should not use those functionalities unless they are sourced in a `bash` shell. That is, :file:`tavis-ci.sh` uses arrays, since it is sourced in the Travis CI machine. But :file:`docker-buildtest.sh` and :file:`buildtest.sh` do not use any. The same applies to the scripts in `testsuite`.
110
+* Ubuntu uses `dash` instead of `bash` when a shell script is run. As a result, some functionalities, such as arrays like ``array[1]``, are not supported. Therefore, build scripts in `dist/linux` should not use those functionalities unless they are sourced in a `bash` shell. That is, :file:`travis-ci.sh` uses arrays, since it is sourced in the Travis CI machine. But :file:`docker-buildtest.sh` and :file:`buildtest.sh` do not use any. The same applies to the scripts in `testsuite`.

+ 6
- 7
doc/appendix/Roadmap.rst View File

@@ -3,14 +3,13 @@
3 3
 Roadmap | Future Improvements
4 4
 #############################
5 5
 
6
-I have several axes for `GHDL` improvements:
6
+We have several axes for `GHDL` improvements:
7 7
 
8
-* Documentation.
9
-* Better diagnostics messages (warning and error).
10
-* Full support of VHDL-2008.
11
-* Optimization (simulation speed).
8
+* Documentation
9
+* Better diagnostics messages (warning and error)
10
+* Full support of VHDL-2008
11
+* Optimization (simulation speed)
12 12
 * Graphical tools (to see waves and to debug)
13 13
 * Style checks
14 14
 * VITAL acceleration
15
-	
16
-.. todolist::
15
+

+ 3
- 3
doc/building/Building.rst View File

@@ -51,14 +51,14 @@ Here is a short comparison, so that you can choose the one you want to use:
51 51
    be replaced with direct execution of the binary. See section :ref:`USING:QuickStart`.
52 52
 
53 53
 After making your choice, you can jump to the corresponding section.
54
-However, we suggest you to read :ref:`BUILD:dir_structure` before, so that you
55
-know where the content is placed and which temporal files are expected to be
54
+However, we suggest you to read :ref:`BUILD:dir_structure` first, so that you
55
+know where the content will be placed and which files are expected to be
56 56
 created.
57 57
 
58 58
 .. HINT::
59 59
    Since GHDL is written in `Ada`, independently of the code generator you use,
60 60
    the `GNU Ada compiler`, `GNAT GPL`, is required, 2014 (or later) for ``x86``
61
-   (32 or 64 bits). `GNAT GPL` can be downloaded anonymously from `libre.adacore.com <http://libre.adacore.com/tools/gnat-gpl-edition/>`_.
61
+   (32 or 64 bit). `GNAT GPL` can be downloaded anonymously from `libre.adacore.com <http://libre.adacore.com/tools/gnat-gpl-edition/>`_.
62 62
    Then, untar and run the doinstall script. Alternatively, most GNU/Linux
63 63
    provide a package named ``gcc-ada`` or ``gcc-gnat``.
64 64
 

+ 11
- 11
doc/building/Directories.rst View File

@@ -6,21 +6,21 @@ Directory Structure
6 6
 * ``src``: sources of GHDL, all of them in Ada.
7 7
 
8 8
 * ``libraries``: mostly third party libraries such as, `ieee`, `mentor`,
9
-  `std`, `synopsys` and `vital`. Except a few shell and `Python` scripts, all
9
+  `std`, `synopsys` and `vital`. Except for a few shell and `Python` scripts, all
10 10
   the content is written in VHDL.
11 11
 
12 12
   * Vendors like Altera, Lattice and Xilinx have their own simulation libraries,
13
-    especially for FPGA primitives, soft and hard macros. These libraries can
14
-    not be shipped with GHDL, but we offer prepared compile scripts to
13
+    especially for FPGA primitives, soft and hard macros. These libraries cannot
14
+    be shipped with GHDL, but we offer prepared compile scripts to
15 15
     pre-compile the vendor libraries, if the vendor tool is present on the
16 16
     computer. These are located in ``libraries/vendor``.
17 17
     See :ref:`GETTING:PrecompVendor` for information on how to
18 18
     use them.
19 19
 
20
-* ``dist``: scripts and auxiliar files to build GHDL in different
20
+* ``dist``: scripts and auxiliary files to build GHDL in different
21 21
   environments:
22 22
 
23
-  * ``gcc``: header and configuration files to build GHDL with GCC (all the
23
+  * ``gcc``: header and configuration files to build GHDL with GCC (all
24 24
     platforms).
25 25
   * ``linux``: build and test script written in shell, and other auxiliary
26 26
     files used to i) launch docker containers and ii) automate multiple builds
@@ -32,19 +32,19 @@ Directory Structure
32 32
     * ``appveyor``:
33 33
 
34 34
 * ``doc``: `Markdown` and `reStructuredText` sources and auxiliary files to
35
-  build the documentation with `Sphinx <http://www.sphinx-doc.org>`_. Indeed,
36
-  `Read the docs <http://readthedocs.org>`_ (RTD) is used to automatically build
35
+  build the documentation with `Sphinx <http://www.sphinx-doc.org>`_. In fact,
36
+  `Read the Docs <http://readthedocs.org>`_ (RTD) is used to automatically build
37 37
   and deploy this site and/or PDF you are reading.
38 38
 
39
-* ``testsuite``: see section :ref:`test_suites`.
39
+* ``testsuite``: files used for testing.
40 40
 
41 41
 * `.yml` configuration files for CI environments (``readthedocs``,
42
-  ``travis`` and ``appveyor``) and `ignore` files for source control
42
+  ``travis``, and ``appveyor``) and `ignore` files for source control
43 43
   management tools (``git`` and ``.hg``).
44 44
 
45 45
 * Files for building GHDL: ``configure`` and ``Makefile.in``.
46 46
 
47
-* Auxiliar files for development: ``.gdbinit`` and ``ghdl.gpr.in``
47
+* Auxiliary files for development: ``.gdbinit`` and ``ghdl.gpr.in``
48 48
   (GNAT project file).
49 49
 
50
-* Text files: ``COPYING.md``, ``NEWS.md`` and ``README.md``.
50
+* Text files: ``COPYING.md``, ``NEWS.md``, and ``README.md``.

+ 68
- 72
doc/building/PrecompileVendorPrimitives.rst View File

@@ -4,7 +4,7 @@ Precompile Vendor Primitives
4 4
 ############################
5 5
 
6 6
 Vendors like Altera, Lattice and Xilinx have their own simulation libraries,
7
-especially for FPGA primitives, soft and hard macros. These libraries can not
7
+especially for FPGA primitives, soft and hard macros. These libraries cannot
8 8
 be shipped with *GHDL*, but we offer prepared compile scripts to pre-compile
9 9
 the vendor libraries, if the vendor tool is present on the computer. There are
10 10
 also popular simulation and verification libraries like OSVVM [#f1]_ or
@@ -29,7 +29,7 @@ Supported Vendors Libraries
29 29
   * `stratixiv`, `stratixiv_pcie_hip`
30 30
   * `stratixv`, `stratixv_pcie_hip`
31 31
   * `fiftyfivenm`, `twentynm`
32
-	
32
+
33 33
 * Lattice (3.6 or later):
34 34
 
35 35
   * `ec`
@@ -56,8 +56,8 @@ Supported Simulation and Verification Libraries
56 56
 
57 57
 * OSVVM (for VHDL-2008)
58 58
 
59
-    * osvvm
60
-
59
+  * osvvm
60
+  
61 61
 * UVVM (for VHDL-2008)
62 62
 
63 63
   * uvvm-utilities
@@ -77,9 +77,9 @@ Script Configuration
77 77
 ====================
78 78
 
79 79
 The vendor library compile scripts need to know where the used / latest vendor
80
-tool chain is installed. Therefore, the script implement a default installation
81
-directory search as well as environment variable checks. If a vendor tool could
82
-not be detected or the script choses the wrong vendor library source directory,
80
+tool chain is installed. Therefore, the scripts implement a default installation
81
+directory search as well as environment variable checks. If a vendor tool cannot
82
+be detected or the script chooses the wrong vendor library source directory,
83 83
 then it's possible to provide the path via `--source` or `-Source`.
84 84
 
85 85
 The generated output is stored relative to the current working directory. The
@@ -91,7 +91,7 @@ To compile all source files with GHDL, the simulator executable is searched in
91 91
 environment variable `GHDL` or by passing the parameter `--ghdl` or `-GHDL` to
92 92
 the scripts.
93 93
 
94
-If the vendor library compilation is used very often, we recommend to configure
94
+If the vendor library compilation is used very often, we recommend configuring
95 95
 these parameters in `config.sh` or `config.psm1`, so the command line can be
96 96
 shortened to the essential parts.
97 97
 
@@ -101,7 +101,7 @@ Compiling on Linux
101 101
 ==================
102 102
 
103 103
 * **Step 0 - Configure the scripts (optional)**
104
-    See next section for how to configure `config.sh`.
104
+    See the next section for how to configure `config.sh`.
105 105
 
106 106
 * **Step 1 - Browse to your simulation working directory**
107 107
     
@@ -149,8 +149,7 @@ Compiling on Windows
149 149
 ====================
150 150
 
151 151
 * **Step 0 - Configure the scripts (optional)**
152
-
153
-  See next section for how to configure `config.psm1`.
152
+    See the next section for how to configure `config.psm1`.
154 153
 
155 154
 * **Step 1 - Browse to your simulation working directory**
156 155
     
@@ -170,8 +169,8 @@ Compiling on Windows
170 169
      PS> <GHDL>\libraries\vendors\compile-uvvm.ps1 -All
171 170
 
172 171
 * **Step 3 - Viewing the result**
173
-  This creates vendor directories in your current working directory and
174
-  compiles the vendor files into them.
172
+    This creates vendor directories in your current working directory and
173
+    compiles the vendor files into them.
175 174
 
176 175
   .. code-block:: PowerShell
177 176
 
@@ -197,7 +196,7 @@ For Linux: `config.sh`
197 196
 ----------------------
198 197
 
199 198
 Please open the `config.sh` file and set the dictionary entries for the
200
-installed vendor tools to the appropriate directory to your tool's installation
199
+installed vendor tools to your tool's installation
201 200
 directories. Use an empty string `""` for not installed tools.
202 201
 
203 202
 `config.sh`