package hardcaml_xilinx_components

  1. Overview
  2. Docs
Hardcaml Xilinx component definitions

Install

Dune Dependency

Authors

Maintainers

Sources

hardcaml_xilinx_components-v0.16.0.tar.gz
sha256=51f52de39bacae0026b61e8d419940718d7e2281e1ecbec1ee3240ae6fe62ad8

Description

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

Published: 14 Jun 2023

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.16" & < "v0.17"
  4. ppx_jane >= "v0.16" & < "v0.17"
  5. hardcaml >= "v0.16" & < "v0.17"
  6. core_unix >= "v0.16" & < "v0.17"
  7. core >= "v0.16" & < "v0.17"
  8. base >= "v0.16" & < "v0.17"
  9. ocaml >= "4.14.0"

Dev Dependencies

None

Used by

None

Conflicts

None