Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

duh

Package Overview
Dependencies
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

duh

Design Unit Hardware

  • 1.17.8
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
9
increased by125%
Maintainers
1
Weekly downloads
 
Created
Source

NPM version Actions Status Coverage Status

Design ∪ Hardware

DUH ("Spirit" in most slavic languages. pronounced /dûx/, with the final consonant of loch or Bach) is a suite of tools for packaging reusable hardware components and designs. DUH enables the generation of JSON5 (duh documents) for describing these components, and also enables export from these documents to output deliverables.

Install

Check that you have Node.js version (6 - 11) installed by running:

node --version

On Installing Node.js via package manager

Install duh tool suite.

npm i duh

And test installation with duh --help

Quick start

Base set of DUH tools to author duh documents:

  • Create

    • Run duh init to create a base document.
  • Import

    • SystemVerilog: Run duh duh-import-verilog-ports to import an interface from Verilog RTL of the component
    • IPXACT: duh-ipxact
  • Infer

    • Run duh-portinf to infer mappings of portgroups to standard bus definitions AXI, AHB, TileLink, etc.
    • Run duh-portbundler to group ports, which are unassigned to a bus mapping, into structured bundles.
  • Validate

    • Run duh validate to test whether a given document conforms to the DUH document structure.
  • Export

    • Run duh-export-scala to generate scala black box wrappers for the component.
    • IPXACT: duh-ipxact

DUH toolbox

Example of DUH documents

  • block-ark for a walk-through example using the DUH suite on a standalone module to produce a valid duh-document that fully describes the mapping of ports to known bus definitions.

FAQs

Package last updated on 19 May 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc