openbsd-ports/cad/qflow/Makefile
rsadowski 000ea76f1f Import qflow-1.4.83
OK sthen@, port from Alessandro De Laurenzis

Comment:
full end-to-end digital synthesis flow for VLSI ASIC designs

Description:
A digital synthesis flow is a set of tools and methods used to turn a
VLSI design written in a high-level behavioral language like Verilog
or VHDL into a physical circuit, which can either be configuration code
for an FPGA target or a layout in a specific technology, that would
become part of an IC.
Qflow uses a complete and open source tool chain for synthesizing
digital circuits starting from Verilog source and ending in physical
layout for a specific target fabrication process.

Maintainer: Alessandro De Laurenzis

WWW: http://opencircuitdesign.com/qflow/
2020-07-03 13:53:00 +00:00

65 lines
1.5 KiB
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2020/07/03 13:53:00 rsadowski Exp $
COMMENT = full end-to-end digital synthesis flow for VLSI ASIC designs
DISTNAME = qflow-1.4.83
CATEGORIES = cad
HOMEPAGE = http://opencircuitdesign.com/qflow/
MAINTAINER = Alessandro De Laurenzis <just22@atlantide.mooo.com>
# GPL (qflow, no applicable version specified)
# For gscl45nm tech files: Apache-2.0, see:
# https://research.ece.ncsu.edu/eda/freepdk
# For OSU 050/035/018 tech files see:
# https://vlsiarch.ecen.okstate.edu/flows/MOSIS_SCMOS/OSU_Copyright
PERMIT_PACKAGE = Yes
WANTLIB = c m
MASTER_SITES = http://opencircuitdesign.com/qflow/archive/
EXTRACT_SUFX = .tgz
MODULES = lang/tcl \
lang/python
MODPY_VERSION = ${MODPY_DEFAULT_VERSION_3}
BUILD_DEPENDS = ${MODTCL_BUILD_DEPENDS} \
cad/yosys \
cad/graywolf \
cad/opensta \
cad/qrouter \
cad/magic \
cad/netgen
RUN_DEPENDS = ${MODTCL_RUN_DEPENDS} \
cad/yosys \
cad/graywolf \
cad/opensta \
cad/qrouter \
cad/magic \
cad/netgen \
lang/python/${MODPY_VERSION},-tkinter \
shells/tcsh \
sysutils/ggrep
CONFIGURE_STYLE = gnu
CONFIGURE_ENV = TCLSH_PATH=${MODTCL_BIN}
USE_GMAKE = Yes
NO_TEST = Yes
post-install:
${MODPY_BIN} ${MODPY_LIBDIR}/compileall.py \
${PREFIX}/share/qflow/scripts
rm ${PREFIX}/share/qflow/bin/yosys-abc
ln -s ${LOCALBASE}/bin/abc ${PREFIX}/share/qflow/bin/yosys-abc
sed -i "s,/bin/tcsh -f,${LOCALBASE}/bin/tcsh," \
${PREFIX}/share/qflow/scripts/*.sh ${PREFIX}/bin/qflow
.include <bsd.port.mk>