To run a verilog simulation using irun and create a shm waveform file,
initial begin
$shm_open("waves.shm"); $shm_probe("AS");
end
run with irun -access +r testcase.sv
Or create this tcl file:
To run a verilog simulation using irun and create a shm waveform file,
initial begin
$shm_open("waves.shm"); $shm_probe("AS");
end
run with irun -access +r testcase.sv
Or create this tcl file:
| #!/usr/bin/env ruby | |
| # encoding: UTF-8 | |
| require 'pp' | |
| statement = [1000.0] ## Pounds starting balance | |
| years = 20 ## How many statement calculations | |
| interest_rate = 0.04 ## Decimal ie 10% is 0.10 | |
| annual_payment = 1000 ## Pounds | |
| payment_increase = 0.02 ## increase payments by %2 (0.02) a year. |
| #!/usr/bin/env ruby | |
| #Array of Files containing matching text | |
| matchingFiles = [] | |
| ## Build list of matching files | |
| Dir.foreach("./") do |x| | |
| if File.file?(x) | |
| begin | |
| file = File.new(x, "r") |
| ## | |
| ## .rtorrent.rc | |
| ## | |
| ## All the Possible commands | |
| ## http://libtorrent.rakshasa.no/wiki/RTorrentCommandsRaw | |
| ## | |
| ## Main Examples | |
| ## http://libtorrent.rakshasa.no/wiki/RTorrentCommonTasks | |
| ## http://wiki.rtorrent.org/RtorrentScripting | |
| max_peers = 40 |
| # Torrents go in ~/Torrents | |
| # Incomplete Downloads in ~/Incomplete | |
| # Upon Completion Data is moved to ~/Seeding | |
| schedule = watch_directory_standard,10,10,"load_start=~/Torrents/*.torrent,d.set_directory=~/Incomplete/,d.set_custom1=~/Seeding/ | |
| #Move upon download completion. | |
| system.method.set_key =event.download.finished,move_complete,"d.set_directory=$d.get_custom1= ;execute=mv,-n,$d.get_base_path=,$d.get_custom1=" |
| set completion-ignore-case On | |
| set bell-style none | |
| set editing-mode vi | |
| $if mode=vi | |
| set keymap vi-command | |
| "gg": beginning-of-history | |
| "G": end-of-history | |
| set keymap vi-insert | |
| "jj": vi-movement-mode |
| #!/bin/bash | |
| editor="mvim" | |
| post_path="source/_posts/" | |
| for OUTPUT in $(ls $post_path | grep $1) | |
| do | |
| file_list="$file_list $post_path$OUTPUT" | |
| done |
| -- Lightroom Lua Plugin for export filter | |
| -- Page 49 to 51 of the SDK guide | |
| -- http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/devnet/photoshoplightroom/pdfs/lr5/lightroom-sdk-guide.pdf | |
| function SimpleExternalToolFilterProvider.postProcessRenderedPhotos( | |
| functionContext, filterContext ) | |
| -- Optional: If you want to change the render settings for each photo | |
| -- before Lightroom renders it | |
| local renditionOptions = { | |
| filterSettings = function( renditionToSatisfy, exportSettings ) | |
| exportSettings.LR_size_maxHeight = 400 |
| #!/bin/tcsh | |
| # A small example program for using the new getopt(1) program. | |
| # This program will only work with tcsh(1) | |
| # An similar program using the bash(1) script language can be found | |
| # as parse.bash | |
| # Example input and output (from the tcsh prompt): | |
| # ./parse.tcsh -a par1 'another arg' --c-long 'wow\!*\?' -cmore -b " very long " | |
| # Option a |
| #!/bin/sh | |
| gcc optparse_example.c -o optparse_example | |
| gcc optparse_long_example.c -o optparse_long_example |