package hardcaml_xilinx_components

  1. Overview
  2. Docs
Hardcaml Xilinx component definitions

Install

Dune Dependency

Authors

Maintainers

Sources

v0.17.0.tar.gz
sha256=b3e7c8db60c0407cca91bbaf470c003a6d0831a45db90622f241fbdb88084206

Description

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

Published: 26 May 2024

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 >= "3.11.0"
  3. stdio >= "v0.17" & < "v0.18"
  4. ppx_jane >= "v0.17" & < "v0.18"
  5. hardcaml >= "v0.17" & < "v0.18"
  6. core_unix >= "v0.17" & < "v0.18"
  7. core >= "v0.17" & < "v0.18"
  8. base >= "v0.17" & < "v0.18"
  9. ocaml >= "5.1.0"

Dev Dependencies

None

Used by

None

Conflicts

None

OCaml

Innovation. Community. Security.