Closed jeremybennett closed 2 years ago
Issue is fixed by correcting the PLL simulation model. Verilator clock generation is significantly different from soc and emulation clocks and the inclusion of the PLL model failed to source the verilator clocks correctly.
Do we need to add something to either CI or regression to catch this earlier?
From: Greg Martin @.> Sent: Tuesday, February 1, 2022 11:01 AM To: openhwgroup/core-v-mcu @.> Cc: Subscribed @.***> Subject: Re: [openhwgroup/core-v-mcu] Debug unit reports no harts (Issue #213)
CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
Issue is fixed by correcting the PLL simulation model. Verilator clock generation is significantly different from soc and emulation clocks and the inclusion of the PLL model failed to source the verilator clocks correctly.
— Reply to this email directly, view it on GitHubhttps://github.com/openhwgroup/core-v-mcu/issues/213#issuecomment-1027182940, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AO4FHEMOW5T36CSCVZZ6JF3UZAUVDANCNFSM5NJ62R5Q. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you are subscribed to this thread.Message ID: @.**@.>>
Hi gang - a few comments on this one:
dev
branch of this repo.@gmartin102 Thanks for the quick turnaround. Tested and all working sweetly.
I have tested the latest work with the
genesys2
branch (commit 138c298).The Verilator model builds using
make model-lib
. However when the model is included in the test harness, the debug unit is now reporting no harts. I built the Verilator test harness (embench-target
repository,target
directory,jpb-jtag-driver
branch)I then run the testbench:
The messages about retry requested are worrying, and ISTR we saw the same when we had problems previously.