<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><title>Bozica (Posts about ISE)</title><link>http://bozica.co/</link><description></description><atom:link rel="self" type="application/rss+xml" href="http://bozica.co/categories/ise.xml"></atom:link><language>en</language><lastBuildDate>Mon, 26 Jun 2017 13:31:06 GMT</lastBuildDate><generator>Nikola (getnikola.com)</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Compiling xilinx simulation libraries for modelsim</title><link>http://bozica.co/posts/compiling-xilinx-simulation-libraries-for-modelsim/</link><dc:creator>Luis Ardila</dc:creator><description>&lt;div&gt;&lt;p&gt;We will use Simulation Library Compilation Wizard for compiling the libraries,
this method is highly recommended because library compilation can be performed for more
than one device family and/or language.&lt;/p&gt;
&lt;ol class="arabic"&gt;
&lt;li&gt;&lt;p class="first"&gt;Open the Simulation Library Compilation Wizard. This can be accessed from Start
Menu!Programs!Xilinx ISE Design Suite 13.x!ISE Design Tools!32-bit Tools.
Note: If you are using 64-bit version of ModelSim use the Simulation Library Compilation
Wizard from 64-bit Tools. ModelSim PE Student Version 10.x is only available in the
32-bit version.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;The Select Simulator window opens up. Select the appropriate simulator (For Student
Edition select ModelSim PE), enter c:nmodeltech64 10.0cnwin64 for executable location,
compxlib.cfg for Compxlib Con guration File and compxlib.log for Compxlib Log File.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;Next select the HDL used for simulation. If you are unsure select Both VHDL and Verilog.
However, this will increase the compilation time and the disk space required.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;Then select all the device families that you will be working with. Again the more number
of devices, more the compilation time and the disk space required. Remember that you
can always run the compilation wizard at a later time for additional devices.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;The next window is for Selecting libraries for Functional and Timing Simulation. Di erent
libraries are required for di erent types of simulation (behavioral, post-route, etc.). We
suggest that you select All Libraries as the default option. Interested users can refer to
Chapter 6 of the Xilinx Synthesis and Simulation Design Guide for additional information.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;Finally the window for Output directory for compiled libraries is shown. We suggest to
leave the default values that Xilinx picks. Then select Launch Compile Process.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;Be patient as the compilation can take a long time depending on the options that you
have chosen.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;The compile process may have contain a lot of warnings but should be error-free. We
have not explored the reasons behind these warnings, but they do not appear to a ect
the simulation of any of our designs.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;Once the process is completed, open c:nmodeltech64 10.0cnmodelsim.ini and verify if there
are libraries pointing to the output directory entered in step 6. This will happen only if
you have set the environment variables.&lt;/p&gt;
&lt;p&gt;Library compilation is now complete. If you have not set the environment variables then
the wizard creates a modelsim.ini in the output directory entered in step 6. By default this
location is c:nXilinxn13.xnISE DSnISE. Open this le and verify that it contains the location of
the libraries that were just compiled. This le should be copied into every project you create.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;For more info, take a look at this &lt;a class="reference external" href="http://bozica.co/docs/Xilinx_13x_Modelsim_10.pdf"&gt;pdf&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><category>ISE</category><category>modelsim</category><category>xilinx</category><guid>http://bozica.co/posts/compiling-xilinx-simulation-libraries-for-modelsim/</guid><pubDate>Fri, 06 Sep 2013 10:30:24 GMT</pubDate></item><item><title>put custom template format into xilinx autogenerated files</title><link>http://bozica.co/posts/put-custom-template-format-into-xilinx-autogenerated-files/</link><dc:creator>Luis Ardila</dc:creator><description>&lt;div&gt;&lt;p&gt;If you have your own installation of the software you could hard code your
changes into the Tcl scripts that control this.&lt;/p&gt;
&lt;p&gt;For example, the company name could be entered for VHDL modules and VHDL TBs in the following files.&lt;/p&gt;
&lt;dl class="docutils"&gt;
&lt;dt&gt;– VHDL Module - line 713&lt;/dt&gt;
&lt;dd&gt;&lt;div class="first last"&gt;&lt;pre class="code console"&gt;&lt;a name="rest_code_d97c39ce72824ac28d3cd2bb723bc398-1"&gt;&lt;/a&gt;&lt;span class="go"&gt;C:\xilinx\13.1\ISE_DS\ISE\data\projnav\scripts\dpm_sourceTasks.Tcl&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;&lt;/dd&gt;
&lt;dt&gt;– VHDL Testbench&lt;/dt&gt;
&lt;dd&gt;&lt;div class="first last"&gt;&lt;pre class="code console"&gt;&lt;a name="rest_code_8c7027fcad6b4f148016ed4f4004c6c7-1"&gt;&lt;/a&gt;&lt;span class="go"&gt;C:\xilinx\13.1\ISE_DS\ISE\data\testbnch2.tcl&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;&lt;/dd&gt;
&lt;/dl&gt;
&lt;p&gt;I modified my file like this:  (however I had some issues later and it wasn't
doing anything, just creating blank files, If you have a solution for this please
let me know, if not try this under your own risk.)&lt;/p&gt;
&lt;pre class="code text"&gt;&lt;a name="rest_code_622d7fea54ba46ab8d736b01eafc65d6-1"&gt;&lt;/a&gt;set _t [clock seconds]
&lt;a name="rest_code_622d7fea54ba46ab8d736b01eafc65d6-2"&gt;&lt;/a&gt;set _ts [clock format $_t -format "%H:%M:%S %m/%d/%Y"]
&lt;a name="rest_code_622d7fea54ba46ab8d736b01eafc65d6-3"&gt;&lt;/a&gt;set _date_stamp [clock -format "%m/%d/%Y"]
&lt;a name="rest_code_622d7fea54ba46ab8d736b01eafc65d6-4"&gt;&lt;/a&gt;global xilinx::Dpm::INewSourceHdlDataID
&lt;a name="rest_code_622d7fea54ba46ab8d736b01eafc65d6-5"&gt;&lt;/a&gt;set _iHdlData [$iNewSourceComp GetInterface $INewSourceHdlDataID]
&lt;a name="rest_code_622d7fea54ba46ab8d736b01eafc65d6-6"&gt;&lt;/a&gt;if { $_iHdlData == 0 } {
&lt;a name="rest_code_622d7fea54ba46ab8d736b01eafc65d6-7"&gt;&lt;/a&gt;return [dpm_Fail "interface passed to Create New Source code hook is invalid."]
&lt;a name="rest_code_622d7fea54ba46ab8d736b01eafc65d6-8"&gt;&lt;/a&gt;}
&lt;a name="rest_code_622d7fea54ba46ab8d736b01eafc65d6-9"&gt;&lt;/a&gt;set _entityName ""
&lt;a name="rest_code_622d7fea54ba46ab8d736b01eafc65d6-10"&gt;&lt;/a&gt;dpm_returnOnFail { $_iHdlData GetEntityName _entityName }
&lt;a name="rest_code_622d7fea54ba46ab8d736b01eafc65d6-11"&gt;&lt;/a&gt;set _archName ""
&lt;a name="rest_code_622d7fea54ba46ab8d736b01eafc65d6-12"&gt;&lt;/a&gt;dpm_returnOnFail { $_iHdlData GetModuleName _archName }
&lt;a name="rest_code_622d7fea54ba46ab8d736b01eafc65d6-13"&gt;&lt;/a&gt;dpm_Debug 11 "architecture returned is $_archName"
&lt;a name="rest_code_622d7fea54ba46ab8d736b01eafc65d6-14"&gt;&lt;/a&gt;set _portIter 0
&lt;a name="rest_code_622d7fea54ba46ab8d736b01eafc65d6-15"&gt;&lt;/a&gt;$_iHdlData GetPorts _portIter
&lt;a name="rest_code_622d7fea54ba46ab8d736b01eafc65d6-16"&gt;&lt;/a&gt;puts $hFile "----------------------------------------------------------------------------------"
&lt;a name="rest_code_622d7fea54ba46ab8d736b01eafc65d6-17"&gt;&lt;/a&gt;puts $hFile "-- Company: LBNL"
&lt;a name="rest_code_622d7fea54ba46ab8d736b01eafc65d6-18"&gt;&lt;/a&gt;puts $hFile "-- Engineer: Luis Ardila (luis.ardila@bozica.co)"
&lt;a name="rest_code_622d7fea54ba46ab8d736b01eafc65d6-19"&gt;&lt;/a&gt;puts $hFile "-- "
&lt;a name="rest_code_622d7fea54ba46ab8d736b01eafc65d6-20"&gt;&lt;/a&gt;puts $hFile "-- Create Date: $_ts "
&lt;a name="rest_code_622d7fea54ba46ab8d736b01eafc65d6-21"&gt;&lt;/a&gt;puts $hFile "-- Design Name: "
&lt;a name="rest_code_622d7fea54ba46ab8d736b01eafc65d6-22"&gt;&lt;/a&gt;puts $hFile "-- Module Name: $_entityName - $_archName "
&lt;a name="rest_code_622d7fea54ba46ab8d736b01eafc65d6-23"&gt;&lt;/a&gt;puts $hFile "-- Project Name: "
&lt;a name="rest_code_622d7fea54ba46ab8d736b01eafc65d6-24"&gt;&lt;/a&gt;puts $hFile "-- Target Devices: "
&lt;a name="rest_code_622d7fea54ba46ab8d736b01eafc65d6-25"&gt;&lt;/a&gt;puts $hFile "-- Tool versions: "
&lt;a name="rest_code_622d7fea54ba46ab8d736b01eafc65d6-26"&gt;&lt;/a&gt;puts $hFile "-- Description: "
&lt;a name="rest_code_622d7fea54ba46ab8d736b01eafc65d6-27"&gt;&lt;/a&gt;puts $hFile "--"
&lt;a name="rest_code_622d7fea54ba46ab8d736b01eafc65d6-28"&gt;&lt;/a&gt;puts $hFile "-- Dependencies: "
&lt;a name="rest_code_622d7fea54ba46ab8d736b01eafc65d6-29"&gt;&lt;/a&gt;puts $hFile "--"
&lt;a name="rest_code_622d7fea54ba46ab8d736b01eafc65d6-30"&gt;&lt;/a&gt;puts $hFile "-- Revision: "
&lt;a name="rest_code_622d7fea54ba46ab8d736b01eafc65d6-31"&gt;&lt;/a&gt;puts $hFile "-- Date Version Author Description"
&lt;a name="rest_code_622d7fea54ba46ab8d736b01eafc65d6-32"&gt;&lt;/a&gt;puts $hFile "-- $_date_stamp 1.0 Luis Ardila File Created"
&lt;a name="rest_code_622d7fea54ba46ab8d736b01eafc65d6-33"&gt;&lt;/a&gt;puts $hFile "-- Additional Comments: "
&lt;a name="rest_code_622d7fea54ba46ab8d736b01eafc65d6-34"&gt;&lt;/a&gt;puts $hFile "--"
&lt;a name="rest_code_622d7fea54ba46ab8d736b01eafc65d6-35"&gt;&lt;/a&gt;puts $hFile "----------------------------------------------------------------------------------"
&lt;a name="rest_code_622d7fea54ba46ab8d736b01eafc65d6-36"&gt;&lt;/a&gt;puts $hFile "LIBRARY IEEE;"
&lt;a name="rest_code_622d7fea54ba46ab8d736b01eafc65d6-37"&gt;&lt;/a&gt;puts $hFile "USE IEEE.STD_LOGIC_1164.ALL;"
&lt;/pre&gt;&lt;/div&gt;</description><category>ISE</category><category>xilinx</category><guid>http://bozica.co/posts/put-custom-template-format-into-xilinx-autogenerated-files/</guid><pubDate>Tue, 20 Aug 2013 15:54:45 GMT</pubDate></item></channel></rss>