Browse Source

add script to download VHDL-2008 proposed packages & patch file for env_c.vhdl to get it compiled by GHDL

pull/1/head
T. Meissner 10 years ago
parent
commit
79cc8ce4b3
2 changed files with 24 additions and 0 deletions
  1. +13
    -0
      test/get_vhdl_2008.sh
  2. +11
    -0
      test/vhdl_2008/env_c.vhdl.patch

+ 13
- 0
test/get_vhdl_2008.sh View File

@ -0,0 +1,13 @@
#!/bin/bash
rm -rf vhdl_2008/*.vhdl
cd vhdl_2008
wget http://www.eda.org/fphdl/standard_additions_c.vhdl
wget http://www.eda.org/fphdl/env_c.vhdl
wget http://www.eda.org/fphdl/standard_textio_additions_c.vhdl
wget http://www.eda.org/fphdl/std_logic_1164_additions.vhdl
wget http://www.eda.org/fphdl/numeric_std_additions.vhdl
wget http://www.eda.org/fphdl/numeric_std_unsigned_c.vhdl
patch < env_c.vhdl.patch

+ 11
- 0
test/vhdl_2008/env_c.vhdl.patch View File

@ -0,0 +1,11 @@
--- env_c.vhdl 2014-11-20 11:18:24.210947993 +0100
+++ env_c.vhdl_patched 2014-11-20 11:18:38.578652227 +0100
@@ -30,7 +30,7 @@
1 ms, 10 ms, 100 ms,
1 sec, 10 sec, 100 sec,
1 min, 10 min, 100 min,
- 1 hr, 10 hr, 100 hr
+ 1 hr --, 10 hr, 100 hr (removed for GHDL)
) ;
function RESOLUTION_LIMIT return DELAY_LENGTH is

Loading…
Cancel
Save