package hardcaml_xilinx_components

  1. Overview
  2. Docs
Hardcaml Xilinx component definitions

Install

Dune Dependency

Authors

Maintainers

Sources

hardcaml_xilinx_components-v0.15.0.tar.gz
sha256=1cf266f90fec2ec7d6053289f4aa9b753d233b29ddc0c9be1e7d19b97b75f3f8

Description

A tool for reading Xilinx VHDL Unisim and XPM component definitions from a Vivado installation and generating Hardcaml interfaces automatically.

Published: 21 Mar 2022

README

"hardcaml_xilinx_components"

hardcaml_xilinx_components contains an incomplete vhdl parser that is able to parse the component definitions for the Xilinx Unisim and XPM libraries.

An application is provided which can generate Hardcaml interfaces for specific Xilinx components from the library definitions.

To use the application pass a (list of) filters for the module names you want included and reference the required VHDL file ie

$ hardcaml_xilinx_components.exe generate \
   -filter "LUT" -filter "RAMB" \
   -vhdl /opt/xilinx/Vivado/2019.1/data/vhdl/src/unisims/unisim_VCOMP.vhd
   > xilinx_components.ml

If no filters are specified, all components are output. If no vhdl is specified, stdin is used.

It has been tested with Vivado versions 2016.4 upto 2019.1.

Dependencies (9)

  1. re >= "1.8.0"
  2. dune >= "2.0.0"
  3. stdio >= "v0.15" & < "v0.16"
  4. ppx_jane >= "v0.15" & < "v0.16"
  5. hardcaml >= "v0.15" & < "v0.16"
  6. core_unix >= "v0.15" & < "v0.16"
  7. core >= "v0.15" & < "v0.16"
  8. base >= "v0.15" & < "v0.16"
  9. ocaml >= "4.08.0"

Dev Dependencies

None

Used by

None

Conflicts

None

OCaml

Innovation. Community. Security.