lowRISC / opentitan

OpenTitan: Open source silicon root of trust
https://www.opentitan.org
Apache License 2.0
2.51k stars 745 forks source link

[hw/sw] HJSON pinmux configurations #8380

Closed timothytrippel closed 1 year ago

timothytrippel commented 2 years ago

There may be multiple intended use cases of the OpenTitan SoC, each using various (sub)sets of on-chip peripherals. Additionally, there are multiple supported targets for simulating/operating OpenTitan hardware on, each supporting various pinout configurations. We need a mechanism to configure the pinmux module, via its DIFs, based on intended use-case and target (DV and verilator sims, FPGA, and silicon) combinations.

To configure the pinmux for testing all intended use-cases, across all targets we support, we could develop an enhanced interface with the following requirements:

msfschaffner commented 1 year ago

This seems to be out of date by now since we ended up dealing with this differently. I.e., each software test configure the parts it cares about in the pinmux via the DIF. Likewise, the DV environment has a way of muxing in interfaces in a coarse grained way, basing the pin locations on the primary use case.

It thus feels like this issue can be either closed, or deferred into the backlog if we intend to come back to this again.

@sriyerg @tjaychen WDYT?

timothytrippel commented 1 year ago

Yep this can be closed now I believe. (Feel free to re-open if you feel otherwise though.)