Generating project TCL file and regenerating project from TCL file in Vivado

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
well before we move on what we'll show you one more feature of the water so you might have seen produced ribbiting the signings project in the form of table files so you might not see the expect or any of the IP code files instead you will be just seeing a dot ECL file and you'll be able to regenerate your entire system from the sticker files I'll just show you how to generate that file and how to regenerate your system from that if you file I want to do it because I want to distribute my block designs also to you Rohit I'll just post the dot pickle file and you should be able to regenerate the whole system from that table file ok so to use it you don't have to be again an expert in picture but some minor modification you will have to do so that I will explain to you so the first thing you need to do is assuming you are the one who is designing the system and you want to distribute to your system using picture you design your entire system and you make sure everything works fine you can weld it you can simulate you can implement check everything once you're happy with your design you should go to file and choose pipe project he will ask you web save that script file so I'll just go ahead and create a folder and call it ok system script because I am going to save my little file here we need to give some name also it's called it's cisgender or TCL that's the name of the ticker now better to click this option also create block design using tickle so what it does is this block diagram information is also converted into tickle format otherwise you will have at opticals file which is using a mother file which is used for generating this block design so let me go ahead and just push this option also and you just say say you and we water will and read that little file for you so let's go ahead and see that file so this is that file now you'll be able to distribute this file to other people so that they can regenerate it now some of the few issues are depends okay so if you have some vilified which you wrote for example I have mostly this one it is my my court note from signings and if you have XTC file again which is modified by you so this ecstasy was written by us both will be using the absolute part in your computer so this we will have to modify so that other people they can also you can write the system otherwise they should have to use file exactly at these locations so I think they will always lead East these files at the top which may be the problematic files and those files you will have to do some modification in the file part what you should do is maybe we can create a new folder and let me call one HDL and one as constraints and what our files are referred here you will copy copy them these local folder so let me go through my amount of projects this one I guess so so this one new MUX is sitting here so that I will copy to my HDL folder as well as the proper file or signed copy which is inside the sirs this is one inside sign vgs system HDL and with a system wrapper so these two file will copying this HDL folder and the constraint file it should be in the constraints folder actually will cope it for lahia that now we'll have to edit these things here the wherever he is referring my local files we have okay so origin project said the battery part for the original project from the script was exported that's fine but you don't have to page because he is not going to use it this we have to change okay so this is where he is accessing the MUX so let me just call it now HDL flash MUX and this one if HD and slash gear system rap so those movie changed but we have to change where the constraints are okay so this is one place where constrain so let's call it and strains and there is one more ace here constraints although the full path is not here this is exactly using that xdc files so this place also you should change okay so and one again max so HDL and I guess that's it I can search with this path it's fine yeah so that's it you can just zip this folder this folder and distribute other people so that they can regenerate it now I will show you how to regenerate your system so assume you are the one who caught that script file so let me close this project and you can regenerate the system using vertical now that you can do either from the command prompt or from Vivaro itself so I will show you how to do it from Vivaro it is easy to do from the command prompt also much difference what you should do is at the bottom of you are when you open you will have this little console even if you don't have any project and you can choose a run little script from here and you can browse and show that new script or you can use change directory here and browse and go to that folder and run it from here so let me do that change directory so see uses distant script so you change directory and after that you just bank source sis gen whatever is typical for and now you will see like you automatically open the project VGA interface he created the project now he is running commands from the one by one so you will see like he is now generating the block design he's adding the IP Co he is adding the things now you'll see like he will connect all the signals together and he had a constraint file also you can see he created that tab yeah so this is how we regenerate the system if you have reconfirm and now you can just go ahead and synthesize and implement it and you can don't make sure that we usually face is the versions of we were not matching when we are trying to regenerate for example I am using now 2017 bian for version and assume have a different version so here I have 20 18.3 and let's see what happens when I run a script generator in 2017 in so first let me again get this folder is the folder a generator Vivaro ok so you can see all project and all source files everything is there so I'm going to use the same folder location so we have to hit that folder and now using this can now he is trying to regenerate the system okay he hid the project she's trying to generate the block design now you can see the command create underscore BD underscore design create block design and we got an error okay so the error will be also coming in the tickle console so he is saying he'll see signings epic lock five point four is not supported for the current prop 8 is supported to a show for this part is 6.0 so this is the error that you will usually because the pickle script it also includes the version number of the IP course now Xilinx releases new versions of free wardo they usually upgrade the IP core versions also so if the numbers are not matching you will start to get this error so we were using aquas at 5.40 1710 this 2018 version what is available is version 6 so there are technique where you can modify this tickle scrape where the versions of IP warn map that technique I will show you later or I will show you the pickle script for that beta the usual method to solve it is you just go ahead and see arrow at that IP version is coming and you just modify the version indicated by Vivaro here so you want 6.0 so wherever talked with that is there 5.4 you will change it to 6.0 now you may have to do it for all the eyepiece whose version is not matching now for you rerun you should close this project because that project is already open and if you directly try to rerun it will give an error saying that project already exists in the folder which is true because you already have this folder here so there are two ways to solve it either you delete that folder the run or in the tickle that is a command where he is generating the project that we create project each one so there we have to add the option - force that means if the product already exists he will delete that project and he will regenerate so it seems like only the clock andreita had a version issue all of the versions are matching between 2017 and 2018 oceans but if you get errors for other IP goes like if you are using version 20 19.2 maybe you will get errors for more IP calls so he'll say like which is the latest available IP in the current we were diversion and in the tickle you just have to update it so once you do that everything will be fine and you will have your and their system here okay so finally I will just show you how to run it from the command prompt also for that path to be water tools should be already configured and you just go there interface and you type the command the wardo iPhone mode UCL - service name of the script we water has actually three modes one is the GUI GUI mode which we have been using the graphical mode another one is the pickle mode where you won't have graphics and you will be dealing in Delhi using and there's a third mode also called the bash mode where you won't get even the project file everything will be in system so you would be dealing everything in the memory of the system you won't have separate project file and door so if you run this one you will see the same thing happens and everything happens much faster you can see he is opening the project here you can see already created the folder here already open the project and now he is generating sign yes so finally you should spring project creator and you can exit from the tickle mode and you can just go ahead and open this experiment achill commands for Vivaro we may see later it's possible I will have separate tutorials on features of Favaro all the synthesis implementation bitching everything can be run from from the hell command prompt you don't have to even open this project okay so that's all in this video so I'll be posting the octanol sewing kit in the CL forum
Info
Channel: Vipin Kizheppatt
Views: 3,669
Rating: 5 out of 5
Keywords: #Vivado #Xilinx #TCL
Id: BXhLFecEPc8
Channel Id: undefined
Length: 16min 19sec (979 seconds)
Published: Sat Apr 11 2020
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.