intel / intel/rohd

Add SystemVerilog generation control for top of module definition

Open
#513 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Dart
Stars
489
Forks
88
Avg merge
3d 23h
Merged PRs (30d)
10

Description

### Motivation

There are some cases where the top of the module definition may need to be modified slightly, but not entirely. For example, adding package imports (in case they are necessary for some other custom systemverilog macro, for example) at the top of the module. It would be nice to expose some configurability, probably through `SystemVerilog` to control that type of thing.

### Desired solution

Add a hook so that things can be added at the "top" of a `Module` in generated SV, or a way to control/override the top of the definition (module name, parameters, ports, etc.).

### Alternatives considered

_No response_

### Additional details

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.