package hardcaml_xilinx_reports

  1. Overview
  2. Docs

Module Hardcaml_xilinx_reports.ClockSource

Define properties of clocks on the top level module. The most important properties are the clock net name and it's period.

We also allow specification of the input BUFG driving the clock pin. This is optional, but allows the synthesizer to approximate skew across the device. It is specified at a bufg location constraint ie BUFGCTRL_X0Y2.

Sourcetype t
Sourceval create : ?clk_src_bufg:Base.String.t -> name:Base.String.t -> period:Base.Float.t -> Base.Unit.t -> t

Create a clock with the period specified in nanoseconds.

Sourceval create_mhz : ?clk_src_bufg:Base.String.t -> name:Base.String.t -> frequency_mhz:Base.Float.t -> Base.Unit.t -> t

Create a clock with the frequency specified in MHz.

Sourceval name : t -> Base.String.t
Sourceval period : t -> Base.Float.t
Sourceval clk_src_bufg : t -> Base.String.t Base.Option.t
OCaml

Innovation. Community. Security.