Skip to main content

vhlsrs

It means Vivado HLS run synthesis.

This package contains a script that runs vivado synthesis in a (somewhat) reproducible way.

It also allow to search for the minimum pipeline depth design for a given clock period constrain.

Usage

Experience description

The experience to run should be described in a .ini.

A complete experiment description looks like :

[EXP_NAME]
comp_path=path/to/component/file.cpp
top_level_comp= Name of top level function
period= clock period in ns (float)
part= part code name (default is xc7k160tfbg484)
standard= c++ standard to use. (default is c++11)
includes=comma separated list of directories containing includes to use during the synthesis. optionnal.
defines=Key=comma separated list of key=value preprocessor macro that will be defined during synthesis
keep_env=True/False Should the synthesis environment be kept after the synthesis is performed. Default is False.
ip_lib= Name of the ip library to use when exporting the ip (optionnal)
ip_version= Version to use when exporting the ip (optionnal)
ip_descr= description that will be exported along the vivado ip (optionnal)
ip_vendor= vendor name for the exported vivado ip (optionnal)
latency= ltency constraint for the initial design (optionnal)
hdl= verilog|VHDL
no_pipeline=True|False if true the design will not be pipelined (default false)
no_inline=True|False if true the function call will not be inlined (default false)
ctrl_hs=True|False Block protocol will be ap_ctrl_hs if true, ap_ctrl_none else. Default false.
exp_type=hls|syn|impl until which phase is the experiment to be performed

Running a one shot synthesis

python -m vhlsrs impl [expdescr.ini]

will implement the experiments described in expdescr.ini either with a latency constraint if given or with the minimal latency estimated by the tool.

Minimizing the latency

As vivado HLS is sometimes not very good at timing estimation, it can lead to overpessimistic latency.

the python -m vhlsrs minimize [expdescr.ini]

will attempt to find the lowest pipeline depth that still respect the clock constraints by dichotomy. If a latency constraint is provided, it will start the exploration with a designed with this constraint. Otherwise, it will start the exploration with the latency estimated by the tool.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vhlsrs-0.0.92.tar.gz (10.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vhlsrs-0.0.92-py3-none-any.whl (11.2 kB view details)

Uploaded Python 3

File details

Details for the file vhlsrs-0.0.92.tar.gz.

File metadata

  • Download URL: vhlsrs-0.0.92.tar.gz
  • Upload date:
  • Size: 10.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.1

File hashes

Hashes for vhlsrs-0.0.92.tar.gz
Algorithm Hash digest
SHA256 f02db0da36abc2c730a42c66332d8ea5b015020078496d5935981683fece1339
MD5 a87eddcf69a8a5d2621004bf9f2ee5ad
BLAKE2b-256 a6a940fa998f548371fc3f421d3fcafe65bef6b7747b1cd77559ff8b4cef2ed9

See more details on using hashes here.

File details

Details for the file vhlsrs-0.0.92-py3-none-any.whl.

File metadata

  • Download URL: vhlsrs-0.0.92-py3-none-any.whl
  • Upload date:
  • Size: 11.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.1

File hashes

Hashes for vhlsrs-0.0.92-py3-none-any.whl
Algorithm Hash digest
SHA256 eedbe7b33c2e990e46a53dacefc9d7a8171b9eb1ef5a55c58ca7e8e1345063a2
MD5 3958c12f1b5f6d523e796ff920291113
BLAKE2b-256 93f4301250fcfdb654474d200793caab98f3445c5095b307f1da54910ea25f3d

See more details on using hashes here.

Release history Release notifications | RSS feed

0.0.95

2 files

0.0.94

2 files

0.0.93

2 files

This release

0.0.92 This release

2 files

0.0.91

2 files

0.0.90

2 files

0.0.89

2 files

0.0.88

2 files

0.0.87

2 files

0.0.86

2 files

0.0.85

2 files

0.0.84

2 files

0.0.83

2 files

0.0.82

2 files

0.0.81

2 files

0.0.80

2 files

0.0.79

2 files

0.0.78

2 files

0.0.77

2 files

0.0.76

2 files

0.0.75

2 files

0.0.74

2 files

0.0.73

2 files

0.0.72

2 files

0.0.71

2 files

0.0.70

2 files

0.0.69

2 files

0.0.68

2 files

0.0.67

2 files

0.0.66

2 files

0.0.65

2 files

0.0.64

2 files

0.0.63

2 files

0.0.62

2 files

0.0.61

2 files

0.0.60

2 files

0.0.59

2 files

0.0.58

2 files

0.0.57

2 files

0.0.56

2 files

0.0.55

2 files

0.0.54

2 files

0.0.52

2 files

0.0.51

2 files

0.0.50

2 files

0.0.49

2 files

0.0.48

2 files

0.0.47

2 files

0.0.46

2 files

0.0.45

2 files

0.0.44

2 files

0.0.43

2 files

0.0.42

2 files

0.0.41

2 files

0.0.40

2 files

0.0.39

2 files

0.0.38

2 files

0.0.37

2 files

0.0.36

2 files

0.0.35

2 files

0.0.34

2 files

0.0.33

2 files

0.0.32

2 files

0.0.31

2 files

0.0.30

2 files

0.0.29

2 files

0.0.28

2 files

0.0.27

2 files

0.0.26

2 files

0.0.25

2 files

0.0.24

2 files

0.0.23

2 files

0.0.22

2 files

0.0.21

2 files

0.0.20

2 files

0.0.19

2 files

0.0.18

2 files

0.0.17

2 files

0.0.16

2 files

0.0.15

2 files

0.0.14

2 files

0.0.13

2 files

0.0.12

2 files

0.0.11

2 files

0.0.10

2 files

0.0.9

2 files

0.0.8

2 files

0.0.7

2 files

0.0.6

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page