As far as I could find, there’s no arguments to vsim equivalent to the “-B”įlag for sccom/gcc. While loading the design, vsim compiles another object file, encode_tramp.o, and linking it fails as before. This solution works fine for compilation, but failed for me whenĪctually running a simulation with vsim. This tells GCC to look for binaries in /usr/bin when it calls ld to link. The first one is to supply sccom (Questasim’s GCC) with the “-B/usr/bin” argument. There’s three ways to make Questasim use the system’s linker, the first two of which are discussed in the bug report mentioned earlier. So we somehow have to get Questa to compile everything using it’s own compiler and then link it using the system’s linker. o files are compiled started adding extra information into them, which Questasim’s GCC 4.7.4 can’t handle. At some point in time, the tools with which these. However, the object files we’re telling it to link with aren’t. This is because the GCC version that comes with Questasim is quite old. Unfortunately, linking generated the following errors: $/ld: final link failed: Bad valueĬollect2: error: ld returned 1 exit status #Cadence installation on ubuntu code#Questasim comes with its own bundled GCC 4.7.4, which compiled the code just fine. The design I wanted to simulate requires SystemVerilog, Verilog, VHDL and SystemC, which means GCC is required. Linking code Part 1 – Environment variable Unfortunately, that didn’t quite do the trick for me, because I still couldn’t actually run Questasim. This indeed fixes the license manager issue, and it’s at this point Eldon’s blog post ends. #Cadence installation on ubuntu install#As shown in the mentioned blog post, you’ll get this error: # lmgrdĪRM’s website says to solve this by installing a package that make Ubuntu completely Linux Standard Base, whatever that might mean: # apt install lsb However, the FLEXnet license manager it uses won’t run. Now Questasim can be installed, and its bin path added to your $PATH. InstallationĪs detailed in this blog post by Eldon Nelson, the installer won’t work if you only have 64-bit libraries installed. This probably works on all Debian-like systems. However, I’m using Ubuntu 16.04 on my desktop, on which it won’t run by default. Mentor Questasim is officially only supported on RHEL.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |