soc-hub-fi / headsail-vp

Headsail — Virtual Platform
0 stars 2 forks source link

Adds validation test for dla conv2d #40

Closed vilukissa68 closed 4 months ago

vilukissa68 commented 4 months ago

Sorry for the large PR. Though, I feel that this time most of it is justified :D

PR adds validate example to dla-driver which implements one of the RTL conv2d tests. During this implementation, it was revealed how DLA maps memory to convolution operands wasn't as straightforward as it initially seemed. This required changing the DLA VP implementation, which is now validated against the RTL test.

To include RTL test data into the binary I wrote a script that converts .mem files from the RTL project to Rust arrays, which could then be included in the example.

Also adds robot script to run validation in CI.