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

Issue:#337 Added clog2 #361

Closed Sanchit-kumar closed 1 year ago

Sanchit-kumar commented 1 year ago

Description & Motivation

In SystemVerilog, $clog2 is a useful function. It is better to have clog2 as per #337

Testing

Added required test cases to

test/logic_value_test.dart test/math_test.dart

Documentation

Does the change require any updates to documentation? If so, where? Are they included?

Yes. I have update the following documentations:

README.md doc/tutorials/chapter_2/00_basic_logic.md