Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please make some classes in simulator package public for simulator customization. #4240

Open
zhutmost opened this issue Jul 2, 2024 · 0 comments

Comments

@zhutmost
Copy link

zhutmost commented Jul 2, 2024

Type of issue: Feature Request

Is your feature request related to a problem? Please describe.
I want to customize the simulation process with svsim. But some important classes in [chisel3/simulator/package] are private, such as:

  • class SimulatedModule has a private constructor. It should be public, or I cannot create one during simulation.
  • object AnySimulatedModule is private. please make it public. Or users cannot use its methods withValue and current.
  • class AnySimulatedModule is sealed (cannot be extended) and has many private/protect methods.

I am writing some new things like PeekPokeAPI and EphemeralSimulator. And the above APIs are private so that I cannot access them (unless I fork a whole chisel).

Describe the solution you'd like
make the above simulator's APIs public.

Describe alternatives you've considered
N/A.

Additional context
N/A.

What is the use case for implementing this feature?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant