From nobody Thu Oct 19 07:08:23 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4S9zMW3QS5z4y4qv; Thu, 19 Oct 2023 07:08:23 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4S9zMW2Q1sz3DsN; Thu, 19 Oct 2023 07:08:23 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697699303; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=XBlaz1wCeBFp1tu72nu1zVYsyPxUwSTJXJzsXl8kwC8=; b=AGH3aCvttR8FUqKzK244oRcLgFxv4I30xXFhRRH6wQ0O9Zp8sotgfqwe2hijwRFf76bVgh MehLDuW/FYwsThU8fZIP5qmrlCpNXGec/jyYN7e8wO5qdqOyN9WgGNsNp10DBr5ZxvOY2J 6Uh6OovIJSFicTuZMvlkbFUbYzzWuEFnigQfEXaSaCXgqBgn8OATxyyQyYnfaku08DMCa0 hLRvnuvhdr6ELynmA+toUhcyu8ba/Z7saWdQjIgYUjxcUYwp28GuFh35cAC27WiYo71IRt 2AZsjlxsO1RS8dNIovQpc7KtINyelQD5vGb/kL3I+snIsaYAsN5z7IiIZpptGQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1697699303; a=rsa-sha256; cv=none; b=n329WFPDKYw9OH2usJHBwyge8TPyLlJt2HepeBe12IMq9oPxyEn31BUKhOhB68lUizgKUd jm2LSHTHFwE+Od/sKujlqmGlHds8DmenCb0KzJfbpOzNgVYfY8fsorShoqSjVX6ZIN96k/ 1aLhnaOIPbVeWR14w84s5AD24nIyfpQLBsgnWSa6VmO5tTqJIZP8AUyAV+zJTfsYoJQo3C IBfmT+0vGFGA8roL6g+8S4Xhhz+O6PC0oIK+cJE9JvealJBs7sBoABet8HSIFXNHlVcXpu HEQB/IDBlPlLvUpDmgfE7yYPGEtnVADY8psEbww3AEyLErMtoZXa1KyqjnPUBg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697699303; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=XBlaz1wCeBFp1tu72nu1zVYsyPxUwSTJXJzsXl8kwC8=; b=gwjGdo+YepXXbBgBDc1iHXt3bV5QLdigGYURWMMxQnYWyAuXEdfzdxszxYNuVFKdesApkM f4HdJOPmzisd9M/vxwl9iox6Gp7xXIxxAB8O+Nv6HTez6ecN3q2IlIV+rrmQUh4s8pNZn6 +qcu8W7aVyzMOiN69S4slj58QkyhdnYyiWY2+rHvFCm7l+/J/dqPPvRZ9bZfiECo/xOpZM vx41pOJYvhcojZr7r/FOPiZEGkkxXVN7oedStljlVsM7ubDNfBBoBGTwCpAva6cWBsDIRR Qcp88nHRXbS3/K9OQPZLrCNnou0wOCA6bRG2rmH85Ohh7Zk7+tIhmhjmrHMErQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4S9zMW1F71zgKS; Thu, 19 Oct 2023 07:08:23 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 39J78Nlg045602; Thu, 19 Oct 2023 07:08:23 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 39J78N3j045600; Thu, 19 Oct 2023 07:08:23 GMT (envelope-from git) Date: Thu, 19 Oct 2023 07:08:23 GMT Message-Id: <202310190708.39J78N3j045600@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Robert Clausecker Subject: git: 7e4f2be40627 - main - cad/yosys-ghdl-plugin: Add new port List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fuz X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7e4f2be406274cd8a33b558308812fe07f1cbfea Auto-Submitted: auto-generated The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=7e4f2be406274cd8a33b558308812fe07f1cbfea commit 7e4f2be406274cd8a33b558308812fe07f1cbfea Author: Nico Sonack AuthorDate: 2023-10-01 17:10:29 +0000 Commit: Robert Clausecker CommitDate: 2023-10-19 07:07:29 +0000 cad/yosys-ghdl-plugin: Add new port This allows performing synthesis of VHDL using ghdl with yosys. Signed-off-by: Nico Sonack PR: 274243 --- cad/Makefile | 1 + cad/yosys-ghdl-plugin/Makefile | 32 ++++++++++++++++++++++++++++++++ cad/yosys-ghdl-plugin/distinfo | 3 +++ cad/yosys-ghdl-plugin/pkg-descr | 2 ++ 4 files changed, 38 insertions(+) diff --git a/cad/Makefile b/cad/Makefile index 2d54cd764cde..84e61e892167 100644 --- a/cad/Makefile +++ b/cad/Makefile @@ -153,6 +153,7 @@ SUBDIR += xcircuit SUBDIR += xyce SUBDIR += yosys + SUBDIR += yosys-ghdl-plugin SUBDIR += yosys-systemverilog SUBDIR += z88 SUBDIR += zcad diff --git a/cad/yosys-ghdl-plugin/Makefile b/cad/yosys-ghdl-plugin/Makefile new file mode 100644 index 000000000000..315bdec37b8e --- /dev/null +++ b/cad/yosys-ghdl-plugin/Makefile @@ -0,0 +1,32 @@ +PORTNAME= yosys-ghdl-plugin +PORTVERSION= g20230930 +CATEGORIES= cad + +MAINTAINER= nsonack@outlook.com +COMMENT= GHDL synthesis plugin for yosys +WWW= https://github.com/ghdl/ghdl-yosys-plugin + +LICENSE= GPLv3 + +BUILD_DEPENDS= ghdl>0:cad/ghdl \ + yosys>0:cad/yosys +RUN_DEPENDS= yosys>0:cad/yosys +LIB_DEPENDS= libffi.so:devel/libffi \ + libghdl-3_0_0.so:cad/ghdl \ + libtcmalloc.so:devel/google-perftools + +USES= gmake readline tcl +USE_GITHUB= yes +GH_ACCOUNT= ghdl +GH_PROJECT= ghdl-yosys-plugin +GH_TAGNAME= d44a7bccdaa458ab3ec0ce83459410604bee6c60 + +MAKE_ENV+= GHDL=${LOCALBASE}/bin/ghdl \ + YOSYS_CONFIG=${LOCALBASE}/bin/yosys-config + +PLIST_FILES= share/yosys/plugins/ghdl.so + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/share/yosys/plugins/ghdl.so + +.include diff --git a/cad/yosys-ghdl-plugin/distinfo b/cad/yosys-ghdl-plugin/distinfo new file mode 100644 index 000000000000..28580a99a0bb --- /dev/null +++ b/cad/yosys-ghdl-plugin/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1696080191 +SHA256 (ghdl-ghdl-yosys-plugin-g20230930-d44a7bccdaa458ab3ec0ce83459410604bee6c60_GH0.tar.gz) = 200f38ea69d868b111a905d95a59aefa0c24d42f4f092ed5e5d94db21c496643 +SIZE (ghdl-ghdl-yosys-plugin-g20230930-d44a7bccdaa458ab3ec0ce83459410604bee6c60_GH0.tar.gz) = 82663 diff --git a/cad/yosys-ghdl-plugin/pkg-descr b/cad/yosys-ghdl-plugin/pkg-descr new file mode 100644 index 000000000000..ff7a7160bc63 --- /dev/null +++ b/cad/yosys-ghdl-plugin/pkg-descr @@ -0,0 +1,2 @@ +yosys-ghdl-plugin is a plugin that enables synthesis of VHDL with +yosys and ghdl.