diff --git a/cad/Makefile b/cad/Makefile index 2d54cd764cde..84e61e892167 100644 --- a/cad/Makefile +++ b/cad/Makefile @@ -1,160 +1,161 @@ COMMENT = CAD tools SUBDIR += PrusaSlicer SUBDIR += abc SUBDIR += admesh SUBDIR += adms SUBDIR += alliance SUBDIR += antimony SUBDIR += appcsxcad SUBDIR += archimedes SUBDIR += astk-client SUBDIR += astk-serveur SUBDIR += atlc SUBDIR += brlcad SUBDIR += calculix SUBDIR += calculix-ccx SUBDIR += camotics SUBDIR += caneda SUBDIR += cascade SUBDIR += cascade-compiler SUBDIR += chipvault SUBDIR += csxcad SUBDIR += cura SUBDIR += cura-engine SUBDIR += cvc SUBDIR += digital SUBDIR += dinotrace SUBDIR += ecpprog SUBDIR += electric SUBDIR += electric-ng SUBDIR += fasm SUBDIR += fdm_materials SUBDIR += feappv SUBDIR += fidocadj SUBDIR += freecad SUBDIR += freehdl SUBDIR += fritzing SUBDIR += gds3d SUBDIR += gdscpp SUBDIR += gdsreader SUBDIR += gdstk SUBDIR += gdt SUBDIR += geda SUBDIR += gerbv SUBDIR += ghdl SUBDIR += gmsh SUBDIR += gnucap SUBDIR += gplcver SUBDIR += graywolf SUBDIR += gspiceui SUBDIR += gtkwave SUBDIR += horizon-eda SUBDIR += hs-verismith SUBDIR += ifcopenshell SUBDIR += impact SUBDIR += irsim SUBDIR += iverilog SUBDIR += jspice3 SUBDIR += k40-whisperer SUBDIR += kicad SUBDIR += kicad-devel SUBDIR += kicad-doc SUBDIR += kicad-library-footprints SUBDIR += kicad-library-footprints-devel SUBDIR += kicad-library-packages3d SUBDIR += kicad-library-packages3d-devel SUBDIR += kicad-library-symbols SUBDIR += kicad-library-symbols-devel SUBDIR += kicad-library-templates SUBDIR += kicad-library-templates-devel SUBDIR += klayout SUBDIR += ktechlab SUBDIR += ldraw SUBDIR += ldview SUBDIR += leocad SUBDIR += lepton-eda SUBDIR += libgdsii SUBDIR += libopencad SUBDIR += librecad SUBDIR += libredwg SUBDIR += librepcb SUBDIR += librnd SUBDIR += logisim SUBDIR += magic SUBDIR += meshdev SUBDIR += meshlab SUBDIR += netgen SUBDIR += netgen-lvs SUBDIR += ngspice_rework SUBDIR += nvc SUBDIR += opencascade SUBDIR += opencascade740 SUBDIR += openctm SUBDIR += openfpgaloader SUBDIR += openroad SUBDIR += openscad SUBDIR += openscad-devel SUBDIR += opentimer SUBDIR += openvsp SUBDIR += oregano SUBDIR += p5-GDS2 SUBDIR += p5-Verilog-Perl SUBDIR += padring SUBDIR += pcb SUBDIR += pcb-rnd SUBDIR += pdnmesh SUBDIR += py-amaranth SUBDIR += py-cocotb SUBDIR += py-edalize SUBDIR += py-ezdxf SUBDIR += py-gdspy SUBDIR += py-gdstk SUBDIR += py-gmsh SUBDIR += py-lcapy SUBDIR += py-phidl SUBDIR += py-pyfda SUBDIR += py-pygmsh SUBDIR += py-pymtl SUBDIR += py-pyvcd SUBDIR += py-vunit-hdl SUBDIR += python-gdsii SUBDIR += qcad SUBDIR += qcsxcad SUBDIR += qelectrotech SUBDIR += qflow SUBDIR += qmls SUBDIR += qrouter SUBDIR += qspeakers SUBDIR += qucs-s SUBDIR += qucsator SUBDIR += repsnapper SUBDIR += rubygem-gdsii SUBDIR += scotch SUBDIR += silice SUBDIR += solvespace SUBDIR += sp2sp SUBDIR += spice SUBDIR += stepcode SUBDIR += stm32flash SUBDIR += sumo SUBDIR += surelog SUBDIR += svlint SUBDIR += svls SUBDIR += sweethome3d SUBDIR += tkgate SUBDIR += tochnog SUBDIR += uhdm SUBDIR += uranium SUBDIR += verilator SUBDIR += verilog-mode.el SUBDIR += veroroute SUBDIR += veryl SUBDIR += xcircuit SUBDIR += xyce SUBDIR += yosys + SUBDIR += yosys-ghdl-plugin SUBDIR += yosys-systemverilog SUBDIR += z88 SUBDIR += zcad .include 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.