intel / rohd

The Rapid Open Hardware Development (ROHD) framework is a framework for describing and verifying hardware in the Dart programming language.
https://intel.github.io/rohd-website
BSD 3-Clause "New" or "Revised" License
374 stars 67 forks source link

Add clog2 functionality #337

Closed mkorbel1 closed 1 year ago

mkorbel1 commented 1 year ago

Motivation

In SystemVerilog, $clog2 is a useful function.

It would be nice to have a synthesizable Module and associated functions for generating hardware and SystemVerilog with $clog2

Desired solution

Alternatives considered

No response

Additional details

No response

mkorbel1 commented 1 year ago

Closed in #361