Differenze
Queste sono le differenze tra la revisione selezionata e la versione attuale della pagina.
Entrambe le parti precedenti la revisione Revisione precedente Prossima revisione | Revisione precedente | ||
vlsi:workbook:fpga:xilinx:isim [19/11/2014 16:38] pacher |
vlsi:workbook:fpga:xilinx:isim [12/03/2015 19:58] (versione attuale) pacher |
||
---|---|---|---|
Linea 19: | Linea 19: | ||
====== Introduction ====== | ====== Introduction ====== | ||
- | [[http://www.xilinx.com/tools/isim.htm]] \\ | + | Xilinx ISim Lite is free... Cadence Incisive isn't !!! |
- | [[http://www.rte.se/blog/blogg-modesty-corex/isim-hdl-simulator]] \\ | + | |
- | [[http://vhdlguru.blogspot.it/2010/12/tips-for-running-successful-simulation.html]] | + | |
+ | [[http://www.xilinx.com/tools/isim.htm]] \\ | ||
+ | [[http://www.rte.se/blog/blogg-modesty-corex/isim-hdl-simulator]] (nice and complete!) \\ | ||
+ | [[http://vhdlguru.blogspot.it/2010/12/tips-for-running-successful-simulation.html]] \\ | ||
+ | [[http://www.sigasi.com/content/how-run-xilinx-isimfuse-command-line-linux]] | ||
+ | ISim Lite vs Full versions: \\ | ||
+ | [[http://www.xilinx.com/products/design_tools/logic_design/verification/ise_simulator_faq.htm]] | ||
====== Documentation ====== | ====== Documentation ====== | ||
Linea 57: | Linea 61: | ||
+ | ====== Library mapping file ====== | ||
+ | |||
+ | Example: | ||
+ | |||
+ | <code> | ||
+ | -- user libraries | ||
+ | work = ./libraries/worklib | ||
+ | vhdl_lib = ./libraries/vhdl_lib | ||
+ | |||
+ | -- STD and IEEE libraries | ||
+ | std = /opt/edatools/xilinx/ISE14.6/ISE/vhdl/hdp/lin/std | ||
+ | ieee = /opt/edatools/xilinx/ISE14.6/ISE/vhdl/hdp/lin/ieee | ||
+ | </code> | ||
+ | |||
+ | |||
+ | Note that by delfault a ''xilinxisim.ini'' library mapping file is searched and loaded from | ||
+ | |||
+ | * ''$XILINX/vhdl/hdp/lin/xilinxisim.ini'' | ||
+ | * ''./xilinxisim.ini'' | ||
+ | |||
+ | It is recommended to use the ''-initfile'' flag with ''vlogcomp/vhpcomp'' compilers or ''fuse'' elaborator and linker indeed. | ||
====== Makefile ====== | ====== Makefile ====== | ||
Linea 82: | Linea 107: | ||
TCLBATCH = ./scripts/run.tcl | TCLBATCH = ./scripts/run.tcl | ||
- | # compiler/elaborator options (use fule -help for more details) | + | # compiler/elaborator options (use fuse -help for more details) |
CCFLAGS = -initfile $(LIBFILE) \ | CCFLAGS = -initfile $(LIBFILE) \ | ||
-incremental \ | -incremental \ | ||
Linea 112: | Linea 137: | ||
clean: | clean: | ||
@find ./ -name '*~' -exec $(RM) {} \; | @find ./ -name '*~' -exec $(RM) {} \; | ||
- | @$(RM) fuse.log fuse.xmsgs fuseRelaunch.cmd | + | @$(RM) fuse.log fuse.xmsgs fuseRelaunch.cmd isim.log |
@$(RM) $(WDB) | @$(RM) $(WDB) | ||
@$(RM) $(SIMEXE) | @$(RM) $(SIMEXE) | ||
Linea 119: | Linea 144: | ||
- | + | \\ | |
- | Simple ''./scripts/run.tcl'' example: | + | A simple ''./scripts/run.tcl'' example: |
<code> | <code> | ||
Linea 138: | Linea 163: | ||
[[https://gist.github.com/gvillalta99/11436605]] | [[https://gist.github.com/gvillalta99/11436605]] | ||
- | ====== Run the Xilinx ISE In-Depth Tutorial ====== | ||
- | |||
- | |||
- | |||
- | |||
- | <code> | ||
- | cd ~/scratch/xilinx | ||
- | mkdir projects | ||
- | </code> | ||
- | |||
- | |||
- | |||
- | <code> | ||
- | cd ~/scratch/xilinx/projects | ||
- | ise & | ||
- | </code> | ||