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

HasTilesModuleImp should not extends HasPeripheryDebugModuleImp #3276

Closed
wants to merge 1 commit into from

Conversation

sequencer
Copy link
Member

@sequencer sequencer commented Feb 27, 2023

I'm beaten by current debug io connections, and decide to get rid of HasPeripheryDebugModuleImp and instantiate our own version. However I just noticed, the HasTiles also extends HasPeripheryDebugModuleImp......
This PR simply remove HasPeripheryDebugModuleImp from HasTiles.

Related issue:

Type of change: bug report | feature request | other enhancement

Impact: no functional change | API addition (no impact on existing code) | API modification

Development Phase: proposal | implementation

Release Notes

@sequencer sequencer force-pushed the HasTilesModuleImp_fix branch from d52ad7c to f2fc1e6 Compare February 27, 2023 12:21
@sequencer sequencer force-pushed the HasTilesModuleImp_fix branch from f2fc1e6 to e568b41 Compare February 27, 2023 13:10
@sequencer sequencer requested a review from jerryz123 February 27, 2023 13:20
Comment on lines +76 to +83
lazy val debugCustomXbarOpt = p(DebugModuleKey).map(params => LazyModule( new DebugCustomXbar(outputRequiresInput = false)))
lazy val apbDebugNodeOpt = p(ExportDebug).apb.option(APBMasterNode(Seq(APBMasterPortParameters(Seq(APBMasterParameters("debugAPB"))))))
val debugTLDomainOpt = p(DebugModuleKey).map { _ =>
val domain = ClockSinkNode(Seq(ClockSinkParameters()))
domain := tlbus.fixedClockNode
domain
}
val debugOpt = p(DebugModuleKey).map { params =>
lazy val debugOpt = p(DebugModuleKey).map { params =>
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These lazy is necessary for avoid null pointer issue.

@jerryz123
Copy link
Contributor

Try #3279. I cherry-picked some changes from #3238

@sequencer sequencer closed this Feb 28, 2023
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

Successfully merging this pull request may close these issues.

2 participants