head 1.15; access; symbols pkgsrc-2026Q2:1.15.0.2 pkgsrc-2026Q2-base:1.15 pkgsrc-2026Q1:1.14.0.4 pkgsrc-2026Q1-base:1.14 pkgsrc-2025Q4:1.14.0.2 pkgsrc-2025Q4-base:1.14 pkgsrc-2025Q3:1.13.0.6 pkgsrc-2025Q3-base:1.13 pkgsrc-2025Q2:1.13.0.4 pkgsrc-2025Q2-base:1.13 pkgsrc-2025Q1:1.13.0.2 pkgsrc-2025Q1-base:1.13 pkgsrc-2024Q4:1.12.0.2 pkgsrc-2024Q4-base:1.12 pkgsrc-2024Q3:1.7.0.2 pkgsrc-2024Q3-base:1.7 pkgsrc-2024Q2:1.5.0.2 pkgsrc-2024Q2-base:1.5 pkgsrc-2024Q1:1.3.0.2 pkgsrc-2024Q1-base:1.3; locks; strict; comment @# @; 1.15 date 2026.05.15.09.58.47; author adam; state Exp; branches; next 1.14; commitid AbaMQjZsFUtxxTFG; 1.14 date 2025.09.27.09.57.15; author wiz; state Exp; branches; next 1.13; commitid GSXfRJoW2938VkcG; 1.13 date 2024.12.29.15.09.46; author adam; state Exp; branches; next 1.12; commitid oeKjyQMgtu2FopDF; 1.12 date 2024.10.22.11.29.50; author thorpej; state Exp; branches; next 1.11; commitid TQB4bcfVkF0DmEuF; 1.11 date 2024.10.22.05.31.32; author thorpej; state Exp; branches; next 1.10; commitid lXAxpXFSGG5PnCuF; 1.10 date 2024.10.22.05.30.01; author thorpej; state Exp; branches; next 1.9; commitid hwAWb8wkOX7cnCuF; 1.9 date 2024.10.15.01.32.59; author thorpej; state Exp; branches; next 1.8; commitid UrsHOeN928dXhHtF; 1.8 date 2024.10.04.03.49.21; author ryoon; state Exp; branches; next 1.7; commitid W6qyL3zvAllroisF; 1.7 date 2024.09.08.18.52.41; author wiz; state Exp; branches; next 1.6; commitid E8crVG7ZGKkje2pF; 1.6 date 2024.09.07.02.10.28; author thorpej; state Exp; branches; next 1.5; commitid F4BiUrQGyepqHOoF; 1.5 date 2024.04.15.17.12.06; author wiz; state Exp; branches; next 1.4; commitid SpSCxqWsEbjQmg6F; 1.4 date 2024.04.15.10.51.34; author micha; state Exp; branches; next 1.3; commitid vtK81bygPRm9ge6F; 1.3 date 2024.03.27.22.52.32; author wiz; state Exp; branches; next 1.2; commitid NkxtL0YZFpWrRQ3F; 1.2 date 2024.03.02.23.08.00; author thorpej; state Exp; branches; next 1.1; commitid rInmKJe3sBK5KD0F; 1.1 date 2024.03.02.02.03.37; author thorpej; state Exp; branches; next ; commitid 698ZCL51smGgKw0F; desc @@ 1.15 log @revbump for boost-libs @ text @# $NetBSD: Makefile,v 1.14 2025/09/27 09:57:15 wiz Exp $ # XXX Yosys changed their release tag format in 0.45 to just a bare # XXX number, sigh. YOSYS_VERSION= 0.46 YOSYS_TAG= ${YOSYS_VERSION} ABC_TAG= yosys-${YOSYS_VERSION} ABC_DISTNAME= abc-${ABC_TAG} DISTNAME= yosys-${YOSYS_TAG} #PKGREVISION= 1 PKGREVISION= 3 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_GITHUB:=YosysHQ/} GITHUB_TAG= ${YOSYS_TAG} WRKSRC= ${WRKDIR}/yosys-${YOSYS_TAG} EXTRACT_SUFX= .tar.gz # needed early MAINTAINER= thorpej@@NetBSD.org HOMEPAGE= https://github.com/YosysHQ/yosys COMMENT= Yosys Open SYnthesis Suite LICENSE= isc DEPENDS+= graphviz-[0-9]*:../../graphics/graphviz ONLY_FOR_COMPILER= clang gcc USE_LANGUAGES= c c++ USE_CXX_FEATURES= c++17 .include "../../mk/bsd.prefs.mk" .include "../../mk/compiler.mk" ABC_DISTFILE= ${ABC_DISTNAME}${EXTRACT_SUFX} DISTFILES= ${DEFAULT_DISTFILES} DISTFILES+= ${ABC_DISTFILE} SITES.${ABC_DISTFILE}= -${MASTER_SITE_GITHUB:=YosysHQ/abc/archive/}${ABC_TAG}${EXTRACT_SUFX} EXTRACT_DIR.${ABC_DISTFILE}= ${WRKSRC}/abc EXTRACT_OPTS_TAR.${ABC_DISTFILE}= --strip-components=1 .if ${CC_VERSION:Mclang*} YOSYS_COMPILER= clang .else YOSYS_COMPILER= gcc .endif USE_TOOLS+= bash USE_TOOLS+= git USE_TOOLS+= gmake USE_TOOLS+= bison USE_TOOLS+= flex USE_TOOLS+= gawk USE_TOOLS+= pkg-config REPLACE_PYTHON+= backends/smt2/*.py REPLACE_PYTHON+= docs/source/*.py REPLACE_PYTHON+= passes/pmgen/*.py REPLACE_PYTHON+= techlibs/common/*.py REPLACE_PYTHON+= techlibs/gatemate/*.py REPLACE_PYTHON+= techlibs/gowin/*.py REPLACE_PYTHON+= techlibs/lattice/*.py REPLACE_PYTHON+= techlibs/nexus/*.py REPLACE_PYTHON+= techlibs/xilinx/*.py REPLACE_PYTHON+= tests/bram/*.py REPLACE_PYTHON+= tests/fsm/*.py REPLACE_PYTHON+= tests/opt_share/*.py REPLACE_PYTHON+= tests/realmath/*.py REPLACE_PYTHON+= tests/share/*.py REPLACE_PYTHON+= tests/tools/*.py REPLACE_BASH+= misc/yosys-config.in do-configure: cd ${WRKSRC} && ${MAKE_PROGRAM} config-${YOSYS_COMPILER} .include "../../lang/python/application.mk" .include "../../lang/python/tool.mk" .include "../../lang/tcl/buildlink3.mk" .include "../../devel/boost-libs/buildlink3.mk" .include "../../devel/readline/buildlink3.mk" .include "../../devel/libffi/buildlink3.mk" .include "../../mk/dlopen.buildlink3.mk" .include "../../mk/bsd.pkg.mk" @ 1.14 log @*: recursive bump for boost 1.89 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.13 2024/12/29 15:09:46 adam Exp $ d11 1 a11 1 PKGREVISION= 2 @ 1.13 log @revbump after updating boost @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 2024/10/22 11:29:50 thorpej Exp $ d11 1 a11 1 PKGREVISION= 1 @ 1.12 log @Set USE_CXX_FEATURES to c++17, as this is the language variant specified in the Yosys documentation. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2024/10/22 05:31:32 thorpej Exp $ d11 1 @ 1.11 log @Revert previous; I mis-read the documentation. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2024/10/15 01:32:59 thorpej Exp $ d26 1 @ 1.10 log @c++ -> c++17, which is what Yosys documents as the build requirement. @ text @d25 1 a25 1 USE_LANGUAGES= c c++17 @ 1.9 log @Update to yosys-0.46. Changes: Various ======= * Added new "functional backend" infrastructure with three example backends (C++, SMTLIB and Rosette). * Added new coarse-grain buffer cell type "$buf" to RTLIL. * Added "-y" command line option to execute a Python script with libyosys available as a built-in module. * Added support for casting to type in Verilog frontend. New commands and options ======================== * Added "clockgate" pass for automatic clock gating cell insertion. * Added "bufnorm" experimental pass to convert design into buffered-normalized form. * Added experimental "aiger2" and "xaiger2" backends, and an experimental "abc_new" command * Added "-force-detailed-loop-check" option to "check" pass. * Added "-unit_delay" option to "read_liberty" pass. Verific support =============== * Added left and right bound properties to wires when using specific VHDL types. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2024/10/04 03:49:21 ryoon Exp $ d25 1 a25 1 USE_LANGUAGES= c c++ @ 1.8 log @*: Recursive revbump from Boost 1.86.0 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2024/09/08 18:52:41 wiz Exp $ d5 1 a5 1 YOSYS_VERSION= 0.45 a10 1 PKGREVISION= 1 @ 1.7 log @yosys: add pkg-config to TOOLS to fix build Some cleanup while here. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2024/09/07 02:10:28 thorpej Exp $ d11 1 @ 1.6 log @Update to yosys-0.45. Lots of upstream changes since 0.38. Go read here: https://github.com/YosysHQ/yosys/releases @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2024/04/15 17:12:06 wiz Exp $ d46 1 d51 1 a51 6 # The Apple developer tools include git, so we don't need to # depend on it explicitly in that case. .if ${OPSYS} != "Darwin" TOOL_DEPENDS+= git-base>=2.39.3:../../devel/git-base .endif a79 1 .include "../../devel/pkgconf/buildlink3.mk" @ 1.5 log @yosys: only uses Xdot use DEPENDS on graphviz instead of its bl3.mk Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2024/04/15 10:51:34 micha Exp $ d3 8 a10 5 YOSYS_VERSION= 0.38 YOSYS_TAG= yosys-${YOSYS_VERSION} ABC_DISTNAME= abc-${YOSYS_TAG} DISTNAME= ${YOSYS_TAG} PKGREVISION= 4 d34 1 a34 1 SITES.${ABC_DISTFILE}= -${MASTER_SITE_GITHUB:=YosysHQ/abc/archive/}${GITHUB_TAG}${EXTRACT_SUFX} @ 1.4 log @*: recursive bump for graphviz 10.0.1 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2024/03/27 22:52:32 wiz Exp $ d7 1 a7 1 PKGREVISION= 3 d19 2 a81 1 .include "../../graphics/graphviz/buildlink3.mk" @ 1.3 log @yosys: fix interpreter in yosys-config script Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2024/03/02 23:08:00 thorpej Exp $ d7 1 a7 1 PKGREVISION= 2 @ 1.2 log @KERN_PROC_PATHNAME is slightly different on NetBSD vs FreeBSD; handle this difference correctly. Bump package revision to 1. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2024/03/02 02:03:37 thorpej Exp $ d7 1 a13 2 PKGREVISION= 1 d34 1 a34 1 .if !empty(CC_VERSION:Mclang*) d40 1 d68 2 @ 1.1 log @Add a package for yosys: The Yosys Open SYnthesis Suite is a framework for RTL synthesis tools. It currently has extensive Verilog-2005 support and provides a basic set of synthesis algorithms for various application domains. Together with nextpnr-ice40 and icestorm, this forms a toolchain that can be used to synthesize and program designs for Lattice iCE40-family FPGAs. @ text @d1 1 a1 1 # $NetBSD$ d13 2 @