Xilinx ISE fails to use std_logic_1164 - std

I have Xilinx ISE 13.1 installed on an ACER laptop with Win7 (64bit).
After installing the software (WebPACK version) I created an empty VHDL module and ran "check syntax". The process failed with the following errors:
Error:HDLParsers:3016 - "C:/Users/..." Library unit standard required for unit std_logic_1164 does not exist in library std.
and
Error:HDLParsers:3046 - "C:/Users/..." Line 21. Library unit STD_LOGIC_1164 is not available in library IEEE.
This also occurs if I run synthesize.
Googling solutions hasn't been very effective and the hyperlink for the error in ISE leads to a "page not found" result from the Xilinx website.
If anyone can shed any light on this I'd be very grateful.

make sure you install Xilin in a directory that does not contain space, some of Xilinx scripts will not work if your path contains a space.
It is a common mistake and should have been taken care of the installation SW, but Xilinx doesn't seem to be able to fix it after all these years.
Try to re-install the SW, make sure you install all your libraries and programs on the C:\ or what ever root directory you have and absolutely not under "program files" or "My Document" or something like that.

Related

Installing CUDA Windows 10

I am trying to install the CUDA toolkit in order to be able to use Thundersvm in my personal computer.
However I keep getting the following message in the GUI installer:
"You already have a newer version of the NVIDIA Frameview SDK installed"
I read in the CUDA forums that this most probably results from having installed Geforce Experience (which I have installed). So I tried removing it from the Programs and Features windows panel. However I still got the error, so my guess is that the "Nvidia Corporation" folder was not removed.
In the same question, they also suggested performing a custom install. However I could not find any information on how to do a custom install of the CUDA toolkit. I would really appreciate if someone could explain how to do this custom install or safely remove the previous drivers. I thought of using DDU but I read that sometimes it may actually lead to trouble.
I had the same problem while I was trying to get TensorFlow to use my NVIDIA GTX1070 GPU for calculations. Here's what allowed me to perform the CUDA Toolkit installation on my Windows 10 machine.
As the error message in the installer says - you already have a newer Frameview SDK installed. It was the case for me.
Go to Settings/Uninstall or modify programs.
Remove the NVIDIA Frameview program. It should be there with GeForce Experience, PhysX, etc.
Uninstalling only this NVIDIA program didn't cause any driver problems for my machine and I was able to progress through the CUDA Toolkit installation.
I just met the same problem and fixed it now.
This problem occurred because you chose the default installation configuration, which might contain many installed parts. In my situation, I have installed NVIDIA Nsight Compute, which is the culprit during the first few installs.
Unchecking the redundant parts should be helpful.

Installing MIT Scheme on Windows 10 -- 'Requested Allocation is too large'

I'm trying to get Scheme going so I can work through "Structure and Interpretation of Computer Programs" but I keep running into the above-mentioned issue. I know sort of how to solve the problem but I don't know how to go about setting the file in the bin directory to --library and --edit for the other directory. Can someone give me an idea if I'm supposed to use git bash, cmd, File directories(properties option)? I looked at properties and I did not find how to edit the file in such a manner.
The version of Scheme I'm using is MIT-GNU Scheme.
You can use the SICP package in Racket.
Download Racket for your OS - https://download.racket-lang.org/
Follow instructions here to install the sicp package : https://docs.racket-lang.org/sicp-manual/index.html
I just did it and got it running in minutes.
The releases provide binaries that run on i386 and x86-64 machines under the following operating systems: GNU/Linux and OS X. We additionally provide binaries for selected other architectures and systems, depending on the hardware and software that is available to us. We no longer support OS/2, DOS, or Windows.
from MIT/GNU Scheme

Porting Linux project to windows platform with VS2015 using “mussel" library

I could find that vs2015 comes with mussel library which is more like to use POSIX calls. I went through the installation guide provided and through the official link, came to know that I need to run configuration file followed by make.
But the configuration file has not been provided with vs2015.
I request you to let me know the procedure if someone has done this before.
musl doesn't support Windows; from the FAQ page:
What are musl’s dependencies?
Linux 2.6 or later. Earlier versions will suffice for running most simple single-threaded programs, but due to bugs and conformance issues at the kernel level, musl is not offically supported on earlier kernels.
(now, Windows 10 does support running Linux binaries through WSL, but in that case you would be building musl through gcc inside the Linux "container" and it would be another kind of game entirely)
As it comes as VS2015 along with third party license I thought there should be a way to get it done. The folder location is Microsoft Visual Studio 14.0\VC\vcpackages\IntelliSense\iOS\OSS\musl-1.1.10
As said in the comment, from the folder name it seems that it's there just to aid IntelliSense when editing code for iOS targets.

How to include CMake compatible with Cygwin on CLion on Windows?

I'm trying to configure CLion with Cygwin, but I'm having trouble with CMake. The program says that the bundled version doesn't work in that environment and that the CMake from Cygwin is outdated (needs a newer version). However, I tried installing an independant CMake but then the program says it isn't compatible with Cygwin. How do I fix this?
screenshot
I'm teaching a C++ programming class this semester. All of my students were able to successfully install/configure CLion without too much trouble. Most of them are on Windows boxes, Win7 and Win10.
In my instructions, I referred them to this video, which was the best I could find: https://www.youtube.com/watch?v=i2h_976SpV0
Some of the students were missing the debugger the first time they tried this. In the cygwin installer, the number of check boxes is enormous and many of the names are remarkably similar. When we went back through and re-ran the installer, in each case we were able to find a place where they had checked the wrong box.
So my recommendation would be re-run your cygwin installation after watching the video once through. Then go back to the frame in the video where he shows all his checked install options and very carefully compare your checked boxes against the presenter's.
Good luck!

How to simulate an Altera megafunction using Modelsim SE

___Hi, everyone. I have instantiated a PLL using the Megawizard in Quartus II. Then I wanted to simulate it using ModelSim SE because Quartus II 10.1 doesn't have a built-in simulator. I copied builtInPLL.vhd (output of the Megawizard) and PLL_tb.vhd (testbench) to the directory of the ModelSim project. But when I compiled builtInPLL.vhd, it gave out the following error messages:
Error: builtInPLL.vhd(39): Library altera_mf not found.
Error: builtInPLL.vhd(40): (vcom-1136) Unknown identifier "altera_mf".
relevant lines in builtInPLL.vhd:
LIBRARY altera_mf;
USE altera_mf.all;
I googled these messages but found nothing really helpful. I copied altera_mf.vhd from ..\eda\sim_lib and compiled it with builtInPLL.vhd. Modelsim still gave me the messages above. And many files with suffix .dat and .dbs were created in the work directory. What are they?
Where is the library altera_mf located? And how can I simulate a megafunction using ModelSim SE.
Any help will be appreciated.Thanks.
Standard ModelSim SE does not come with Altera library support, so you have to
install the Altera specific libraries like altera_mf. There is an example
Tcl script for this at ModelSim Tcl Scripting
Examples under Library Setup Script (VHDL).
As an alternative you can consider using the ModelSim-Altera version, which
comes with pre-installed Altera libraries, like the altera_mf. This ModelSim
version can be found at ModelSim-Altera
Software.
There is even a free version called "ModelSim-Altera Starter Edition".
Quartus II also has an interactive tool for this:
Tools > Launch Simulation Library Compiler > ...

Resources