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

Fix 3.6 TypeSafe section #133

Open
chick opened this issue Jan 24, 2021 · 1 comment
Open

Fix 3.6 TypeSafe section #133

chick opened this issue Jan 24, 2021 · 1 comment

Comments

@chick
Copy link
Contributor

chick commented Jan 24, 2021

This does not compile right now. Not clear if it is current with scala/java
Gets java null pointer exception

@wunderabt
Copy link
Contributor

Is this about

    val bundleIn = Input(new Bundle2)
    val bundleOut = Output(new Bundle1)

? I ran into that problem too. Not sure if it helps the analysis but commenting out the output and changing the input to Bundle1 at least doesn't crash. All other combinations run into one or the other stack trace.

    val bundleIn = Input(new Bundle1)
    // val bundleOut = Output(new Bundle1)
module BadTypeModule(
  input        clock,
  input        reset,
  input        io_c,
  input  [1:0] io_in,
  output       io_out,
  input  [7:0] io_bundleIn_a
);

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

2 participants