The Rapid Open Hardware Development (ROHD) framework is a framework for describing and verifying hardware in the Dart programming language.
BSD 3-Clause "New" or "Revised" License
374
stars
67
forks
source link
Add clog2 functionality #337
Closed
mkorbel1 closed 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
Module
that generates$clog2
in output SystemVerilog and appropriately simulates in the ROHD simulator.Logic
) to automatically generate this module in a convenient API.Alternatives considered
No response
Additional details
No response