{"id":159,"date":"2022-04-09T21:58:06","date_gmt":"2022-04-09T21:58:06","guid":{"rendered":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s22-teame1\/?p=159"},"modified":"2022-04-09T21:58:45","modified_gmt":"2022-04-09T21:58:45","slug":"ziyis-status-report-04-09-22","status":"publish","type":"post","link":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s22-teame1\/2022\/04\/09\/ziyis-status-report-04-09-22\/","title":{"rendered":"Ziyi&#8217;s Status Report &#8211; 04\/10\/22"},"content":{"rendered":"<p>This week we got a ton done on the hardware side of things. First of all, after finally squeezing out the final few compilation errors, we managed to get a trimmed down version of the kernel (everything sans nearest neighbor loops) built using Vitis HLS synthesis. After looking at the synthesis analysis, we were able to see that the correct loops were also getting synthesized, which meant that our code was being inferred correctly.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-160\" src=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s22-teame1\/wp-content\/uploads\/sites\/203\/2022\/04\/build-1-300x169.png\" alt=\"\" width=\"300\" height=\"169\" srcset=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s22-teame1\/wp-content\/uploads\/sites\/203\/2022\/04\/build-1-300x169.png 300w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s22-teame1\/wp-content\/uploads\/sites\/203\/2022\/04\/build-1-768x432.png 768w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s22-teame1\/wp-content\/uploads\/sites\/203\/2022\/04\/build-1-1024x576.png 1024w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s22-teame1\/wp-content\/uploads\/sites\/203\/2022\/04\/build-1.png 2048w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-163\" src=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s22-teame1\/wp-content\/uploads\/sites\/203\/2022\/04\/anal-300x117.png\" alt=\"\" width=\"300\" height=\"117\" srcset=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s22-teame1\/wp-content\/uploads\/sites\/203\/2022\/04\/anal-300x117.png 300w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s22-teame1\/wp-content\/uploads\/sites\/203\/2022\/04\/anal-768x299.png 768w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s22-teame1\/wp-content\/uploads\/sites\/203\/2022\/04\/anal-1024x399.png 1024w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s22-teame1\/wp-content\/uploads\/sites\/203\/2022\/04\/anal.png 1430w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>After passing synthesis, we were able to export the rtl implementation (the .xo file) and import it into regular Vitis itself without any additional troubles. Then, after implementing some basic interfacing code between the host program and the kernel, were were able to build a binary to run on the FPGA. In order to get this binary onto the board, we simply scp\u2019d the files onto the board.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-162\" src=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s22-teame1\/wp-content\/uploads\/sites\/203\/2022\/04\/transfer-300x124.png\" alt=\"\" width=\"300\" height=\"124\" srcset=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s22-teame1\/wp-content\/uploads\/sites\/203\/2022\/04\/transfer-300x124.png 300w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s22-teame1\/wp-content\/uploads\/sites\/203\/2022\/04\/transfer-768x317.png 768w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s22-teame1\/wp-content\/uploads\/sites\/203\/2022\/04\/transfer-1024x423.png 1024w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s22-teame1\/wp-content\/uploads\/sites\/203\/2022\/04\/transfer.png 1934w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>Running the program resulted in a segmentation fault, so we still have a bit to go. My goal for next week is to debug the interface and work on some optimizations with Alice and Jeremy.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This week we got a ton done on the hardware side of things. First of all, after finally squeezing out the final few compilation errors, we managed to get a trimmed down version of the kernel (everything sans nearest neighbor loops) built using Vitis HLS synthesis. After looking at the synthesis analysis, we were able &hellip; <\/p>\n<p class=\"link-more\"><a href=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s22-teame1\/2022\/04\/09\/ziyis-status-report-04-09-22\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Ziyi&#8217;s Status Report &#8211; 04\/10\/22&#8221;<\/span><\/a><\/p>\n","protected":false},"author":593,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s22-teame1\/wp-json\/wp\/v2\/posts\/159"}],"collection":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s22-teame1\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s22-teame1\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s22-teame1\/wp-json\/wp\/v2\/users\/593"}],"replies":[{"embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s22-teame1\/wp-json\/wp\/v2\/comments?post=159"}],"version-history":[{"count":2,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s22-teame1\/wp-json\/wp\/v2\/posts\/159\/revisions"}],"predecessor-version":[{"id":165,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s22-teame1\/wp-json\/wp\/v2\/posts\/159\/revisions\/165"}],"wp:attachment":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s22-teame1\/wp-json\/wp\/v2\/media?parent=159"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s22-teame1\/wp-json\/wp\/v2\/categories?post=159"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s22-teame1\/wp-json\/wp\/v2\/tags?post=159"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}