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

Crossbar based data SRAM #40

Merged
merged 17 commits into from
Dec 18, 2024
Merged

Crossbar based data SRAM #40

merged 17 commits into from
Dec 18, 2024

Conversation

tancheng
Copy link
Owner

@tancheng tancheng commented Dec 13, 2024

A crossbar is in between the data memory and the tiles.

  • Allows the crossbar to send requests to NoC (via controller).
    • For now, the outstanding request would block all the other remote access requests.
  • Need to check the generated/translated SVerilog.
       for i in range(num_xbar_in_rd_ports):
         arbitrated_rd_msg = s.read_crossbar.packet_on_input_units[i]
         if (s.read_crossbar.send[arbitrated_rd_msg.dst].msg.src == i) & (arbitrated_rd_msg.dst < num_banks):
           loaded_msg = s.reg_file[trunc(arbitrated_rd_msg.dst, LocalBankIndexType)].rdata[0]
           if i <= s.num_rd_tiles:
  • Not sure how synthesizer would handle this, replacing temporary variables with original ones for now.
  • E2e test
  • Different types of requests/messages:
    • Memory access pkt go through the xbar.
    • Load/store requests on NoC.
    • Commands go through NoC.

TODO in next PRs:

@tancheng tancheng linked an issue Dec 18, 2024 that may be closed by this pull request
Copy link
Collaborator

@yuqisun yuqisun left a comment

Choose a reason for hiding this comment

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

Cool!

@tancheng tancheng merged commit ae2b40c into master Dec 18, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature New feature or request
Projects
2 participants