Skip to main content
Help the Python Software Foundation raise $60,000 USD by December 31st!  Building the PSF Q4 Fundraiser

library of hardware components and test for HWToolkit framework (hwt, FPGA devel. tools)

Project description


Travis-ci Build StatusPyPI versionCoverage StatusDocumentation Status Python version

hwtLib is the library of hardware components for hwt framework (= IPcore repository).


Majority of components in this library is actually configurable component generator. Any component can be exported as IPCore using hwt.Packager or as HDL code by toRtl() (Verilog, VHDL, ...). Target language is specified by keyword parameter serializer. Note that for most of components there is a schematic in the documentation.

  • abstract - abstract classes for component classes like bus endpoint, etc
  • amba - AXI interfaces and components for them (AXI3/4 DMAs, interconnects, ..., Axi-stream components, ..., Axi4Lite address decoders etc...)
  • avalon - same thing as amba just for Avalon interfaces (AvalonST, AvalonMM, ... and components for them)
  • clocking - various PLLs, timer generators etc.
  • examples - demonstrative examples of hwt functionality
  • handshaked - components for handshaked interfaces (FIFO, AsyncFifo, Resizer, interconnects, Register, ...)
  • img - image preprocessing utils (parse PNG fornt to bits for OLED)
  • interfaces - various interfaces which does not have it's package yet
  • IPIF - IPIF interface and components for it (Interconnect, Register, address decoder, ...)
  • logic - various components like CRC generator, gray counter, decoders-encoders ...
  • mem - various memories (BRAM, ROM, FIFO, Async FIFO, CAM, LUT, ...)
  • peripheral - various peripheral interfaces and components for them (I2C, SPI, UART)
  • sim - simulation utils
  • structManipulators - DMAs for specific data structures
  • tests - tests which are not related to another components
  • types - deffinitions of common types (uint32_t, ipv6_t, udp_t, ...)


sudo pip3 install hwtLib

Repositories with opensource HW:

Project details

Download files

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

Files for hwtLib, version 2.8
Filename, size File type Python version Upload date Hashes
Filename, size hwtLib-2.8.tar.gz (223.0 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page