Showing posts with label Tips and Tricks. Show all posts
Showing posts with label Tips and Tricks. Show all posts

Seven Steps to Success in Graduate School and Beyond


This is a list of essential skills that all successful researchers have developed. Without these skills, you cannot expect to succeed in research. If you fully develop your abilities in each of these areas, you will lay a strong foundation for the rest of your research career that will lead directly to success in research. The responsibility for the development of these skills is entirely your own

Whip Your Resume Into Shape


Join Penelope Trunk TODAY, May 20, 8PM Eastern | 5PM Pacific, as she discusses the 3 most common mistakes that smart people make on their resumes. After attending this webinar you'll understand why the smartest people don't always get the best jobs. It's never a bad time to fine tune your resume.

Modelsim Tips & Tricks


In this article we will see how to create a simple Tcl script that tests for certain values on a signal and then adds bookmarks that zoom the Wave window when that value exists. Bookmarks allow you to save a particular zoom range and scroll position in the Wave window. The Tcl script also creates buttons in the Main window that call these bookmarks.

1. Create the script.
a. In a text editor, open a new file and enter the following lines:

proc add_wave_zoom {stime num} {
echo "Bookmarking wave $num"
bookmark add wave "bk$num" "[expr $stime - 50] [expr $stime + 100]" 0
add button "$num" [list bookmark goto wave bk$num]
}

These commands do the following:
• Create a new procedure called "add_wave_zoom" that has two arguments, stime and num.
• Create a bookmark with a zoom range from the current simulation time minus 50 time units to the current simulation time plus 100 time units.
• Add a button to the Main window that calls the bookmark.
b. Now add these lines to the bottom of the script:
Assuming:
You have a RTL counter module with a bus called count..

add wave -r /*
when {clk'event and clk="1"} {
echo "Count is [exa count]"
if {[exa count]== "00100111"} {
add_wave_zoom $now 1
} elseif {[exa count]== "01000111"} {
add_wave_zoom $now 2
}
}

These commands do the following:
• Add all signals to the Wave window.
• Use a when statement to identify when clk transitions to 1.
• Examine the value of count at those transitions and add a bookmark if it is a certain value.