{"id":270,"date":"2017-11-07T14:45:07","date_gmt":"2017-11-07T14:45:07","guid":{"rendered":"http:\/\/fpganow.com\/?p=270"},"modified":"2017-11-07T14:45:07","modified_gmt":"2017-11-07T14:45:07","slug":"more-code-posted-to-github","status":"publish","type":"post","link":"https:\/\/fpganow.com\/index.php\/2017\/11\/07\/more-code-posted-to-github\/","title":{"rendered":"More Code Posted to Github"},"content":{"rendered":"<p>So I have figured out how to use the MicroBlaze Core with an AXI-Stream FIFO, and I have also figured out how to export a project from Vivado by using the Vivado &#8220;Write Project TCL&#8221; option.<\/p>\n<p><span style=\"text-decoration: underline;\">See the following project:<\/span><\/p>\n<p><a href=\"https:\/\/github.com\/JohnStratoudakis\/LabVIEW_Fpga\/tree\/master\/06_MicroBlaze\/04_lwIP_Ex\">https:\/\/github.com\/JohnStratoudakis\/LabVIEW_Fpga\/tree\/master\/06_MicroBlaze\/04_lwIP_Ex<\/a><\/p>\n<p>You have to re-generate the Vivado Project and create a new SDK workspace in order to get this to work on your machine.<\/p>\n<p>How to regenerate a Vivado project from a TCL script:<\/p>\n<h2>Step 1 &#8211; Start Vivado<\/h2>\n<h2>Step 2 &#8211; Change directory to where tcl script is located<\/h2>\n<p>Make sure you escape all Windows backslashes with another backslash<\/p>\n<p>i.e.<\/p>\n<p>Z:\\work\\git\\LabVIEW_Fpga\\06_MicroBlaze\\04_lwIP_Ex\\lwIP_Ex<\/p>\n<p>becomes<\/p>\n<p>cd &#8220;Z:\\\\work\\\\git\\\\LabVIEW_Fpga\\\\06_MicroBlaze\\\\04_lwIP_Ex\\\\lwIP_Ex&#8221;<\/p>\n<h2>Step 3 &#8211; Source the tcl script<\/h2>\n<p>source init.tcl<\/p>\n<p>That&#8217;s it!<\/p>\n<p>Note: I am still in the process of converting all of my projects to use this method, if you want a quick taste, check out the project here:<\/p>\n<p><a href=\"https:\/\/github.com\/JohnStratoudakis\/LabVIEW_Fpga\/tree\/master\/05_MicroBlaze_Mcs\/01_MicroBlaze_Mcs_GPIO\">https:\/\/github.com\/JohnStratoudakis\/LabVIEW_Fpga\/tree\/master\/05_MicroBlaze_Mcs\/01_MicroBlaze_Mcs_GPIO<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>So I have figured out how to use the MicroBlaze Core with an AXI-Stream FIFO, and I have also figured out how to export a project from Vivado by using the Vivado &#8220;Write Project TCL&#8221; option. See the following project: https:\/\/github.com\/JohnStratoudakis\/LabVIEW_Fpga\/tree\/master\/06_MicroBlaze\/04_lwIP_Ex You have to re-generate the Vivado Project and create a new SDK workspace in &#8230; <a title=\"More Code Posted to Github\" class=\"read-more\" href=\"https:\/\/fpganow.com\/index.php\/2017\/11\/07\/more-code-posted-to-github\/\" aria-label=\"Read more about More Code Posted to Github\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_coblocks_attr":"","_coblocks_dimensions":"","_coblocks_responsive_height":"","_coblocks_accordion_ie_support":"","footnotes":""},"categories":[1],"tags":[],"class_list":["post-270","post","type-post","status-publish","format-standard","hentry","category-uncategorized","masonry-post","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-50"],"_links":{"self":[{"href":"https:\/\/fpganow.com\/index.php\/wp-json\/wp\/v2\/posts\/270","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fpganow.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fpganow.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fpganow.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fpganow.com\/index.php\/wp-json\/wp\/v2\/comments?post=270"}],"version-history":[{"count":1,"href":"https:\/\/fpganow.com\/index.php\/wp-json\/wp\/v2\/posts\/270\/revisions"}],"predecessor-version":[{"id":271,"href":"https:\/\/fpganow.com\/index.php\/wp-json\/wp\/v2\/posts\/270\/revisions\/271"}],"wp:attachment":[{"href":"https:\/\/fpganow.com\/index.php\/wp-json\/wp\/v2\/media?parent=270"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fpganow.com\/index.php\/wp-json\/wp\/v2\/categories?post=270"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fpganow.com\/index.php\/wp-json\/wp\/v2\/tags?post=270"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}