Mail Archives: geda-user/2014/11/21/03:22:16
X-Authentication-Warning: | delorie.com: mail set sender to geda-user-bounces using -f
|
X-Recipient: | geda-user AT delorie DOT com
|
Message-ID: | <546EF5ED.3050705@armadeus.com>
|
Date: | Fri, 21 Nov 2014 09:21:01 +0100
|
From: | Fabien Marteau <fabien DOT marteau AT armadeus DOT com>
|
Organization: | ARMadeus Systems
|
User-Agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.2.0
|
MIME-Version: | 1.0
|
To: | geda-user AT delorie DOT com
|
Subject: | Re: [geda-user] vhd2vl project
|
References: | <5465D567 DOT 3050005 AT armadeus DOT com> <20141114164701 DOT GA6654 AT recycle DOT lbl DOT gov>
|
In-Reply-To: | <20141114164701.GA6654@recycle.lbl.gov>
|
X-Ovh-Tracer-Id: | 17721101584698466703
|
X-Ovh-Remote: | 83.141.175.39 (ip-83-141-175-39.evc.net)
|
X-Ovh-Local: | 213.186.33.20 (ns0.ovh.net)
|
X-OVH-SPAMSTATE: | OK
|
X-OVH-SPAMSCORE: | 0
|
X-OVH-SPAMCAUSE: | gggruggvucftvghtrhhoucdtuddrfeejhedrkeekucetufdoteggodetrfcurfhrohhfihhlvgemucfqggfjnecuuegrihhlohhuthemuceftddtnecu
|
X-VR-SPAMSTATE: | OK
|
X-VR-SPAMSCORE: | 0
|
X-VR-SPAMCAUSE: | gggruggvucftvghtrhhoucdtuddrfeejhedrkeekucetufdoteggodetrfcurfhrohhfihhlvgemucfqggfjnecuuegrihhlohhuthemuceftddtnecu
|
Reply-To: | geda-user AT delorie DOT com
|
This is a multi-part message in MIME format.
--------------010500010606060708000604
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable
Hi Larry,
Please find a patch in attachment to compile vhd2vl project under Debian
Jessie. There still warning for =ABunused size variable=BB but that compi=
le
and all vhdl examples works well.
The second patch I joined is a makefile for launching examples tests
automatically (go to examples dir and type 'make').
regards,
--=20
Fabien Marteau
--------------010500010606060708000604
Content-Type: text/x-diff;
name="0001-delete-error-to-compile-with-warning.patch"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
filename="0001-delete-error-to-compile-with-warning.patch"
=46rom e04ce30e77a5cedfa4ca24d2cea07187745a6270 Mon Sep 17 00:00:00 2001
From: Fabien Marteau <fabien DOT marteau AT armadeus DOT com>
Date: Fri, 21 Nov 2014 08:53:25 +0100
Subject: [PATCH] delete ';' error to compile with warning
Signed-off-by: Fabien Marteau <fabien DOT marteau AT armadeus DOT com>
---
src/vhd2vl.y | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/vhd2vl.y b/src/vhd2vl.y
index b4d6274..38933bf 100644
--- a/src/vhd2vl.y
+++ b/src/vhd2vl.y
@@ -1105,8 +1105,8 @@ vec_range : simple_expr updown simple_expr {
}
;
=20
-updown : DOWNTO {$$=3D-1}
- | TO {$$=3D1}
+updown : DOWNTO {$$=3D-1;}
+ | TO {$$=3D1;}
;
=20
/* Architecture */
@@ -1653,7 +1653,7 @@ with_item : expr delay WHEN wlist {
$$=3Daddtxt(sl,";\n");
}
=20
-p_decl : rem {$$=3D$1}
+p_decl : rem {$$=3D$1;}
| rem VARIABLE s_list ':' type ';' p_decl {
slist *sl;
sglist *sg, *p;
--=20
2.1.3
--------------010500010606060708000604
Content-Type: text/x-diff;
name="0002-makefile-for-tests.patch"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
filename="0002-makefile-for-tests.patch"
=46rom 7e5f3c1b1e2c61e8252a6c5948e1381bc6b1c1d0 Mon Sep 17 00:00:00 2001
From: Fabien Marteau <fabien DOT marteau AT armadeus DOT com>
Date: Fri, 21 Nov 2014 09:12:13 +0100
Subject: [PATCH] makefile for tests
Signed-off-by: Fabien Marteau <fabien DOT marteau AT armadeus DOT com>
---
examples/makefile | 13 +++++++++++++
1 file changed, 13 insertions(+)
create mode 100644 examples/makefile
diff --git a/examples/makefile b/examples/makefile
new file mode 100644
index 0000000..492463d
--- /dev/null
+++ b/examples/makefile
@@ -0,0 +1,13 @@
+VHD2VL=3D../src/vhd2vl
+DIFF=3Ddiff
+
+all: based.v bigfile.v clk.v counters.v\
+ expr.v for.v generate.v generic.v\
+ genericmap.v gh_fifo_async16_sr.v ifchain.v makefile test.v
+
+%.v: %.vhd
+ $(VHD2VL) $< $@
+ $(DIFF) $@ ../translated_examples/$@
+
+clean:
+ -rm *.v
--=20
2.1.3
--------------010500010606060708000604--
- Raw text -