-
Notifications
You must be signed in to change notification settings - Fork 668
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
AXI Memory Over TL Serial Link #812
Conversation
@@ -99,6 +82,23 @@ class WithFireSimConfigTweaks extends Config( | |||
new chipyard.config.WithNoDebug | |||
) | |||
|
|||
// Tweaks that are generally applied to all firesim configs | |||
class WithFireSimConfigTweaks extends Config( | |||
// Optional*: Removing this will require adjusting the UART baud rate and |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Like this change.
Maybe call this WithFireSimClockingTweaks
, and keep the name of the old one?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, its probably safer to rename the old one as well, WithFireSimDesignTweak
, perhaps?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This WithFireSimConfigTweaks
combines the clocking with the "design" tweaks. In order to avoid changing FireSim itself (changing the build recipes), I will at least keep this name WithFireSimConfigTweaks
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you make a WithFireSimDefaultFrequencies
or something and compose the two of them to produce the old tweaks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had to unresolve this.
…eset | Don't use parameter system to pass referenceFreq
There is a distinction that needs to be made in the harness with these changes:
In the case that the reference clock coming from Here you can see that the reference clock for |
In the example you provide, the |
Yup that's correct. |
Will this setup come with a docs section under the "Advanced Concepts" section? |
Sure. Though I think I might re-work some of the "Communicating with the DUT" section a bit instead of adding a completely new page. Edit: Probably need to have a separate page telling people that they can request clocks in the harness... |
Ok this PR is ready for a final review. One thing to note though. If not using the |
This LGTM, although I think there can be some more deduplication that we can do later. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM (minor nit comment)
Co-authored-by: alonamid <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks pretty good, a couple of comments/potential issues.
Also did we already have some discussion about what to do about images and the source that generated them? If so what was the decision?
I think we had one in passing. And we didn't make a definitive decision. For now, I think the sources should not be put here since Chipyard is already big (we could just give a Drive link with the relevant sources and update them there). |
db6bf13
to
09ef82c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
I think the image source size issue doesn't make sense to me as I bet the source for those pngs is smaller than the output, but I'm not willing to die on this bike shed.
Related issue: ucb-bar/testchipip#121
Type of change: new feature
Impact: rtl change
Release Notes
This PR adds support for simulating an AXI memory interface over the default TL serial link in Chipyard/FireSim.
WithSerialTLBackingMemory
config frag. to moveExtMem
params toSerialTLKey
MulticlockAXIOverSerialConfig
,FireSimMulticlockAXIOverSerialConfig
)This was tested in FireSim @ 30MHz with the added config.