Automatic syntax checking in Vivado doesn't work for testbenches? - vhdl

When I edit a VHDL testbench (simulation source) in Vivado (project mode), background syntax checking seems to be disabled: Obvious syntax errors like missing semicolons or undefined signals are not underlined with a squiggly red line (as in all design sources).
Is there a way to activate automatic background syntax checking for test benches? Could there be another reason why some files are not syntax-checked?

This seems to be missing feature:
Xilinx Forums: No-syntax-highlighting-for-VHDL-testbenches

Related

Using a testbench .vhd file in vivado

I recently posted something with relation to this assignment but I have hit another stumbling block and can't seem to find the solution. I have got a 4 bit alu simulating but I am required to use a pre-written test bench provided to me by the teacher. I have imported the test bench file and un selected the check mark next to synthesis in the source file properties as instructed.
My unit under test as detected by the testbench source file is the entity .vhd file of my project and so all should be fine except that when I simulate the program it just simulates as per normal with no output in the tcl console regarding any of the assertions of which the testbench is composed.
I have obviously googled and got more instructions about how to do this but I couldn't get specific instructions for the vivado software. It talked about xilinx and there being a process window, which is nowhere to be seen in Vivado. I can't understand why this so seemingly simple thing is taking me so long to figure out. There aren't any syntax errors and it says in the messages near the compiler window that the testbench is being parsed. Here is a screenshot of my file structure in the vivado IDE.
Can anyone please tell me how to do this?
Thanks,
Simon.
When you simulate, it will use whatever is set as the top level simulation entity as the top level for that simulation. In your image, the test bench is selected in the project hierarchy, but the UUT is set as the top module. You need to right click your test bench, and choose 'Set as Top'.

Creating Schematic Symbol in Xilinx ISE14.7

I have used sfixed signals, using the ieee_proposed library in my design.
My design works fine, but now I want to create Schematic Symbol from ISE14.7(Under Design Utilities). I am getting an error saying that ieee_proposed is not found.
How can I resolve this error?

How do I suppress a CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF warning on a per file basis in Xcode?

How do I suppress a CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF warning on a per file basis in Xcode?
I would like to to suppress some warnings using the per-file option Compile Sources in Xcode.
I've tried:
-Wno-CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF
-fno-CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF
I've usually done this kind of suppression with a pragma directive.
(PS I don't need to be told that this isn't a good thing to be doing.)
OK, for the benefit of others, it's -Wno-implicit-retain-self
I should have realised this. The corresponding flag should have been used,, which I found here

Can I run cpplint from within code::blocks?

Is it possible to run Google's cpplint.py from within Code::Blocks, so I can jump from one error to the next in the source code?
For those unfamiliar with cpplint.py, it's a python script that flags lines that violate the Google Style Guide. It outputs error messsages in the same format as gcc's compiler errors, so emacs for example has no trouble the error spew correctly to step from one flagged line to the next.

"Universal" source code samples/snippets (in different programming languages) for checking IDE/editor syntax highlighting

Is there anywhere in Internet such compilation of "universal" example source codes - in different programming languages - for checking if code's syntax highlighting in IDE/editor works good?
Source code samples, which uses every available language's keywords and statements to check if syntax highlighting works well.
It should look like Octopress "Syntax Highlighting Test" test page. But there, in few examples, the language syntax isn't fully utilized, to show full potential to user.

Resources