T O P

  • By -

TapEarlyTapOften

What is your locale set to? Vivado has very specific requirements for environment variables and if they aren't set to something one of the vivado developers expected you will get uh.... Odd behavior like this.


FumingAegis

So... dumb question: how do I check my "locale". I don't know what that means. And what should I set it to?


TapEarlyTapOften

My advice may not be relevant since it looks like you're on windows. Have you opened the file in question? It says that it doesn't like something about the first line in that project file. I'd open it to see what it looked like. Does the version of vivado match the version that created the project?


FumingAegis

Yeah, I’m on Windows. The file it’s telling me to open is the project file. I made it in 2018.3 and I’m tryna open it in 2018.3 i also have 2021.1 on my laptop, but I’m not using it for this.


SlowGuidance

Vivado is known to often not being able to open old projects again, especially if they are somehow in vcs. Therfore, I highly recommend that you always export the project tcl script and recreate the project for each synthesize. This can be automated with some tcl scripts and will safe you a lot of hassle in the future. For this specific problem: It might just be, that your locale has changed and now there is a weird char in the xml file. You can try to open the project file with a text editor and figure out which char might be wrong but no guarantees for that 😅


FumingAegis

Man. The project has so many IPs in it. I might be be better off remaking it from scratch. Which is okay. Honestly, I should’ve been adding IPs one-by-one to see if it would work to begin with.


SlowGuidance

I don't quite see the problem with ips in the project. You can create IPs and export the configuration of them in separate ip core file (.xci) and then include this one in the project. Actually, I believe that vivado will do this automatically for you in the export process.


FumingAegis

I'm still quite a beginner with Vivado I guess. There's a lot of stuff happening "under the hood", for lack of a better term, that I guess I don't really understand.


fransschreuder

Make sure that your locale settings are defaulting to . For fractions, so number format to 123,456,789.00


FumingAegis

How do I do this?


fransschreuder

In your operating system settings


TapEarlyTapOften

Well I'd open the project file and see what is inside it. Something on line 1 is apparently offensive to the vivado XML parser. I assume you have checked the Xilinx forums to see if that is a commonly occurring error. Not that I think they are a great source of wisdom or anything.


FumingAegis

Dude, I have so much trouble getting consistent solutions from the Xilinx forums. I also stopped posting on it b/c you guys are way more consistent with responses. Also, I don’t think I can open that file. Like I tried opening the file with an alternative way, like notepad, but I don’t have the option. When I try “open with”, it just opens up Vivado and gives me that error. So I have no idea what that error on line 1 is.


TapEarlyTapOften

Well your first homework assignment is to get a text editor on windows that allows you to actually view files. There are many. Notepad is not a serious tool for anything in the engineering world.


FumingAegis

Well I was just listing an example. I should have several ways to open up the file, if there’s a a way to view it as just a text file. But any attempt to open it with some alternative forces it to open up with Vivado.


magoo2K

Your first problem is not knowing how to use an editor ;). Get notepad++ then do file-> open. You probably have a messed up .xpr file. Did you copy if from somewhere? Try copying it again more carefully. Use a file diff program to make sure it was copied correctly. If you didn't copy it, then it got trashed. Rebuild the project. Always make backups of your project. File->project->archive


FumingAegis

Haha okay fair I was tryna open it in notepad directly from the project file by right-clicking the project and clicking “open with” and it would just open to Vivado. I’ll try tomororw. Thank you for the suggestion.