Skip to content

feat: add a systolic array model to buckyball#1

Closed
daiyongyuan wants to merge 2 commits intoDangoSys:mainfrom
daiyongyuan:systolic_array
Closed

feat: add a systolic array model to buckyball#1
daiyongyuan wants to merge 2 commits intoDangoSys:mainfrom
daiyongyuan:systolic_array

Conversation

@daiyongyuan
Copy link
Contributor

No description provided.

Copy link
Member

@shirohasuki shirohasuki left a comment

Choose a reason for hiding this comment

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

Thank you for your contribution, I did a quick review.


println!("2x3 * 3x2 matrix multiplication test passed!");
}
}
Copy link
Member

Choose a reason for hiding this comment

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

this file is too long, please split it

// Latency parameters
read_latency: 16.0, // 16 cycles to read data
compute_latency: 16.0, // 16 cycles for computation
write_latency: 16.0, // 16 cycles to write results
Copy link
Member

Choose a reason for hiding this comment

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

where are these latency from?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Simulate physical delays in real hardware systems,Op 1 read,Op 2 read,Calculation,Result write

Copy link
Member

Choose a reason for hiding this comment

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

why is 16 cycles not one. The latency of the SRAM's response to a request is only a few cycles, and the SA is unaware of the memory response latency.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I know,may be necessary to calculate dynamic latency?

Copy link
Member

Choose a reason for hiding this comment

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

I believe a simple SA implementation could be written within 300 lines, excluding test code.

@shirohasuki shirohasuki changed the title Systolic_array feat: add a systolic array model to buckyball Jan 22, 2026
@shirohasuki
Copy link
Member

These features have been merged in #3 , close this PR

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