11.07.2015 Views

ModelSim SE Tutorial

ModelSim SE Tutorial

ModelSim SE Tutorial

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

T-42 Lesson 4 - Working with multiple librariesIntroductionIn this lesson you will practice working with multiple libraries. As discussed inLesson 1 - <strong>ModelSim</strong> conceptual overview, you might have multiple libraries toorganize your design, to access IP from a third-party source, or to share commonparts between simulations.You will start the lesson by creating a resource library that contains the counterdesign unit. Next, you will create a project and compile the testbench into it.Finally, you will link to the library containing the counter and then run thesimulation.Design files for this lessonThe sample design for this lesson is a simple 8-bit, binary up-counter with anassociated testbench. The pathnames are as follows:Verilog – /modeltech/examples/counter.v and tcounter.vVHDL – /modeltech/examples/counter.vhd and tcounter.vhdThis lesson uses the Verilog files tcounter.v and counter.v in the examples. If youhave a VHDL license, use tcounter.vhd and counter.vhd instead.Related reading<strong>ModelSim</strong> User’s Manual, 3 - Design libraries (UM-55)<strong>ModelSim</strong> <strong>SE</strong> <strong>Tutorial</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!