<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Manish Chiniwalar</title>
	
	<link>http://manishchiniwalar.com</link>
	<description>It's no big deal!</description>
	<lastBuildDate>Tue, 12 Feb 2013 15:18:50 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/ManishChiniwalarBlog" /><feedburner:info uri="manishchiniwalarblog" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><image><link>http://manishchiniwalar.com</link><url>http://feeds.feedburner.com/~fc/ManishChiniwalarBlog?bg=99CCFF&amp;amp;fg=444444&amp;amp;anim=0</url><title>Manish Chiniwalar Logo</title></image><feedburner:emailServiceId>ManishChiniwalarBlog</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>[tl;dr] Python as quick media server</title>
		<link>http://feedproxy.google.com/~r/ManishChiniwalarBlog/~3/BsH-ac5Xr5g/</link>
		<comments>http://manishchiniwalar.com/how-tos/tldr-python-as-quick-media-server/#comments</comments>
		<pubDate>Tue, 12 Feb 2013 15:18:50 +0000</pubDate>
		<dc:creator>Manish</dc:creator>
				<category><![CDATA[How-tos]]></category>
		<category><![CDATA[media]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[tldr]]></category>

		<guid isPermaLink="false">http://manishchiniwalar.com/?p=970</guid>
		<description><![CDATA[Access files on your computer from your phone without any software or use your computer to stream songs and videos to your phone using this quick tip.]]></description>
				<content:encoded><![CDATA[<p>At times when you want to watch a movie on your phone or just want to transfer photos to a couple of friends, it&#8217;s quite boring to transfer it through a data cord or Bluetooth. And if you don&#8217;t have the patience to go onto the internet and download an appropriate app like <a href="http://www.airdroid.com/" title="Air Droid" target="_blank">AirDroid</a>, that&#8217;ll make your life a lot easier, you can just use this python command on linux.</p>
<p><strong>Step 1:</strong> Open terminal and type
<pre>ifconfing</pre>
<p> and note down the IP address.</p>
<p><strong>Step 2:</strong> Then type:</p>
<pre>python -m SimpleHTTPServer</pre>
<p><strong>Step 3:</strong> Open the web browser on your phone and enter the IP address and the port (Eg: 192.168.0.3:8000) </p>
<p>You can now browse your files on your phone and if you have MX video player, you can stream too.</p>
<p>P.S &#8211; You need to be connected to the same WiFi network.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/ManishChiniwalarBlog?a=BsH-ac5Xr5g:0gsG6_gfRlU:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/ManishChiniwalarBlog?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ManishChiniwalarBlog?a=BsH-ac5Xr5g:0gsG6_gfRlU:-BTjWOF_DHI"><img src="http://feeds.feedburner.com/~ff/ManishChiniwalarBlog?i=BsH-ac5Xr5g:0gsG6_gfRlU:-BTjWOF_DHI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ManishChiniwalarBlog?a=BsH-ac5Xr5g:0gsG6_gfRlU:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/ManishChiniwalarBlog?i=BsH-ac5Xr5g:0gsG6_gfRlU:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ManishChiniwalarBlog?a=BsH-ac5Xr5g:0gsG6_gfRlU:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/ManishChiniwalarBlog?i=BsH-ac5Xr5g:0gsG6_gfRlU:gIN9vFwOqvQ" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/ManishChiniwalarBlog/~4/BsH-ac5Xr5g" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://manishchiniwalar.com/how-tos/tldr-python-as-quick-media-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://manishchiniwalar.com/how-tos/tldr-python-as-quick-media-server/</feedburner:origLink></item>
		<item>
		<title>How to disable java and not get hacked</title>
		<link>http://feedproxy.google.com/~r/ManishChiniwalarBlog/~3/VNupiOPq1H4/</link>
		<comments>http://manishchiniwalar.com/how-tos/how-to-disable-java-and-not-get-hacked/#comments</comments>
		<pubDate>Tue, 28 Aug 2012 19:20:00 +0000</pubDate>
		<dc:creator>Manish</dc:creator>
				<category><![CDATA[How-tos]]></category>
		<category><![CDATA[0-day]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[exploit]]></category>
		<category><![CDATA[hacking]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[metasploit]]></category>

		<guid isPermaLink="false">http://manishchiniwalar.com/?p=923</guid>
		<description><![CDATA[A critical flaw in java has been uncovered. Just by visiting a website, attacker can gain access to your computer. Here's how to disable java and stay safe]]></description>
				<content:encoded><![CDATA[<p>So, i was sipping on my evening tea and doing what i do most of the time &#8211; WebDev. I got a warning on Firefox, recommending to disable the java plugin. Investigating a little, i found this on <a title="Secunia Java 0 day" href="http://secunia.com/advisories/50133/" target="_blank">secunia</a>:</p>
<blockquote><p>A vulnerability has been discovered in Oracle Java, which can be exploited by malicious people to compromise a user&#8217;s system.</p>
<p>The vulnerability is caused due to an error in how the &#8220;setSecurityManager()&#8221; function can be called, which can be exploited by an applet to set its own privileges to e.g. allow downloading and executing arbitrary programs.</p>
<p>Successful exploitation allows execution of arbitrary code.</p>
<p>NOTE: This is currently being actively exploited in targeted attacks.</p>
<p>The vulnerability is confirmed in version 7 update 6 build 1.7.0_06-b24. Other versions may also be affected.</p></blockquote>
<p>A critical flaw in java has been discovered by <a title="FireEye | Java 0 day" href="http://blog.fireeye.com/research/2012/08/zero-day-season-is-not-over-yet.html" target="_blank">FireEye</a>. This flaw is ALREADY being used in the wild. Just by you visiting a malicious page,  the attacker can gain access to your computer remotely.</p>
<p><strong>In short, even if you have up-to-date system and have java installed, you can get hacked!</strong> If you had to fill up a CAPTCHA to enter this site, chances are, your system is already compromised. (Not necessarily by this java vulnerability.) You should update your antivirus and run a scan.</p>
<p>Metasploitians, rejoice! The <a title="java 0 day | metasploit" href="https://community.rapid7.com/community/metasploit/blog/2012/08/27/lets-start-the-week-with-a-new-java-0day" target="_blank">exploit</a> is already landed in metasploit. Updated and give it a try.</p>
<p>Anyway, here&#8217;s how to disable java and be safe. The instructions can&#8217;t get simpler than this. If you did not understand, High Five. On your face!</p>
<h2>To just disable the browser plugins:</h2>
<h3>Firefox</h3>
<p><a href="http://manishchiniwalar.com/wp-content/uploads/2012/08/screenshot.jpg"><img class="alignnone  wp-image-939" title="Disable Java Plugin in firefox" src="http://manishchiniwalar.com/wp-content/uploads/2012/08/screenshot.jpg" alt="Disable Java Plugin in firefox" width="611" height="386" /></a></p>
<h3>Chrome</h3>
<p><img class="alignnone size-full wp-image-937" title="Disable Java Plugin in google chrome" src="http://manishchiniwalar.com/wp-content/uploads/2012/08/screenshot.30.jpg" alt="Disable Java Plugin in google chrome" width="610" height="199" /></p>
<p>Just type &#8220;chrome://plugins&#8221; or &#8220;about:plugins&#8221; in the address bar. Find java from the list and click disable. If you have multiple users in chrome, you will have to do it for each user.</p>
<h3>Internet Explorer</h3>
<p>You deserve to get hacked! You make a web designer&#8217;s life so difficult. Go, Download <a title="Google Chrome" href="http://google.com/chrome" target="_blank">Chrome</a> or <a title="Mozilla FireFox" href="http://www.mozilla.org/en-US/firefox/new/" target="_blank">Firefox</a>.</p>
<h2>To disable java from windows 7:</h2>
<p>1. Go to Start &gt; Control Panel &gt; Programs</p>
<p><a href="http://manishchiniwalar.com/wp-content/uploads/2012/08/screenshot.25.jpg"><img class="size-large wp-image-925 alignnone" title="Windows 7 Control Panel" src="http://manishchiniwalar.com/wp-content/uploads/2012/08/screenshot.25-1024x576.jpg" alt="Windows 7 Control Panel" width="620" height="348" /></a></p>
<p>2. Select Java</p>
<p><a href="http://manishchiniwalar.com/wp-content/uploads/2012/08/screenshot.26.jpg"><img class="alignnone size-large wp-image-926" title="Windows 7 control panel programs" src="http://manishchiniwalar.com/wp-content/uploads/2012/08/screenshot.26-1024x576.jpg" alt="Windows 7 control panel programs" width="620" height="348" /></a></p>
<p>3. Select Java &gt; View&#8230;</p>
<p><a href="http://manishchiniwalar.com/wp-content/uploads/2012/08/screenshot.27.jpg"><img class="alignnone size-full wp-image-927" title="Java Control Panel" src="http://manishchiniwalar.com/wp-content/uploads/2012/08/screenshot.27.jpg" alt="Java Control Panel" width="440" height="429" /></a></p>
<p>4. Uncheck both the check-boxes</p>
<p><a href="http://manishchiniwalar.com/wp-content/uploads/2012/08/screenshot.28.jpg"><img class="alignnone size-full wp-image-924" title="Disable or enable java" src="http://manishchiniwalar.com/wp-content/uploads/2012/08/screenshot.28.jpg" alt="Disable or enable java" width="535" height="322" /></a></p>
<h2>Linux</h2>
<p><a href="http://manishchiniwalar.com/wp-content/uploads/2012/08/Screenshot-1.png"><img title="Disable Java in Linux" src="http://manishchiniwalar.com/wp-content/uploads/2012/08/Screenshot-1.png" alt="Disable Java in Linux" width="598" height="370" /></a></p>
<p>Find <em>Sun Java 6/7 Plugin Control Panel </em>under others or search for &#8216;java&#8217; in the menu. Then in the &#8216;Java Control Panel&#8217; &gt; Java &gt; View &gt; Uncheck all.</p>
<h2>Mac</h2>
<p>I do not own a mac, so here&#8217;s a link: http://stikine.wordpress.com/2012/04/05/2549j48b/</p>
<p>And&#8230; you&#8217;re safe. Almost.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/ManishChiniwalarBlog?a=VNupiOPq1H4:OL-IrT1NNII:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/ManishChiniwalarBlog?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ManishChiniwalarBlog?a=VNupiOPq1H4:OL-IrT1NNII:-BTjWOF_DHI"><img src="http://feeds.feedburner.com/~ff/ManishChiniwalarBlog?i=VNupiOPq1H4:OL-IrT1NNII:-BTjWOF_DHI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ManishChiniwalarBlog?a=VNupiOPq1H4:OL-IrT1NNII:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/ManishChiniwalarBlog?i=VNupiOPq1H4:OL-IrT1NNII:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ManishChiniwalarBlog?a=VNupiOPq1H4:OL-IrT1NNII:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/ManishChiniwalarBlog?i=VNupiOPq1H4:OL-IrT1NNII:gIN9vFwOqvQ" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/ManishChiniwalarBlog/~4/VNupiOPq1H4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://manishchiniwalar.com/how-tos/how-to-disable-java-and-not-get-hacked/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://manishchiniwalar.com/how-tos/how-to-disable-java-and-not-get-hacked/</feedburner:origLink></item>
		<item>
		<title>Must Have Android Apps [Tablet Friendly]</title>
		<link>http://feedproxy.google.com/~r/ManishChiniwalarBlog/~3/hY3KWIjEEag/</link>
		<comments>http://manishchiniwalar.com/reviews/must-have-android-apps-tablet-friendly/#comments</comments>
		<pubDate>Tue, 17 Jul 2012 20:10:46 +0000</pubDate>
		<dc:creator>Manish</dc:creator>
				<category><![CDATA[Reviews]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[apps]]></category>
		<category><![CDATA[Games]]></category>
		<category><![CDATA[Round-up]]></category>

		<guid isPermaLink="false">http://manishchiniwalar.com/?p=774</guid>
		<description><![CDATA[You may have installed a thousand apps. But your phone is incomplete without these bunch of awesome apps. Quite possibly, these are all you'll need. And did i mention all the app mentioned here are Tablet friendly.]]></description>
				<content:encoded><![CDATA[<p>With almost all of my friends upgrading from Symbian to Android, one question i get asked a lot &#8211; apart from which phone to buy &#8211; is &#8220;Dude, Suggest me some Awesome apps!&#8221;<br />
Although i don&#8217;t own an android phone, i do use an android tablet. These are pretty much all the apps you&#8217;ll need.  I have left out a few obvious ones like Facebook, Gmail, twitter, etc. But, I&#8217;m sure i might have missed some others too. If you know a better alternative to any app, leave a comment below <img src='http://manishchiniwalar.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<h1>AirDroid</h1>
<p><a href="https://play.google.com/store/apps/details?id=com.sand.airdroid"><img class="alignnone size-full wp-image-781" title="airdroid" src="http://manishchiniwalar.com/wp-content/uploads/2012/07/airdroid-e1342548244820.jpg" alt="" width="660" height="322" /></a></p>
<p>AirDroid is a fast, free app that lets you wirelessly manage your Android from your favorite browser.</p>
<p>&gt;&gt;<a title="AirDroid Video" href=" http://youtu.be/WfNnQxpw7Uw" target="_blank">Video</a>&lt;&lt;</p>
<h1></h1>
<h1>Smart App Protector</h1>
<p><a href="https://play.google.com/store/apps/details?id=com.sp.protector.free"><img class="alignnone size-medium wp-image-848" title="smartAppProtector" src="http://manishchiniwalar.com/wp-content/uploads/2012/07/smartAppProtector-660x322.jpg" alt="" width="660" height="322" /></a></p>
<p>Protect your installed applications using a password or pattern!</p>
<h1></h1>
<h1>Instant Heart Rate</h1>
<p><a href="https://play.google.com/store/apps/details?id=si.modula.android.instantheartrate"><img class="alignnone size-medium wp-image-849" title="instantHeartRate" src="http://manishchiniwalar.com/wp-content/uploads/2012/07/instantHeartRate-660x322.jpg" alt="" width="660" height="322" /></a></p>
<p>Turns your phone into a heart rate monitor. Quick and accurate.</p>
<h1>Alarm Clock Extreme</h1>
<h1><a href="https://play.google.com/store/apps/details?id=com.alarmclock.xtreme.free"><img class="alignnone size-medium wp-image-851" title="alarmClockExtreme2" src="http://manishchiniwalar.com/wp-content/uploads/2012/07/alarmClockExtreme2-660x322.jpg" alt="" width="660" height="322" /></a></h1>
<p>Most reliable and highest rated alarm clock and timer for Android!</p>
<p>Do you have problems turning off your alarm clock only to fall back asleep? Wake up gently and avoid accidentally disabling your alarm with Alarm Clock Xtreme. This alarm clock and timer includes features that prevent excessive snoozing and get you out of bed.</p>
<h1>Memory Trainer</h1>
<h1><a href="https://play.google.com/store/apps/details?id=org.urbian.android.games.memorytrainer"><img class="alignnone size-medium wp-image-852" title="memoryTrainer2" src="http://manishchiniwalar.com/wp-content/uploads/2012/07/memoryTrainer2-660x322.jpg" alt="" width="660" height="322" /></a></h1>
<p>Begin training your spatial and working memory! Improve focus and concentration!</p>
<h1>Chrome 2 Phone</h1>
<h1><a href="https://play.google.com/store/apps/details?id=com.google.android.apps.chrometophone&amp;feature=related_apps#?t=W251bGwsMSwxLDEwOSwiY29tLmdvb2dsZS5hbmRyb2lkLmFwcHMuY2hyb21ldG9waG9uZSJd"><img class="alignnone size-medium wp-image-853" title="chromeToPhone" src="http://manishchiniwalar.com/wp-content/uploads/2012/07/chromeToPhone-660x322.jpg" alt="" width="660" height="322" /></a></h1>
<p>Send links, maps, phone numbers, &amp; more from your Chrome browser to your phone!</p>
<p>Also Available: <a title="Phone 2 Chrome" href="https://play.google.com/store/apps/details?id=com.lg.valle.phone2chrome" target="_blank">Phone 2 Chrome</a></p>
<h1></h1>
<h1>AndroZip</h1>
<h1><a href="https://play.google.com/store/apps/details?id=com.agilesoftresource&amp;feature=related_apps#?t=W251bGwsMSwxLDEwOSwiY29tLmFnaWxlc29mdHJlc291cmNlIl0."><img class="alignnone size-medium wp-image-854" title="androZip" src="http://manishchiniwalar.com/wp-content/uploads/2012/07/androZip-660x322.jpg" alt="" width="660" height="322" /></a></h1>
<p>AndroZip File Manager helps you copy, delete, move, search, and organize your files, music, pictures, and folders just like you would do on your PC.</p>
<h1></h1>
<h1>FlashLight</h1>
<h1><a href=" https://play.google.com/store/apps/details?id=com.devuni.flashlight"><img class="alignnone size-medium wp-image-855" title="tinyFlashlight2" src="http://manishchiniwalar.com/wp-content/uploads/2012/07/tinyFlashlight2-660x322.jpg" alt="" width="660" height="322" /></a></h1>
<p>Flashlight + LED Light. Brightest. Fastest. Simplest. Your own Tiny Flashlight.</p>
<h1>Samsung Apps</h1>
<h1><a href="https://play.google.com/store/apps/details?id=com.sec.android.app.samsungapps"><img class="alignnone size-medium wp-image-856" title="samsungApps" src="http://manishchiniwalar.com/wp-content/uploads/2012/07/samsungApps-660x322.jpg" alt="" width="660" height="322" /></a></h1>
<p>Samsung&#8217;s App Discovery &amp; Recommendation Engine. Get a few premium apps like CamScanner for FREE!</p>
<h1>BitTorrent</h1>
<p><a href="https://play.google.com/store/apps/details?id=com.bittorrent.client"><img class="alignnone size-medium wp-image-905" title="biTorrent" src="http://manishchiniwalar.com/wp-content/uploads/2012/07/biTorrent-660x322.jpg" alt="" width="660" height="322" /></a></p>
<p>Find torrents and download them directly to your smart phone or tablet &#8211; all with this handy BitTorrent app from the team that invented the BitTorrent protocol over a decade ago. Subscribe to RSS feeds, play content and more. The first generation of this powerful new app is designed to be easy-to-use, super-fast, and make your Android device so much more fun.</p>
<h1>RealCalc</h1>
<h1><a href=" https://play.google.com/store/apps/details?id=uk.co.nickfines.RealCalc"><img class="alignnone size-medium wp-image-857" title="realCalc" src="http://manishchiniwalar.com/wp-content/uploads/2012/07/realCalc-660x322.jpg" alt="" width="660" height="322" /></a></h1>
<p>RealCalc Scientific Calculator</p>
<p>Android&#8217;s #1 Scientific Calculator. A fully featured scientific calculator which looks and operates like the real thing.</p>
<h1></h1>
<h1>Android Lost</h1>
<p><span class='embed-youtube' style='text-align:center; display: block;'><iframe class='youtube-player' type='text/html' width='620' height='379' src='http://www.youtube.com/embed/gcTZbreowJM?version=3&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;wmode=transparent' frameborder='0'></iframe></span></p>
<p>&gt;&gt;<a title="Android Lost" href="https://play.google.com/store/apps/details?id=com.androidlost&amp;feature=search_result#?t=W251bGwsMSwxLDEsImNvbS5hbmRyb2lkbG9zdCJd" target="_blank">Download</a>&lt;&lt;</p>
<p>Lost your android? We will help you find it. See <a href="http://www.google.com/url?q=http://www.androidlost.com&amp;usg=AFQjCNE1-8lBdw7t-Wcpnlxqt50y5XbDKw" target="_blank" data-bitly-type="bitly_hover_card">http://www.androidlost.com</a></p>
<p>Remotely control your Android phone from the internet or by SMS.</p>
<h1>IVONA Voice</h1>
<p><a href="https://play.google.com/store/apps/details?id=com.ivona.tts"><img class="alignnone size-medium wp-image-858" title="ivonaTTS" src="http://manishchiniwalar.com/wp-content/uploads/2012/07/ivonaTTS-660x322.jpg" alt="" width="660" height="322" /></a></p>
<p>The most natural, accurate and responsive voice. You will hear the difference!</p>
<h1>Any.DO</h1>
<h1><a href="https://play.google.com/store/apps/details?id=com.anydo"><img class="alignnone size-medium wp-image-859" title="anyDo" src="http://manishchiniwalar.com/wp-content/uploads/2012/07/anyDo-660x322.jpg" alt="" width="660" height="322" /></a></h1>
<p>Any.DO helps you remember everything you have to do. It&#8217;s free, simple &amp; fun.</p>
<h1>Evernote</h1>
<h1><a href="https://play.google.com/store/apps/details?id=com.evernote"><img class="alignnone size-medium wp-image-860" title="evernote" src="http://manishchiniwalar.com/wp-content/uploads/2012/07/evernote-660x322.jpg" alt="" width="660" height="322" /></a></h1>
<p>Evernote turns your Android device into an extension of your brain.</p>
<h1>Google Drive</h1>
<p><a href="https://play.google.com/store/apps/details?id=com.google.android.apps.docs"><img class="alignnone size-medium wp-image-904" title="googleDrive" src="http://manishchiniwalar.com/wp-content/uploads/2012/07/googleDrive-660x322.png" alt="" width="660" height="322" /></a></p>
<p>Keep everything. Share anything.</p>
<p>Alternatives: <a title="Box" href="https://play.google.com/store/apps/details?id=com.box.android">Box</a>, <a title="DropBox" href="https://play.google.com/store/apps/details?id=com.dropbox.android">DropBox</a></p>
<h1>Cam Scanner HD</h1>
<p><a href="https://play.google.com/store/apps/details?id=com.intsig.camscannerhd"><img class="alignnone size-medium wp-image-861" title="camScanner" src="http://manishchiniwalar.com/wp-content/uploads/2012/07/camScanner-660x322.jpg" alt="" width="660" height="322" /></a></p>
<p>CamScanner HD turns your tablet into a scanner.</p>
<h1>PhotoFunia</h1>
<h1><a href="https://play.google.com/store/apps/details?id=com.photofunia.android"><img class="alignnone size-medium wp-image-862" title="photofunia" src="http://manishchiniwalar.com/wp-content/uploads/2012/07/photofunia-660x322.jpg" alt="" width="660" height="322" /></a></h1>
<p>Put your face on a billboard, a stamp, or in a Warhol-like work of pop-art. Become the Mona Lisa or a bodybuilder. You get over 150 scenes to play with. You&#8217;re not cutting and pasting; instead, the app &#8220;finds&#8221; the face in your photo and integrates it with the scene of your choice.</p>
<h1>Pixlr-O-Matic</h1>
<h1><a href="https://play.google.com/store/apps/details?id=pixlr.OMatic"><img class="alignnone size-medium wp-image-863" title="pixlr-o-matic2" src="http://manishchiniwalar.com/wp-content/uploads/2012/07/pixlr-o-matic2-660x322.jpg" alt="" width="660" height="322" /></a></h1>
<p>You can add fun retro effects to your photos in a snap and transform your photos into cool looking vintage images. Editing is as easy as one, two, three with Pixlr-o-matic to add effects, overlays and borders. So many options to choose from, there are more than 5,000,000 possible finishes to make your photos look spectacular!</p>
<h1>Adobe Photoshop Touch [Tablet]</h1>
<h1><a href="https://play.google.com/store/apps/details?id=air.com.adobe.pstouch"><img class="alignnone size-medium wp-image-864" title="adobePhotoshopTouch" src="http://manishchiniwalar.com/wp-content/uploads/2012/07/adobePhotoshopTouch-660x322.jpg" alt="" width="660" height="322" /></a></h1>
<p>Transform images with core Photoshop features in an app designed for tablets.</p>
<p>Combine images, apply professional effects, share results with friends and family through sites like Facebook, and more – all from the convenience of your tablet.</p>
<p>&gt;&gt;<a title="Adobe Photoshop Express" href="https://play.google.com/store/apps/details?id=com.adobe.psmobile" target="_blank">For Mobile Users</a>&lt;&lt;</p>
<h1>CameraZoomFX</h1>
<h1><a href="https://play.google.com/store/apps/details?id=slide.cameraZoom"><img class="alignnone size-medium wp-image-866" title="cameraZoomFX" src="http://manishchiniwalar.com/wp-content/uploads/2012/07/cameraZoomFX-660x322.jpg" alt="" width="660" height="322" /></a></h1>
<p>The Best Camera App for Android! Seriously!</p>
<h1>MX Player</h1>
<p><a href="https://play.google.com/store/apps/details?id=com.mxtech.videoplayer.ad"><img class="alignnone size-medium wp-image-896" title="mxPlayer" src="http://manishchiniwalar.com/wp-content/uploads/2012/07/mxPlayer-660x322.jpg" alt="" width="660" height="322" /></a></p>
<p>Plays almost All video formats and tons of features!</p>
<h1>UStream</h1>
<p><a href="https://play.google.com/store/apps/details?id=tv.ustream.ustream"><img class="alignnone size-medium wp-image-867" title="ustream" src="http://manishchiniwalar.com/wp-content/uploads/2012/07/ustream-660x322.jpg" alt="" width="660" height="322" /></a></p>
<p>Go live and watch live video on your phone or tablet &#8211; anytime, anywhere!</p>
<p>Broadcast live and watch live video on your phone or tablet &#8211; anytime, anywhere!</p>
<h1>AutoDesk SketchBook</h1>
<h1><a href="https://play.google.com/store/apps/details?id=com.adsk.sketchbookhdexpress&amp;feature=search_result"><img class="alignnone size-medium wp-image-868" title="sketchBook" src="http://manishchiniwalar.com/wp-content/uploads/2012/07/sketchBook-660x322.jpg" alt="" width="660" height="322" /></a></h1>
<p>Autodesk® SketchBook® Express for Android is a fun and intuitive drawing application, optimized for use on Honeycomb tablet devices. Get a taste of the professional-grade paint and drawing tools available in the award-winning SketchBook Pro.</p>
<p>&gt;&gt;<a title="Sketchbook Mobile Express" href="https://play.google.com/store/apps/details?id=com.sketchbookexpress" target="_blank">For Mobile Users</a>&lt;&lt;</p>
<h1>SideReel</h1>
<h1><a href=" https://play.google.com/store/apps/details?id=br.com.cit.sidereel"><img class="alignnone size-medium wp-image-869" title="sidereel" src="http://manishchiniwalar.com/wp-content/uploads/2012/07/sidereel-660x322.jpg" alt="" width="660" height="322" /></a></h1>
<p>Find, Track, and Watch your favorite TV shows with the SideReel Android app!</p>
<h1>Songify</h1>
<h1><a href="https://play.google.com/store/apps/details?id=com.smule.songify"><img class="alignnone size-medium wp-image-870" title="songify" src="http://manishchiniwalar.com/wp-content/uploads/2012/07/songify-660x322.jpg" alt="" width="660" height="322" /></a></h1>
<p>Songify turns speech into music automatically!</p>
<p>Just speak into your Android device, and Songify will magically turn your speech into a song. Join the over 9 million people worldwide addicted to Songify!</p>
<h1>SoundHound</h1>
<p><a href="https://play.google.com/store/apps/details?id=com.melodis.midomiMusicIdentifier.freemium"><img class="alignnone size-medium wp-image-899" title="unnamed" src="http://manishchiniwalar.com/wp-content/uploads/2012/07/unnamed-660x322.png" alt="" width="660" height="322" /></a></p>
<p>What&#8217;s that song? Identify it FAST with SoundHound.</p>
<p>Unlimited music recognition! Featuring the world&#8217;s fastest, most accurate music identification, exclusive singing search, and now: free unlimited LiveLyrics for over 1 million of your favorite songs.</p>
<h1>FourSquare</h1>
<h1><a href="https://play.google.com/store/apps/details?id=com.joelapenna.foursquared"><img class="alignnone size-medium wp-image-871" title="fourSquare" src="http://manishchiniwalar.com/wp-content/uploads/2012/07/fourSquare-660x322.png" alt="" width="660" height="322" /></a></h1>
<p>foursquare helps you and your friends make the most of where you are.</p>
<p>Join the over 20 million people who are already on foursquare. Download the free app now!</p>
<h1>Google Body [Tablet]</h1>
<h1><a href="https://play.google.com/store/apps/details?id=com.google.android.apps.body"><img class="alignnone size-medium wp-image-872" title="googleBody" src="http://manishchiniwalar.com/wp-content/uploads/2012/07/googleBody-660x322.jpg" alt="" width="660" height="322" /></a></h1>
<p>Google Body is a detailed 3D model of the human body. You can view different anatomical layers, zoom in, and navigate to parts that interest you. Click to identify anatomy, or search for muscles, organs, bones and more.</p>
<h1>Bobsled</h1>
<h1><a href="https://play.google.com/store/apps/details?id=com.vivox.bobsledtablet"><img class="alignnone size-medium wp-image-873" title="bobsled" src="http://manishchiniwalar.com/wp-content/uploads/2012/07/bobsled-660x322.jpg" alt="" width="660" height="322" /></a></h1>
<p>Bobsled Calling gives you UNLIMITED FREE CALLING to all your friends and family &#8211; talk to any of your Facebook friends and make free calls to any phone in US, Canada, and Puerto Rico.</p>
<p>&gt;&gt;<a title="Bobsled" href="https://play.google.com/store/apps/details?id=com.vivox.bobsled&amp;feature=more_from_developer" target="_blank">For Mobile Users</a>&lt;&lt;</p>
<h1>cSIP Simple</h1>
<h1><a href="https://play.google.com/store/apps/details?id=com.csipsimple"><img class="alignnone size-medium wp-image-874" title="cSipSimple" src="http://manishchiniwalar.com/wp-content/uploads/2012/07/cSipSimple-660x322.png" alt="" width="660" height="322" /></a></h1>
<p>CSipSimple &#8211; High quality OpenSource SIP</p>
<p>OpenSource (GPL) project for SIP on Android.</p>
<h1>Viber</h1>
<h1><a href="http://download.viber.com/viber.apk"><img class="alignnone size-medium wp-image-875" title="viber" src="http://manishchiniwalar.com/wp-content/uploads/2012/07/viber-660x322.png" alt="" width="660" height="322" /></a></h1>
<p>Viber &#8211; Be Free to Communicate. Call and text anyone, anywhere.</p>
<p>Viber lets everyone in the world connect. Freely. More than 40 million Viber users call, text, send photos and locations with each other worldwide &#8211; for free.</p>
<h1>WhatsApp</h1>
<h1><a href="https://play.google.com/store/apps/details?id=com.whatsapp"><img class="alignnone size-medium wp-image-876" title="whatsApp" src="http://manishchiniwalar.com/wp-content/uploads/2012/07/whatsApp-660x322.jpg" alt="" width="660" height="322" /></a></h1>
<p>Get WhatsApp Messenger and say goodbye to SMS!</p>
<p>WhatsApp Messenger is a smartphone messenger available for Android, BlackBerry, iPhone, Windows Phone and Nokia phones. WhatsApp uses your 3G or WiFi (when available) to message with friends and family. Switch from SMS to WhatsApp to send and receive messages, pictures, audio notes, and video messages. First year FREE!</p>
<h1>Google Voice</h1>
<h1> <a href="https://play.google.com/store/apps/details?id=com.google.android.apps.googlevoice"><img class="alignnone size-medium wp-image-877" title="googleVoice" src="http://manishchiniwalar.com/wp-content/uploads/2012/07/googleVoice-660x322.jpg" alt="" width="660" height="322" /></a></h1>
<p>Make cheap international calls with your Google number. Send free text messages. Place calls and send text messages showing your Google number. Listen to voicemail and read transcripts.</p>
<h1>Google Currents</h1>
<h1><a href="https://play.google.com/store/apps/details?id=com.google.android.apps.currents"><img class="alignnone size-medium wp-image-878" title="googleCurrents" src="http://manishchiniwalar.com/wp-content/uploads/2012/07/googleCurrents-660x322.png" alt="" width="660" height="322" /></a></h1>
<p>Beautiful, free, favorite publications for your phone and tablet.</p>
<p>Google Currents delivers beautiful magazine-like editions to your tablet and smartphone for high speed and offline reading.</p>
<h1>StumbleUpon</h1>
<h1><a href="https://play.google.com/store/apps/details?id=com.stumbleupon.android.app"><img class="alignnone size-medium wp-image-879" title="stumbleUpon" src="http://manishchiniwalar.com/wp-content/uploads/2012/07/stumbleUpon-660x322.jpg" alt="" width="660" height="322" /></a></h1>
<p>StumbleUpon is the easiest way to discover new and interesting things from across the Web. Simply tap the “Stumble!” button, or swipe your device’s screen to discover photos, videos, web pages and more, recommended by people sharing your Interests.</p>
<h1>Feedly</h1>
<h1><a href="https://play.google.com/store/apps/details?id=com.devhd.feedly"><img class="alignnone size-medium wp-image-880" title="feedly" src="http://manishchiniwalar.com/wp-content/uploads/2012/07/feedly-660x322.jpg" alt="" width="660" height="322" /></a></h1>
<p>Feedly. Your personalized magazine.</p>
<p>A fast and stylish way to read and share the content of your favorite websites. Feed your mind. Anytime. Anywhere</p>
<h1>Opera Mini [Highly Recommended!]</h1>
<h1><a href="https://play.google.com/store/apps/details?id=com.opera.mini.android"><img class="alignnone size-medium wp-image-881" title="operaMini" src="http://manishchiniwalar.com/wp-content/uploads/2012/07/operaMini-660x322.png" alt="" width="660" height="322" /></a></h1>
<p>Opera&#8217;s fastest mobile browser that can save you money on data. Totally free.</p>
<p>Try the world&#8217;s fastest Android browser!</p>
<h1>Asphalt 6</h1>
<h1><a href="https://play.google.com/store/apps/details?id=com.gameloft.android.ANMP.GloftA6HP"><img class="alignnone size-medium wp-image-882" title="asphalt" src="http://manishchiniwalar.com/wp-content/uploads/2012/07/asphalt-660x322.jpg" alt="" width="660" height="322" /></a></h1>
<p>Race the world. Feel the adrenaline.</p>
<p>Feel the thrill of arcade racing like never before in the newest adrenaline-pumping game of the Asphalt series</p>
<h1>Fifa 12</h1>
<h1><a href="https://play.google.com/store/apps/details?id=com.ea.game.fifa12_row"><img title="fifa12" src="http://manishchiniwalar.com/wp-content/uploads/2012/07/fifa12-660x322.jpg" alt="" width="660" height="322" /></a></h1>
<p>Experience the action of your favorite sport like never before! Watch matches come to life with vibrant graphics and ultra-realistic animations.</p>
<h1>Apparatus</h1>
<h1><a href="https://play.google.com/store/apps/details?id=com.bithack.apparatuslite"><img class="alignnone size-medium wp-image-884" title="apparatus" src="http://manishchiniwalar.com/wp-content/uploads/2012/07/apparatus-660x322.jpg" alt="" width="660" height="322" /></a></h1>
<p>Build a complex machine to perform a simple task.</p>
<p>Apparatus is a game about setting up simple mechanical structures to<br />
move one or several marbles to the goal.</p>
<h1>MineCraft</h1>
<h1><a href="https://play.google.com/store/apps/details?id=com.mojang.minecraftpe.demo"><img class="alignnone size-medium wp-image-885" title="minecraft" src="http://manishchiniwalar.com/wp-content/uploads/2012/07/minecraft-660x322.jpg" alt="" width="660" height="322" /></a></h1>
<p>Imagine it, build it. Create worlds on the go with Minecraft &#8211; Pocket Edition</p>
<p>This is the demo of Minecraft &#8211; Pocket Edition. Minecraft &#8211; Pocket Edition allows you to build on the go. Use blocks to create masterpieces as you travel, hangout with friends, sit at the park, the possibilities are endless. Move beyond the limits of your computer and play Minecraft everywhere you go.</p>
<h1>NinJump</h1>
<h1><a href="https://play.google.com/store/apps/details?id=com.bfs.ninjump"><img class="alignnone size-medium wp-image-886" title="ninJump" src="http://manishchiniwalar.com/wp-content/uploads/2012/07/ninJump-660x322.jpg" alt="" width="660" height="322" /></a></h1>
<p>In this fast paced ninja climbing game, your goal is to rise as high as you can while avoiding killer squirrels, angry birds, enemy ninjas, throwing stars and exploding bombs. With a simple tap you can jump from one wall to the other, knocking obstacles from the air as you do. Take down three enemies of the same kind to trigger mega-jump bonuses. Collect shields to plow through your opponents with. Just watch out for ledges and other ninjas because they will knock you off and send you to your doom!</p>
<h1>Tank Heros</h1>
<h1><a href="https://play.google.com/store/apps/details?id=com.clapfootgames.laserwarsfree"><img class="alignnone size-medium wp-image-887" title="tankHero" src="http://manishchiniwalar.com/wp-content/uploads/2012/07/tankHero-660x322.jpg" alt="" width="660" height="322" /></a></h1>
<p>The follow-up to the hit puzzle action game Tank Hero has finally arrived! Charge your lasers and get ready to take the fight to new battlegrounds that will challenge you like never before.</p>
<h1>Angry Birds Space</h1>
<h1><a href="https://play.google.com/store/apps/details?id=com.rovio.angrybirdsspace.ads"><img class="alignnone size-medium wp-image-888" title="angryBirdsSpace" src="http://manishchiniwalar.com/wp-content/uploads/2012/07/angryBirdsSpace-660x322.jpg" alt="" width="660" height="322" /></a></h1>
<p>Does it need and introduction? Get it FREE on Samsung app store.</p>
<h1>ShadowGun</h1>
<p><a href="http://manishchiniwalar.com/wp-content/uploads/2012/07/shadowGun.jpg"><img class="alignnone size-medium wp-image-889" title="shadowGun" src="http://manishchiniwalar.com/wp-content/uploads/2012/07/shadowGun-660x322.jpg" alt="" width="660" height="322" /></a></p>
<p>SHADOWGUN puts you into the role of John Slade, the galaxy’s most infamous bounty hunter. Your mission: hunt down Dr. Edgar Simon, maniacal genius and leader of his own mutant army. Infiltrate Dr. Simon’s mountain fortress and fight his personal guard of cyborgs, battle droids, and genetically enhanced humanoids. Using state-of-the-art weaponry, ships, and the assistance of S.A.R.A.—Slade’s personal android assistant—SHADOWGUN combines intense tactical combat with 3rd person action.</p>
<h1>Temple Run</h1>
<h1><a href="https://play.google.com/store/apps/details?id=com.imangi.templerun"><img class="alignnone size-medium wp-image-890" title="templeRun" src="http://manishchiniwalar.com/wp-content/uploads/2012/07/templeRun-660x322.jpg" alt="" width="660" height="322" /></a></h1>
<p>You&#8217;ve stolen the cursed idol from the temple, and now you have to run for your life to escape the Evil Demon Monkeys nipping at your heels. Test your reflexes as you race down ancient temple walls and along sheer cliffs. Swipe to turn, jump and slide to avoid obstacles, collect coins and buy power ups, unlock new characters, and see how far you can run!</p>
<h1>Cut The Rope</h1>
<h1><a href="https://play.google.com/store/apps/details?id=com.zeptolab.ctr.hd.lite.google"><img class="alignnone size-medium wp-image-891" title="cutTheRope" src="http://manishchiniwalar.com/wp-content/uploads/2012/07/cutTheRope-660x322.jpg" alt="" width="660" height="322" /></a></h1>
<p>Cut the Rope, catch a star, and feed Om Nom candy in this award-winning game!</p>
<p>A mysterious package has arrived, and the little monster inside has only one request… CANDY! Cut the ropes, release candy into Om Nom&#8217;s mouth, collect shiny gold stars, and unlock new levels.</p>
<h1>FruitNinja</h1>
<h1><a href="https://play.google.com/store/apps/details?id=com.halfbrick.fruitninjathdfree"><img class="alignnone size-medium wp-image-892" title="fruitNinja" src="http://manishchiniwalar.com/wp-content/uploads/2012/07/fruitNinja-660x322.jpg" alt="" width="660" height="322" /></a></h1>
<p>Fruit Ninja is a juicy action game with squishy, splatty and satisfying fruit carnage! Become the ultimate bringer of sweet, tasty destruction with every slash.</p>
<h1>2 Player Reactor</h1>
<h1><a href="https://play.google.com/store/apps/details?id=coolcherrytrees.games.reactor"><img class="alignnone size-medium wp-image-893" title="2playerReactor" src="http://manishchiniwalar.com/wp-content/uploads/2012/07/2playerReactor-660x322.jpg" alt="" width="660" height="322" /></a></h1>
<p>Challenge your friends (or enemies) to a battle of reflexes, wits and knowledge! Great as a bar game, ice breaker or to decide who has to do the dishes!</p>
<p>&gt;&gt;<a title="4 Player Reactor" href="https://play.google.com/store/apps/details?id=coolcherrytrees.games.reactor4" target="_blank">4 Player Version</a>&lt;&lt;</p>
<h1>Multi Worm</h1>
<h1><a href="https://play.google.com/store/apps/details?id=air.com.j4w.multiworms"><img class="alignnone size-medium wp-image-894" title="multiWorm" src="http://manishchiniwalar.com/wp-content/uploads/2012/07/multiWorm-660x322.jpg" alt="" width="660" height="322" /></a></h1>
<p>Multi Worm is multi-touch multiplayer game for up to 4 players on one device! If you enjoy playing snake on old Nokia phones, you can&#8217;t miss this game!</p>
<h1>MultiPonk</h1>
<p><a href="https://play.google.com/store/apps/details?id=net.fingerlab.multiponk"><img class="alignnone size-medium wp-image-895" title="multiPonk" src="http://manishchiniwalar.com/wp-content/uploads/2012/07/multiPonk-660x322.png" alt="" width="660" height="322" /></a></p>
<p>One finger to control your paddle. Give your ball smooth effects and thwart the traps to win the game !</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/ManishChiniwalarBlog?a=hY3KWIjEEag:JDUJS-9M3oE:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/ManishChiniwalarBlog?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ManishChiniwalarBlog?a=hY3KWIjEEag:JDUJS-9M3oE:-BTjWOF_DHI"><img src="http://feeds.feedburner.com/~ff/ManishChiniwalarBlog?i=hY3KWIjEEag:JDUJS-9M3oE:-BTjWOF_DHI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ManishChiniwalarBlog?a=hY3KWIjEEag:JDUJS-9M3oE:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/ManishChiniwalarBlog?i=hY3KWIjEEag:JDUJS-9M3oE:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ManishChiniwalarBlog?a=hY3KWIjEEag:JDUJS-9M3oE:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/ManishChiniwalarBlog?i=hY3KWIjEEag:JDUJS-9M3oE:gIN9vFwOqvQ" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/ManishChiniwalarBlog/~4/hY3KWIjEEag" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://manishchiniwalar.com/reviews/must-have-android-apps-tablet-friendly/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://manishchiniwalar.com/reviews/must-have-android-apps-tablet-friendly/</feedburner:origLink></item>
		<item>
		<title>Google Customer Surveys – New way to Earn</title>
		<link>http://feedproxy.google.com/~r/ManishChiniwalarBlog/~3/KhPzqcYomVA/</link>
		<comments>http://manishchiniwalar.com/uncategorized/google-customer-surveys-new-way-to-earn/#comments</comments>
		<pubDate>Fri, 30 Mar 2012 08:47:35 +0000</pubDate>
		<dc:creator>Manish</dc:creator>
				<category><![CDATA[How-tos]]></category>
		<category><![CDATA[Reviews]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Google]]></category>

		<guid isPermaLink="false">http://manishchiniwalar.com/?p=672</guid>
		<description><![CDATA[Google announced a new way to for publishers to make money off. If you've been using Google AdSence, and i'm sure it must be working great, give Google Consumer Survey a try!]]></description>
				<content:encoded><![CDATA[<p><iframe src="http://www.youtube.com/embed/videoseries?list=PLF1E170FC83B288D0&amp;hl=en_US" frameborder="0" width="647" height="400"></iframe></p>
<h2>Google unveals a new product this week &#8211; Consumer Surveys.</h2>
<p style="text-align: center;"><a href="http://manishchiniwalar.com/uncategorized/google-customer-surveys-new-way-to-earn/attachment/how_partners/" rel="attachment wp-att-682"><img class="size-full wp-image-682 aligncenter" style="margin-top: 5px; margin-bottom: 5px;" title="Google Consumer Surveys - Example" src="http://manishchiniwalar.com/wp-content/uploads/2012/03/how_partners.png" alt="Google Consumer Surveys - Example" width="460" height="400" /></a><strong></strong></p>
<p style="text-align: left;"><strong>Here&#8217;s how it&#8217;s going to work:</strong><br />
1. Businesses create small quick surveys.<br />
2. You include Google Consumer Survey JavaScript Code into your Website. Probably Wrap it around the content.<br />
3. The Visitor will need to answer the survey to access the content.<br />
4. Neat! A Win-Win-Win situation.</p>
<p style="text-align: left;">I think it&#8217;d be great for premium content and downloads section.</p>
<p style="text-align: left;">Waiting for my account to be approved <img src='http://manishchiniwalar.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<h3>Useful Links:</h3>
<p>Home Page: <a href="http://www.google.com/insights/consumersurveys">http://www.google.com/insights/consumersurveys</a><br />
Registration Link: <a href="https://services.google.com/fb/forms/surveysforpublishers/">https://services.google.com/fb/forms/surveysforpublishers/</a></p>
<p>UPDATE: I got a reply from Google saying, it&#8217;s not available in just India yet. Guess I&#8217;ll have to wait a little while longer.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/ManishChiniwalarBlog?a=KhPzqcYomVA:x2mpieWNvAg:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/ManishChiniwalarBlog?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ManishChiniwalarBlog?a=KhPzqcYomVA:x2mpieWNvAg:-BTjWOF_DHI"><img src="http://feeds.feedburner.com/~ff/ManishChiniwalarBlog?i=KhPzqcYomVA:x2mpieWNvAg:-BTjWOF_DHI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ManishChiniwalarBlog?a=KhPzqcYomVA:x2mpieWNvAg:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/ManishChiniwalarBlog?i=KhPzqcYomVA:x2mpieWNvAg:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ManishChiniwalarBlog?a=KhPzqcYomVA:x2mpieWNvAg:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/ManishChiniwalarBlog?i=KhPzqcYomVA:x2mpieWNvAg:gIN9vFwOqvQ" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/ManishChiniwalarBlog/~4/KhPzqcYomVA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://manishchiniwalar.com/uncategorized/google-customer-surveys-new-way-to-earn/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://manishchiniwalar.com/uncategorized/google-customer-surveys-new-way-to-earn/</feedburner:origLink></item>
		<item>
		<title>Most sensible Broadband – Airtel Increases Bandwidth</title>
		<link>http://feedproxy.google.com/~r/ManishChiniwalarBlog/~3/QAUyGDMpkQM/</link>
		<comments>http://manishchiniwalar.com/uncategorized/most-sensible-broadband-airtel-increases-bandwidth/#comments</comments>
		<pubDate>Wed, 28 Mar 2012 14:22:28 +0000</pubDate>
		<dc:creator>Manish</dc:creator>
				<category><![CDATA[Reviews]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Broadband]]></category>

		<guid isPermaLink="false">http://manishchiniwalar.com/?p=664</guid>
		<description><![CDATA[The Airtel 500U plan seems to be upgraded. The 5 GB cap has been extended to 25 GB! Now, that's what i call a sensible broadband plan. ]]></description>
				<content:encoded><![CDATA[<p>Airtel seems to have increased the bandwidth of the 500 Unlimited plan. Atleast i seem to have been upgraded. Check out the image below:</p>
<p><a href="http://manishchiniwalar.com/uncategorized/most-sensible-broadband-airtel-increases-bandwidth/attachment/airtel_bandwidth/" rel="attachment wp-att-665"><img class="alignnone size-full wp-image-665" title="airtel_bandwidth" src="http://manishchiniwalar.com/wp-content/uploads/2012/03/airtel_bandwidth.jpg" alt="airtel_bandwidth" width="493" height="121" /></a><br />
According to the original plan offered, for Rs. 500/month I get 1 Mbps upto 5GB and there after 256 kbps unlimited + 100 airtel-to-airtel calls free. I think it was a limited time offer, i&#8217;m not sure. Anyway, I exhaust the 5GB in like 3 days and max upto 21 days. And thereafter I find 256kbps unbearable! Especially, if you want to watch tutorials on YouTube.<br />
But now, the plan seems to be revised. It&#8217;s been 2 months now, the 5GB cap has been extended to 25GB. Hurray! Now, that&#8217;s what i call a <strong>sensible plan</strong>! When will all the other Tel Co&#8217;s learn?</p>
<p>This i think is the BEST BROADBAND PLAN right now.</p>
<p>P.S. -It may however be a glitch like the last time when we were getting 2Mbps unlimited WITHOUT a cap!</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/ManishChiniwalarBlog?a=QAUyGDMpkQM:69Bp4QoLFjk:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/ManishChiniwalarBlog?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ManishChiniwalarBlog?a=QAUyGDMpkQM:69Bp4QoLFjk:-BTjWOF_DHI"><img src="http://feeds.feedburner.com/~ff/ManishChiniwalarBlog?i=QAUyGDMpkQM:69Bp4QoLFjk:-BTjWOF_DHI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ManishChiniwalarBlog?a=QAUyGDMpkQM:69Bp4QoLFjk:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/ManishChiniwalarBlog?i=QAUyGDMpkQM:69Bp4QoLFjk:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ManishChiniwalarBlog?a=QAUyGDMpkQM:69Bp4QoLFjk:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/ManishChiniwalarBlog?i=QAUyGDMpkQM:69Bp4QoLFjk:gIN9vFwOqvQ" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/ManishChiniwalarBlog/~4/QAUyGDMpkQM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://manishchiniwalar.com/uncategorized/most-sensible-broadband-airtel-increases-bandwidth/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://manishchiniwalar.com/uncategorized/most-sensible-broadband-airtel-increases-bandwidth/</feedburner:origLink></item>
		<item>
		<title>[How-to] Time Lapse Photography on your Phone</title>
		<link>http://feedproxy.google.com/~r/ManishChiniwalarBlog/~3/mJiH-ctEOec/</link>
		<comments>http://manishchiniwalar.com/how-tos/how-to-time-lapse-photography-on-your-phone/#comments</comments>
		<pubDate>Sat, 31 Dec 2011 14:00:01 +0000</pubDate>
		<dc:creator>Manish</dc:creator>
				<category><![CDATA[How-tos]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[Phone]]></category>
		<category><![CDATA[Photography]]></category>
		<category><![CDATA[Time-Lapse]]></category>

		<guid isPermaLink="false">http://manishchiniwalar.com/?p=618</guid>
		<description><![CDATA[Ever seen the beautiful videos on discovery channel showing the flowers blooming or the seasons changing. It's fascinating to speed up time to make the changes noticeable. If you though you needed some expensive equipment to do that, toss that thought into the bin. Read through the tutorial as i tell you how to create time-lapse videos using your phone.]]></description>
				<content:encoded><![CDATA[<p>Ever seen the beautiful videos on discovery channel showing the flowers blooming or the seasons changing. It&#8217;s fascinating to speed up time to make the changes noticeable. If you though you needed some expensive equipment to do that, toss that thought into the bin.</p>
<p>To make a <strong>High Definition Time Lapse</strong> video all you need is a phone [Preferably android] with a <strong>2MP camera</strong> and access to a computer. That&#8217;s right, You can create a HD video with just 2MP camera. If you have that, Read along for the complete tutorial.</p>
<p><strong>Here are a few i made:</strong><br />
<iframe src="http://www.youtube.com/embed/rwGhIaGWBP4?hd=1" frameborder="0" width="640" height="360"></iframe></p>
<p><iframe src="http://www.youtube.com/embed/R0RZiB-5WkU?hd=1" frameborder="0" width="640" height="360"></iframe><br />
<strong>You&#8217;ll need these softwares:</strong></p>
<ul>
<li>Any App that can take photographs after a set interval. I used <a title="CameraZoom Fx" href="https://market.android.com/details?id=slide.cameraZoom&amp;hl=en" target="_blank">CameraZOOM</a> for android.<br />
Other apps: <a title="LapseIt" href="https://market.android.com/details?id=com.ui.LapseIt" target="_blank">LapseIt</a>. If you know some other, leave a comment below.</li>
<li>Download <a title="AVIDeMux" href="http://avidemux.berlios.de/download.html" target="_blank">AVIDeMux</a>.</li>
<li>[optional] <a title="Bulk Rename Utility" href="http://www.bulkrenameutility.co.uk/Download.php" target="_blank">Bulk Rename Utility</a>.</li>
<li>[optional] Adobe Photoshop.</li>
</ul>
<p><strong>What is Time Lapse Photography?</strong><br />
It is a technique of capturing at a lower frame rate and displaying it at a higher frame rate. In simple words, you are speeding up the time.</p>
<p><strong>Before you begin:</strong></p>
<ul>
<li>Calculate the amount of time required for the event. You may just observe and note once.</li>
<li>Then decide the duration of the video. I prefer 20~30 seconds.</li>
<li>Most Video sharing sites prefer 30fps. So, You&#8217;ll need to set your timer to roughly at<br />
time = [Whole Event]/[Preferred Duration*30]</li>
<li>Turn off all the auto modes. Set the white balance yourself.</li>
<li>Take snapshots of the target and decide the best position and settings.</li>
<li>Place your cam on a sturdy place and start the app.<br />
I used a tripod from a small telescope i had lying around and hacked it to hold the phone.</li>
</ul>
<p><strong>Once you are done taking pictures:</strong></p>
<p>Download all your photos onto your PC.<br />
Sometimes, for some weird reasons, your photos might not be in order. To rename them, i used the <a title="Bulk Rename Utility" href="http://www.bulkrenameutility.co.uk/Download.php" target="_blank">Bulk Rename Utility</a>.<br />
<a href="http://manishchiniwalar.com/how-tos/how-to-time-lapse-photography-on-your-phone/attachment/screenshot-1/" rel="attachment wp-att-619"><img class="wp-image-619 alignnone" title="Bulk-rename-utility_Manish_Chiniwalar_blog" src="http://manishchiniwalar.com/wp-content/uploads/2011/12/screenshot.1.jpg" alt="Bulk-rename-utility_ScreenShot" width="655" height="460" /></a></p>
<p>If you need to Add a few touches to the photos, You can use the <strong>Batch Automate </strong>Option in photoshop.<br />
To do this:</p>
<p>Open the first image in photoshop.</p>
<p><a href="http://manishchiniwalar.com/how-tos/how-to-time-lapse-photography-on-your-phone/attachment/screenshot-3/" rel="attachment wp-att-620"><img class="alignnone  wp-image-620" title="Photoshop1_Time-Lapse_ManishChiniwalar" src="http://manishchiniwalar.com/wp-content/uploads/2011/12/screenshot.3.jpg" alt="Photoshop1_Time-Lapse_ManishChiniwalar" width="655" height="365" /></a></p>
<p>You then need to create an action: (Window &gt; Actions)</p>
<p><a href="http://manishchiniwalar.com/how-tos/how-to-time-lapse-photography-on-your-phone/attachment/screenshot-4/" rel="attachment wp-att-627"><img class="alignnone size-full wp-image-627" title="Photoshop-action_Time-Lapse_ManishChiniwalar" src="http://manishchiniwalar.com/wp-content/uploads/2011/12/screenshot.4-e1325316712475.jpg" alt="Photoshop-action_Time-Lapse_ManishChiniwalar" width="655" height="364" /></a></p>
<p>Give your Action a name and press record. From now on, all your activity on photoshop will be recorded in this action.</p>
<p>After you&#8217;ve applied your effects, Resize the image to <strong>1920&#215;1080</strong> px.</p>
<p>Then select <strong>Save As </strong>and save the photo as jpg in a folder. [<strong>NOTE</strong>: DO NOT create a folder or rename the file in the save as dialogue box. Create the folder from the File Browser.]</p>
<p>Then Click <strong>close.</strong> [Before stopping the recording of the action]</p>
<p>Now, Stop the action recording.</p>
<p><a href="http://manishchiniwalar.com/how-tos/how-to-time-lapse-photography-on-your-phone/attachment/screenshot-8/" rel="attachment wp-att-628"><img class="alignnone size-full wp-image-628" title="Stop Action Recording in Photoshop | Time Lapse | ManishChiniwalar's Blog" src="http://manishchiniwalar.com/wp-content/uploads/2011/12/screenshot.8-e1325317234729.jpg" alt="Stop Action Recording in Photoshop | Time Lapse | ManishChiniwalar's Blog" width="655" height="364" /></a></p>
<p>Now it&#8217;s time to apply the effect to the rest of the heap of photos. Select <strong>Batch </strong> from File &gt; Automate &gt; Batch.</p>
<p>Choose the recorded action in the previous step as <strong>action</strong>.</p>
<p>Choose the <strong>Source</strong> as the folder where all your images are stored and <strong>Destination</strong> as the folder you created to save the photoshop images.</p>
<p>And check the &#8216;<strong>Override actions &#8220;Save As&#8221; commands</strong>&#8216; and press <strong>OK</strong>.</p>
<p><a href="http://manishchiniwalar.com/how-tos/how-to-time-lapse-photography-on-your-phone/attachment/screenshot-10/" rel="attachment wp-att-629"><img class="alignnone size-full wp-image-629" title="Photoshop Batch Mode | Time Lapse | Manish Chiniwalar's Blog" src="http://manishchiniwalar.com/wp-content/uploads/2011/12/screenshot.10-e1325317665838.jpg" alt="Photoshop Batch Mode | Time Lapse | Manish Chiniwalar's Blog" width="655" height="493" /></a></p>
<p>Photoshop will now apply the effects in the action to each image in the source folder and save in the destination folder.</p>
<p>Now, to stitch the photos to gether, we&#8217;ll use AVIDeMux.</p>
<p><a href="http://manishchiniwalar.com/how-tos/how-to-time-lapse-photography-on-your-phone/attachment/screenshot-12/" rel="attachment wp-att-657"><img class="alignnone size-full wp-image-657" title="AVIDeMux - TimeLapse Photography | Manish Chiniwalar's Blog" src="http://manishchiniwalar.com/wp-content/uploads/2011/12/screenshot.12-e1325342623596.jpg" alt="AVIDeMux - TimeLapse Photography | Manish Chiniwalar's Blog" width="655" height="482" /></a><br />
YouTube prefers <strong>30fps</strong> in <strong>H.264, MPEG-2 or MPEG-4</strong> format.</p>
<p>In AVIDeMux, Just open the first image and it&#8217;ll load the rest of the sequence.<br />
Select <strong>MPEG-4 AVC</strong> from the video drop down and <strong>AVI</strong> from format drop down.</p>
<p>Then save the video from file &gt; save video.</p>
<p><strong>DONE!</strong></p>
<p>You may now upload it to Vimeo, YouTube and Facebook and share with your friends.</p>
<p>Also, Leave the links in the comments below. I&#8217;d love to see your Magic <img src='http://manishchiniwalar.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/ManishChiniwalarBlog?a=mJiH-ctEOec:kHKzzpK8YUU:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/ManishChiniwalarBlog?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ManishChiniwalarBlog?a=mJiH-ctEOec:kHKzzpK8YUU:-BTjWOF_DHI"><img src="http://feeds.feedburner.com/~ff/ManishChiniwalarBlog?i=mJiH-ctEOec:kHKzzpK8YUU:-BTjWOF_DHI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ManishChiniwalarBlog?a=mJiH-ctEOec:kHKzzpK8YUU:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/ManishChiniwalarBlog?i=mJiH-ctEOec:kHKzzpK8YUU:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ManishChiniwalarBlog?a=mJiH-ctEOec:kHKzzpK8YUU:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/ManishChiniwalarBlog?i=mJiH-ctEOec:kHKzzpK8YUU:gIN9vFwOqvQ" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/ManishChiniwalarBlog/~4/mJiH-ctEOec" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://manishchiniwalar.com/how-tos/how-to-time-lapse-photography-on-your-phone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://manishchiniwalar.com/how-tos/how-to-time-lapse-photography-on-your-phone/</feedburner:origLink></item>
		<item>
		<title>VLSI Lab Programs</title>
		<link>http://feedproxy.google.com/~r/ManishChiniwalarBlog/~3/X5wz_UAxMuk/</link>
		<comments>http://manishchiniwalar.com/college/vlsi-lab-programs/#comments</comments>
		<pubDate>Sat, 26 Nov 2011 04:40:17 +0000</pubDate>
		<dc:creator>Manish</dc:creator>
				<category><![CDATA[College]]></category>
		<category><![CDATA[Lab]]></category>
		<category><![CDATA[7th sem]]></category>
		<category><![CDATA[Verilog]]></category>
		<category><![CDATA[vlsi]]></category>

		<guid isPermaLink="false">http://manishchiniwalar.com/?p=596</guid>
		<description><![CDATA[Lab programs for VLSI Lab (VII sem Electronics and communication) verilog codes, testbench codes and layouts. Subject Code : 06ECL77]]></description>
				<content:encoded><![CDATA[<p>Here are the lab programs for VLSI (VII sem, Electronics and communication) Subject Code : <strong>06ECL77</strong></p>
<blockquote><p>DOWNLOAD: <img alt="zip" title="zip" class="download-icon" src="http://manishchiniwalar.com/wp-content/plugins/download-monitor/img/filetype_icons/document-zipper.png" /> <a href="http://manishchiniwalar.com/downloads/?did=2" title="Version: 1.0 Downloaded 626 times | Here are the lab programs for VLSI (VII sem, Electronics and communication)<br />
[verilog codes, testbench codes, netlist codes and layouts] Subject Code : 06ECL77">7th SEM EC VLSI Lab Programs & Layouts </a> | SIZE:7.04 MB</p></blockquote>
<h2>Part A</h2>
<h4>1. Inverter</h4>
<p><strong>Verilog Code:</strong></p>
<pre class="brush: plain; light: false; title: ; toolbar: true; notranslate">
module inv(a,v);
input a;
output v;
assign v=~a;
endmodule 
</pre>
<p><strong>TestBench Code:</strong></p>
<pre class="brush: plain; light: false; title: ; toolbar: true; notranslate">
`timescale 1ns/1ns
module inv2(input a, output y);
assign y=(~a);
endmodule

`timescale 1ns/1ns
module inv_tb;
reg a;
wire y;
or2 out(.a(a), .y(y));
initial
begin
a=0;
#100;

a=1;
#100;

end
endmodule
</pre>
<p><strong>PEX NetList Code:</strong></p>
<pre class="brush: plain; light: false; title: ; toolbar: true; notranslate">
X1 A V GND VDD inverter
.lib /home/software/FOUNDRY/adk3_0/technology/ic/models/ami05.mod

.connect gnd 0
v1 vdd gnd dc 5v
v2 A gnd pulse(0v 5v 0 5ns 5ns 20ns 50ns)

.tran 1n 1u
.plot v(A) v(V)
.end
</pre>
<p>&nbsp;</p>
<h4>2. OR Gate</h4>
<p><strong>Verilog Code:</strong></p>
<pre class="brush: plain; light: false; title: ; toolbar: true; notranslate">
module orgate(a,b,x);
input a,b;
output x;
assign x=a|b;
endmodule
</pre>
<p><strong>TestBench Code:</strong></p>
<pre class="brush: plain; light: false; title: ; toolbar: true; notranslate">
TEST BENCH CODE FOR INVERTER

`timescale 1ns/1ns
module or2(input a, input b, output y);
assign y=(a|b);
endmodule

`timescale 1ns/1ns
module or_tb;
reg a,b;
wire y;
or2 out(.a(a), .b(b), .y(y));
initial
begin
a=0;
b=0;
#100;

a=1;
b=0;
#100;

a=0;
b=1;
#100;

a=1;
b=1;
#100;
end
endmodule
</pre>
<p><strong>PEX NetList Code:</strong></p>
<pre class="brush: plain; light: false; title: ; toolbar: true; notranslate">
X1 I2 I1 O1 GND VDD or_gate
.lib /home/software/FOUNDRY/adk3_0/technology/ic/models/ami05.mod

.connect GND 0
v1 VDD GND dc 5v
v2 I2 GND pulse(0v 5v 0 5ns 5ns 40ns 80ns)
v3 I1 GND pulse(0v 5v 0 5ns 5ns 20ns 60ns)

.tran 1n 1u
.plot v(I2) v(I1) v(O1)
.end
</pre>
<p>&nbsp;</p>
<h4>3. NAND Gate</h4>
<p><strong>Verilog Code:</strong></p>
<pre class="brush: plain; light: false; title: ; toolbar: true; notranslate">
module nandgate(a,b,x);
input a,b;
output x;
assign x=~(a&amp;b);
endmodule
</pre>
<p><strong>TestBench Code:</strong></p>
<pre class="brush: plain; light: false; title: ; toolbar: true; notranslate">
`timescale 1ns/1ns
module nand2(input a, input b, output y);
assign y=~(a&amp;b);
endmodule

`timescale 1ns/1ns
module my_tb;
reg a,b;
wire y;
nand2 out(.a(a), .b(b), .y(y));
initial
begin
a=0;
b=0;
#100;

a=1;
b=0;
#100;

a=0;
b=1;
#100;

a=1;
b=1;
#100;
end
endmodule
</pre>
<p><strong>PEX NetList Code:</strong></p>
<pre class="brush: plain; light: false; title: ; toolbar: true; notranslate">
X1 I2 I1 O1 GND VDD nand
.lib /home/software/FOUNDRY/adk3_0/technology/ic/models/ami05.mod

.connect GND 0
v1 VDD GND dc 5v
v2 I2 GND pulse(0v 5v 0 5ns 5ns 40ns 80ns)
v3 I1 GND pulse(0v 5v 0 5ns 5ns 20ns 60ns)

.tran 1n 1u
.plot v(I2) v(I1) v(O1)
.end
</pre>
<p>&nbsp;</p>
<h4>4. D-FlipFlop</h4>
<p><strong>Verilog Code:</strong></p>
<pre class="brush: plain; light: false; title: ; toolbar: true; notranslate">
module mydff(d,clk,q,qb);
input d,clk;

output q,qb;
reg q,qb;
always@(posedge clk)
begin
        case(d)
        1'd0:q=0;
        1'd1:q=1;
        endcase
qb=~q;
end
endmodule
</pre>
<p><strong>TestBench Code:</strong></p>
<pre class="brush: plain; light: false; title: ; toolbar: true; notranslate">
`timescale 1ns/1ns
module dff1(d,clk,q,qb);
input d,clk;
output q, qb;
reg q,qb;

always@(posedge(clk))
begin
if(d==0)
q=0;
else
q=1;
qb=~q;
end 
endmodule

`timescale 1ns/1ns
module dff1_tb;
reg a,b;
wire y,yb;
dff1 out(.d(a),.clk(b),.q(y),.qb(yb));
initial
begin
a=0;
b=0;
#100;

b=1;
#100;

a=1;
b=0;
#100;

b=1;
#100;
end
endmodule
</pre>
<p><strong>PEX NetList Code:</strong></p>
<pre class="brush: plain; light: false; title: ; toolbar: true; notranslate">
X1 D CLK QB Q GND VDD mydff
.lib /home/software/FOUNDRY/adk3_0/technology/ic/models/ami05.mod

.connect GND 0
v1 VDD GND dc 5v
v2 CLk GND pulse(0v 5v 0 5ns 5ns 20ns 50ns)
v3 D GND pulse(0v 5v 0 5ns 5ns 100ns 200ns)
.tran 1n 1u
.plot v(D) v(CLK) v(Q) v(QB)
.end
</pre>
<p>&nbsp;</p>
<h4>5. T-FlipFlop</h4>
<p><strong>Verilog Code:</strong></p>
<pre class="brush: plain; light: false; title: ; toolbar: true; notranslate">
module mytff(t,q,qb,clk);
input   t,clk;
output q,qb;
reg q,qb;
initial q=0;

always@(posedge clk)
begin
        if (t==1)
        begin
                q=~q;
              end
      else
        begin
      q=q;                
        end
        qb=~q;      
    end
endmodule
</pre>
<p><strong>TestBench Code:</strong></p>
<pre class="brush: plain; light: false; title: ; toolbar: true; notranslate">
`timescale 1ns/1ns
module tff (t,clk,q,qb);
input t,clk;
output q,qb;
reg q, qb;
initial
begin
q=0;
q=1;
end

always@(posedge (clk))
begin
if(t==0)
q=q;
else
q=qb;
qb=~q;
end
endmodule

`timescale 1ns/1ns
module tff_tb;
reg a,b;
wire y,yb;
tff out(.t(a), .clk(b),.q(y),.qb(yb));
initial
begin
a=0;
b=0;
#100;

b=1;
#100;

a=1;
b=0;
#100;

b=1;
#100;
end 
endmodule
</pre>
<p><strong>PEX NetList Code:</strong></p>
<pre class="brush: plain; light: false; title: ; toolbar: true; notranslate">
X1 T CLK Q QB GND VDD mytff
.lib /home/software/FOUNDRY/adk3_0/technology/ic/models/ami05.mod

.connect GND 0
v1 VDD GND dc 5v
v2 T GND pulse(0v 5v 0 0ns 0ns 100ns 200ns)
v3 CLK GND pulse(0v 5v 0 0ns 0ns 50ns 100ns)

.tran 1n 1u
.plot v(T) v(CLK) v(Q) v(QB)
.end
</pre>
<p>&nbsp;</p>
<h4>6. JK-FlipFlop</h4>
<p><strong>Verilog Code:</strong></p>
<pre class="brush: plain; light: false; title: ; toolbar: true; notranslate">
module myjkff(jk,clk,q,qb);
output q,qb;
input[1:0] jk;
input clk;
reg q,qb;

always @(posedge clk)
begin
      
                case(jk)
                        2'd1:q=0;
                        2'd2:q=1;
                        2'd3:q=~q;
                        2'd0:q=q;
                  endcase
          
         
          qb=~q;
     end
   endmodule
</pre>
<p><strong>TestBench Code:</strong></p>
<pre class="brush: plain; light: false; title: ; toolbar: true; notranslate">
`timescale 1ns/1ns
module jkff(j,k,clk,q,qb);
input j,k, clk;
output q, qb;
reg q,qb;
initial
begin
q=0;
qb=1;
end

always@ (posedge (clk))
begin
if(j==0 &amp;&amp; k==0)
     q=0;
else if(j==0 &amp;&amp; j==1)
     q=0;
else if (j==1 &amp;&amp; k==0)
     q=1;
else q=qb;
     qb=~q;
end 
endmodule

`timescale 1ns/1ns
module jkff_tb;
reg a,b,c;
wire y,yb;
jkff out (.j(a), .k(c),.clk(b), .q(y), .qb(yb));
initial
begin
c=0;
a=0;
b=0;
#100;

b=1;
#100;

a=1;
b=0;
#100;

b=1;
#100;

c=1;
a=0;
b=0;
#100;

a=0;
b=1;
#100;

a=1;
#100;

b=1;
#100;
end
endmodule
</pre>
<p><strong>PEX NetList Code:</strong></p>
<pre class="brush: plain; light: false; title: ; toolbar: true; notranslate">
X1 JK[0] Q JK[1] QB CLK GND VDD myjkff
.lib /home/software/FOUNDRY/adk3_0/technology/ic/models/ami05.mod

.connect GND 0
v1 VDD GND dc 5v
v2 JK[0] GND pulse(0v 5v 0 0ns 0ns 100ns 200ns)
v3 JK[1] GND pulse(0v 5v 0 0ns 0ns 50ns 100ns)
v3 CLK GND pulse(0v 5v 0 0ns 0ns 25ns 50ns)

.tran 1n 1u
.plot v(JK[0]) v(JK[1]) v(CLK) v(Q) v(QB)
.end
</pre>
<p>&nbsp;</p>
<h4>7. Full Adder</h4>
<p><strong>Verilog Code:</strong></p>
<pre class="brush: plain; light: false; title: ; toolbar: true; notranslate">
module fa(a,b,c,s,c1);
input a,b,c;
output s,c1;
assign s=a^b^c;
assign c1=a&amp;b|(b&amp;c)|(c&amp;a);
endmodule
</pre>
<p><strong>TestBench Code:</strong></p>
<pre class="brush: plain; light: false; title: ; toolbar: true; notranslate">
`timescale 1ns/1ns
module fulladd2(input a, input b, input c, output c1, output s);
assign c1=a&amp;b|(b&amp;c)|(c&amp;a);
assign s=a^b^c;
endmodule

`timescale 1ns/1ns
module fulladd_tb;
reg a,b,c;
wire c1,s;
fulladd2 out(.a(a), .b(b), .c(c), .c1(c1), .s(s)) ;
initial
	begin
	a=0;
	b=0;
	c=0;
	#100;

	a=1;
	b=0;
	c=1;
	#100;

	a=0;
	b=1;
	c=0;
	#100;

	a=1;
	b=1;
	c=1;
	#100;

	a=1;
	b=1;
	c=0;
	#100;
	end
endmodule
</pre>
<p><strong>PEX NetList Code:</strong></p>
<pre class="brush: plain; light: false; title: ; toolbar: true; notranslate">
X1 A C C1 B S GND VDD fa
.lib /home/software/FOUNDRY/adk3_0/technology/ic/models/ami05.mod

.connect GND 0
v1 VDD GND dc 5v
v2 A GND dc 5v
v3 B GND dc 5v
v4 C GND dc 0v

.tran 1n .5u
.plot v(A) v(B) v(C) v(C1) v(S)
.end
</pre>
<p>&nbsp;</p>
<h4>8. Counter</h4>
<p><strong>Verilog Code:</strong></p>
<pre class="brush: plain; light: false; title: ; toolbar: true; notranslate">
module bincount(clk,clr,q);
input clk,clr;
output[3:0] q;
reg[3:0] q;
initial q=4'b0000;

always @(posedge clk)

begin
  if (clr == 0)
    begin
      case(q)
        
        4'b0000 : q=4'b0001;
        4'b0001 : q=4'b0010;
        4'b0010 : q=4'b0011;
        4'b0011 : q=4'b0100; 
        4'b0100 : q=4'b0101;
        4'b0101 : q=4'b0110; 
        4'b0110 : q=4'b0111; 
        4'b0111 : q=4'b1001; 
        4'b1001 : q=4'b1010;
        4'b1010 : q=4'b1011;
        4'b1011 : q=4'b1100;
        4'b1100 : q=4'b1101;
        4'b1101 : q=4'b1110;
        4'b1110 : q=4'b1111;
      endcase
    end
  else
      q=4'b0000;
      
    end
  endmodule

</pre>
<p><strong>TestBench Code:</strong></p>
<pre class="brush: plain; light: false; title: ; toolbar: true; notranslate">
`timescale 1ns/1ns
module count4(clk,clr,q);
input clk,clr;
output[3:0]q;
reg[3:0]q=0000;
always@(posedge(clk))
begin
	if(clr==0)
	begin
		q=q+4'd1;
		end
		else
		q=0000;
	end
endmodule

`timescale 1ns/1ns
module count4_tb;
reg a,b;
wire[3:0]y;
count4 out(.clr(a),.clk(b),.q(y));
initial
	begin
	a=0;
	while(1)
		begin
		b=0;
		#100;
		b=1;
		#100;
		end
	end 
endmodule
</pre>
<p><strong>PEX NetList Code:</strong></p>
<pre class="brush: plain; light: false; title: ; toolbar: true; notranslate">
X1 Q[0] CLR CLK Q[3] Q[1] Q[2] GND VDD bincount 
.lib /home/software/FOUNDRY/adk3_0/technology/ic/models/ami05.mod

.connect GND 0
v1 VDD GND dc 5v
v2 CLR GND dc 0v
v3 CLK GND pulse(0v 5v 0 0ns 0ns 20ns 50ns)

.tran 1n 1u
.plot v(CLR) v(CLK) v(Q[0]) v(Q[1]) v(Q[2]) v(Q[3])
.end
</pre>
<p>&nbsp;</p>
<h2>Part B</h2>
<p>[Spice NetList code]</p>
<h4>1. Inverter</h4>
<pre class="brush: plain; light: false; title: ; toolbar: true; notranslate">
.subckt inv VDD VSS IN1 OUT1
M1 OUT1 IN1 VDD VDD p w=3.0u l=0.6u
M2 OUT1 IN1 VSS VSS n w=1.5u l=0.6u
.ends inv

X1 VDD VSS IN1 OUT1 inv
.lib /home/software/FOUNDRY/adk3_0/technology/ic/models/ami05.mod
.connect VSS 0
V1 VDD VSS dc 5V
V2 IN1 VSS pulse(0V 5V 0 5ns 5ns 25ns 50ns)
.tran 1n 1u 
.plot V(IN1) V(OUT1)
.end
</pre>
<h4>2. NOR Gate</h4>
<pre class="brush: plain; light: false; title: ; toolbar: true; notranslate">
.subckt nor VDD VSS A B OUT
M1 1 A VDD VDD p w=3.0u l=0.6u
M2 OUT B 1 VDD p w=3.0u l=0.6u
M3 OUT A VSS VSS n w=1.5u l=0.6u
M4 OUT B VSS VSS n w=1.5u l=0.6u
.ends nor

X1 VDD VSS A B OUT nor
.lib /home/software/FOUNDRY/adk3_0/technology/ic/models/ami05.mod
.connect VSS 0
V1 VDD VSS dc 5v
V2 A VSS pulse(0v 5v 0ns 5ns 5ns 25ns 50ns)
V3 B VSS pulse(0v 5v 0ns 5ns 5ns 50ns 100ns)
.tran 1n 1u
.plot v(A) v(B) v(OUT)
.end
</pre>
<h4>3. NAND Gate</h4>
<pre class="brush: plain; light: false; title: ; toolbar: true; notranslate">
.subckt nand VSS VDD A B OUT
M1 OUT A VDD VDD p w=3u l=0.6u
M2 OUT B VDD VDD p w=3u l=0.6u
M3 OUT A 1 VSS n w=1.5u l=0.6u
M4 1 B VSS VSS n w=1.5u l=0.6u

.ends nand

X1 VSS VDD A B OUT nand
.lib /home/software/FOUNDRY/adk3_0/technology/ic/models/ami05.mod
.connect VSS 0
V1 VDD VSS dc 5V
V2 A VSS pulse(0V 5V 0 5ns 5ns 20ns 50ns)
V3 B VSS pulse(0V 5V 0 5ns 5ns 40ns 80ns)
.tran 1n 1u
.plot V(A) V(B) V(OUT)
.end</pre>
<h4>4. Common Source</h4>
<pre class="brush: plain; light: false; title: ; toolbar: true; notranslate">
.subckt csa VDD VSS IN1 OUT1
M1 OUT1 OUT1 VDD VDD p w=3.0u l=0.6u
M2 OUT1 IN1 VSS VSS n w=1.5u l=0.6u
.ends csa

X1 VDD VSS IN1 OUT1 csa
.lib /home/software/FOUNDRY/adk3_0/technology/ic/models/ami05.mod
.connect VSS 0V
V1 VDD VSS dc 5V
V2 IN1 VSS dc 0V
.dc V2 0 5V 0.1V
.plot V(IN1) V(OUT1)
.end</pre>
<h4>5. OpAmp</h4>
<pre class="brush: plain; light: false; title: ; toolbar: true; notranslate">
.subckt opamp VDD VSS IN1 IN2 5 OUT
M1 1 IN1 3 3 n w=1.5u l=0.6u
M2 2 IN2 3 3 n w=1.5u l=0.6u
M3 1 1 VDD VDD p w=3.0u l=0.6u
M4 2 1 VDD VDD p w=1.5u l=0.6u
M5 3 5 VSS VSS n w=1.5u l=0.6u
M6 VDD 2 OUT OUT n w=1.5u l=0.6u
M7 OUT 5 VSS VSS n w=1.5u l=0.6u
M8 5 5 VSS VSS n w=1.5u l=0.6u
cc 2 OUT 3pf
.ends opamp

X1 VDD VSS IN1 IN2 5 OUT opamp
.lib /home/software/FOUNDRY/adk3_0/technology/ic/models/ami05.mod
V1 VDD 0 dc 2.5V
V2 VSS 0 dc -2.5V
i1 VDD 5 30ua
V3 IN1 0 dc 0V
V4 IN2 0 dc 0V
.dc V4 -2.5V 2.5V 0.1V
.plot V(OUT) V(IN2)
.end</pre>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/ManishChiniwalarBlog?a=X5wz_UAxMuk:qGV9pR-LXp4:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/ManishChiniwalarBlog?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ManishChiniwalarBlog?a=X5wz_UAxMuk:qGV9pR-LXp4:-BTjWOF_DHI"><img src="http://feeds.feedburner.com/~ff/ManishChiniwalarBlog?i=X5wz_UAxMuk:qGV9pR-LXp4:-BTjWOF_DHI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ManishChiniwalarBlog?a=X5wz_UAxMuk:qGV9pR-LXp4:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/ManishChiniwalarBlog?i=X5wz_UAxMuk:qGV9pR-LXp4:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ManishChiniwalarBlog?a=X5wz_UAxMuk:qGV9pR-LXp4:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/ManishChiniwalarBlog?i=X5wz_UAxMuk:qGV9pR-LXp4:gIN9vFwOqvQ" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/ManishChiniwalarBlog/~4/X5wz_UAxMuk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://manishchiniwalar.com/college/vlsi-lab-programs/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		<feedburner:origLink>http://manishchiniwalar.com/college/vlsi-lab-programs/</feedburner:origLink></item>
		<item>
		<title>[Review] ASUS 1015 PEM netbook</title>
		<link>http://feedproxy.google.com/~r/ManishChiniwalarBlog/~3/u2kS3Oh3EXs/</link>
		<comments>http://manishchiniwalar.com/reviews/review-asus-1015-pem-netbook/#comments</comments>
		<pubDate>Thu, 03 Nov 2011 15:10:19 +0000</pubDate>
		<dc:creator>Manish</dc:creator>
				<category><![CDATA[Reviews]]></category>
		<category><![CDATA[Asus]]></category>
		<category><![CDATA[Eee pc]]></category>
		<category><![CDATA[Netbook]]></category>
		<category><![CDATA[Review]]></category>

		<guid isPermaLink="false">http://manishchiniwalar.com/?p=409</guid>
		<description><![CDATA[The Asus Eeepc 1015 PEM is an awesome choice for a netbook and is a perfect productivity gadget. Read along for a full review.]]></description>
				<content:encoded><![CDATA[<p>A lot of my friends have been asking about my netbook and if  i recommend it. Instead of me explaining everyone the same things, i thought i&#8217;ll write about it here.</p>
<h6>1. First, Let&#8217;s see what&#8217;s a netbook?</h6>
<p>Netbooks are just SMALL and INEXPENSIVE laptops and are most often LESS POWERFUL. But MORE often give a longer battery life. And they are super LIGHT.</p>
<h6>2. What can i do on a netbook?</h6>
<p>If all you do is browse the internet, make presentations, write programs, read books, listen to songs and watch videos and you want to carry it everywhere, definitely go for a netbook.  But mind you, it wont be as snappy as a laptop. You&#8217;d rather NOT use CAD applications, Photoshop, VirtualBox, and heavy applications. You&#8217;ll die of frustration. You&#8217;ll notice lags when you turn your 3D CAD models, drag or add effects on Photoshop. But they do work. I personally use SolidWorks, FireWorks, Photoshop, VMWare and many more.</p>
<p>And yes, you can install linux on it. In fact any operating system. Even chromium.</p>
<p>Even with the shortcoming, its a perfect productivity gadget.</p>
<h6>3. The one that i bought, How&#8217;s it?</h6>
<p>I LOVE IT! I bought a <strong>ASUS 1015 PEM</strong>  from flipkart.com and here are the details:</p>
<p>It comes with <strong>Dual Core intel atom n550 1.6 GHz</strong> processor. Don&#8217;t be fooled by the numbers, though. The 1.6GHz atom doesn&#8217;t perform the same as any other processor at 1.6 GHz. But if you happen to buy one, make sure you buy a dualcore. Helps big time while multitasking.</p>
<p>Although it has an <strong>Intel GMA 3150</strong> Dynamic Video Memory Technology 4.0, i haven&#8217;t even been able to play 720p quiet well.</p>
<p>It came with <strong>1 GB of DDR3 (1333MHz SODIMM) RAM</strong> but I’ve upgraded mine to 2 GB. Unless you plan to use the above heavy applications, you wont need to upgrade.</p>
<p>The <strong>320 GB SATA HDD (5,400 rpm)</strong> if more than sufficient for the stuff you&#8217;ll be using your netbook.</p>
<p>The 1024 x 600 ( WSVGA ) <strong>10&#8243; screen</strong> may be a little hard to adjust in the beginning. It is comfortable to read books. but, not as much if you are designing or building CAD models. And did i mention its a N<strong>on-Glossy. </strong>You can work outdoors with no reflections at all!</p>
<p>It uses <strong>WiFi – b/g/n and Bluetooth 3.0 </strong>and supports upto 24 MBPS between devices on wifi. It wouldn&#8217;t be called a &#8216;netbook&#8217; if it didn&#8217;t have wifi, right?</p>
<p>It&#8217;s blessed with <strong>Windows 7 starter</strong>. Unlike most other users out ther, i&#8217;m in favor of the starter. And i recommend against replacing it with XP or Ultimate. The starter has been stripped down of all the unnecessary services which would otherwise use up all the little resource your netbook has. Ubuntu and backtrack run great. If you are new to linux, you might want to try Mint.</p>
<p>With so many great features the <strong>0.3 MP webcam</strong> disappoints me. You might consider buying an external webcam.</p>
<p>I bought the one with <strong>48WHr 6-cell battery</strong> and gives me upto 5hrs of browsing and videos. There&#8217;s also an option to buy a 63WHrs version of the battery that&#8217;ll give you an extra 2 hours. Note that you&#8217;ll need the ASUS SuperHybridEngine installed on Win7 to get more from your battery. For linux alternative, try Jupiter.</p>
<p>The <strong> Chiclet style keyboard</strong> is a 90% of the normal size keyboards. Although, i didn&#8217;t like the placement of the PgUp/PgDn buttons.</p>
<p>It has a<strong> multi-touch touchpad</strong>. And it supports gestures like two-finger scrolling and one/two/three finger tapping. But the buttons are quiet harder than the other models out there.</p>
<p>The <strong>Speakers</strong> <strong>are useless</strong>! They aren&#8217;t loud nor are they clear. If you turn up the volume above 90%, they start crying.</p>
<p>It supports <strong>BIOS caching </strong>and boots up a little faster. I bought a <strong>MattBlack </strong>model which frees me from the smudges. The form factor is slightly thicker than the other ones i&#8217;ve seen.  But, its good enough. I weighs<strong> just over 1 kg (2.76 lbs)</strong> and is easy to carry around. You can even hold it in your hand as you work.</p>
<p>I bought it for<strong> ? 17,000</strong> and i&#8217;m very happy with my purchase. <img src='http://manishchiniwalar.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>If you plan to buy one, you may check out some of the models <a title="Buy Netbooks online" href="http://www.flipkart.com/browse/computers/laptops/price-range/below+rs.25000?filter=processor:Intel+Atom+Dual+Core&amp;affid=socialmani" target="_blank">here</a>.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/ManishChiniwalarBlog?a=u2kS3Oh3EXs:jhrDTYgNYu4:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/ManishChiniwalarBlog?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ManishChiniwalarBlog?a=u2kS3Oh3EXs:jhrDTYgNYu4:-BTjWOF_DHI"><img src="http://feeds.feedburner.com/~ff/ManishChiniwalarBlog?i=u2kS3Oh3EXs:jhrDTYgNYu4:-BTjWOF_DHI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ManishChiniwalarBlog?a=u2kS3Oh3EXs:jhrDTYgNYu4:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/ManishChiniwalarBlog?i=u2kS3Oh3EXs:jhrDTYgNYu4:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ManishChiniwalarBlog?a=u2kS3Oh3EXs:jhrDTYgNYu4:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/ManishChiniwalarBlog?i=u2kS3Oh3EXs:jhrDTYgNYu4:gIN9vFwOqvQ" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/ManishChiniwalarBlog/~4/u2kS3Oh3EXs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://manishchiniwalar.com/reviews/review-asus-1015-pem-netbook/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://manishchiniwalar.com/reviews/review-asus-1015-pem-netbook/</feedburner:origLink></item>
		<item>
		<title>[Workshop] Graphic Design 101</title>
		<link>http://feedproxy.google.com/~r/ManishChiniwalarBlog/~3/v2CaKKuGfBo/</link>
		<comments>http://manishchiniwalar.com/college/workshop-graphic-design-101/#comments</comments>
		<pubDate>Sat, 03 Sep 2011 14:00:57 +0000</pubDate>
		<dc:creator>Manish</dc:creator>
				<category><![CDATA[College]]></category>
		<category><![CDATA[featured]]></category>
		<category><![CDATA[How-tos]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[basics]]></category>
		<category><![CDATA[fireworks]]></category>
		<category><![CDATA[graphic design]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[wikicon]]></category>
		<category><![CDATA[workshop]]></category>

		<guid isPermaLink="false">http://manishchiniwalar.com/?p=492</guid>
		<description><![CDATA[An Introduction to graphic design and a basic tutorial on Adobe fireworks. Few simple tricks to add reflections, glow, shadows and more.]]></description>
				<content:encoded><![CDATA[<p>Give it a while to load first, then click the play button.</p>
<div class="prezi-player">
<p><object id="prezi_gkx5gwgazctj" width="640" height="500" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="flashvars" value="prezi_id=gkx5gwgazctj&amp;lock_to_path=1&amp;color=ffffff&amp;autoplay=no&amp;autohide_ctrls=0" /><param name="src" value="http://prezi.com/bin/preziloader.swf" /><embed id="prezi_gkx5gwgazctj" width="640" height="500" type="application/x-shockwave-flash" src="http://prezi.com/bin/preziloader.swf" allowfullscreen="true" allowscriptaccess="always" flashvars="prezi_id=gkx5gwgazctj&amp;lock_to_path=1&amp;color=ffffff&amp;autoplay=no&amp;autohide_ctrls=0" /></object></p>
<div class="prezi-player-links">
<p><a title="                                                          A Quick intro to graphic design                                                      " href="http://prezi.com/gkx5gwgazctj/graphic-design-101/">Graphic Design 101</a> on <a href="http://prezi.com">Prezi</a></p>
</div>
</div>
<p>[I'll upload the complete tutorial in some time.]</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/ManishChiniwalarBlog?a=v2CaKKuGfBo:SiWbVWv2kF8:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/ManishChiniwalarBlog?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ManishChiniwalarBlog?a=v2CaKKuGfBo:SiWbVWv2kF8:-BTjWOF_DHI"><img src="http://feeds.feedburner.com/~ff/ManishChiniwalarBlog?i=v2CaKKuGfBo:SiWbVWv2kF8:-BTjWOF_DHI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ManishChiniwalarBlog?a=v2CaKKuGfBo:SiWbVWv2kF8:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/ManishChiniwalarBlog?i=v2CaKKuGfBo:SiWbVWv2kF8:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ManishChiniwalarBlog?a=v2CaKKuGfBo:SiWbVWv2kF8:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/ManishChiniwalarBlog?i=v2CaKKuGfBo:SiWbVWv2kF8:gIN9vFwOqvQ" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/ManishChiniwalarBlog/~4/v2CaKKuGfBo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://manishchiniwalar.com/college/workshop-graphic-design-101/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://manishchiniwalar.com/college/workshop-graphic-design-101/</feedburner:origLink></item>
		<item>
		<title>HDL Lab Programs</title>
		<link>http://feedproxy.google.com/~r/ManishChiniwalarBlog/~3/Odg3OXm3u64/</link>
		<comments>http://manishchiniwalar.com/college/hdl-lab-programs/#comments</comments>
		<pubDate>Thu, 18 Aug 2011 13:49:58 +0000</pubDate>
		<dc:creator>Manish</dc:creator>
				<category><![CDATA[College]]></category>
		<category><![CDATA[featured]]></category>
		<category><![CDATA[Lab]]></category>
		<category><![CDATA[Source code]]></category>
		<category><![CDATA[Verilog]]></category>
		<category><![CDATA[VHDL]]></category>

		<guid isPermaLink="false">http://manishchiniwalar.com/?p=460</guid>
		<description><![CDATA[Lab programs for HDL Lab(IV sem Electronics and communication) Subject Code : 06ECL48
Both VHDL and Verilog.]]></description>
				<content:encoded><![CDATA[<p>Lab programs for HDL Lab(IV sem Electronics and communication) Subject Code : <strong>06ECL48</strong></p>
<p>Thanks to <a title="Manjunath" href="http://facebook.com/mkalkutagi" target="_blank">Manjunath Kalkutagi</a> for submitting the programs.</p>
<blockquote><p>DOWNLOAD: <img alt="zip" title="zip" class="download-icon" src="http://manishchiniwalar.com/wp-content/plugins/download-monitor/img/filetype_icons/document-zipper.png" /> <a href="http://manishchiniwalar.com/downloads/?did=1" title="Version: 1 Downloaded 634 times | Lab programs for HDL Lab(IV sem Electronics and communication) Subject Code : 06ECL48<br />
Thanks to Manjunath Kalkutagi for submitting the programs.">HDL Lab programs - VTU - ALL </a> | SIZE:37 KB</p></blockquote>
<p><strong>1. Write HDL code to realize all the logic gates</strong><br />
Verilog:</p>
<pre class="brush: plain; light: false; title: ; toolbar: true; notranslate">
module allgates(i1,i2,o1,o2,o3,o4,o5,o6,o7);
    input i1,i2;
    output o1,o2,o3,o4,o5,o6,o7;
    assign o1=i1 &amp;i2;
    assign o2= i1|i2;
    assign o3=~(i1 &amp; i2);
    assign o4=~(i1 | i2);
    assign o5= i1 ^ i2;
    assign o6= ~(i1 ^ i2);
    assign o7= ~i1;
endmodule
</pre>
<p>VHDL:</p>
<pre class="brush: plain; light: false; title: ; toolbar: true; notranslate">
module allgates(i1,i2,o1,o2,o3,o4,o5,o6,o7);
    input i1,i2;
    output o1,o2,o3,o4,o5,o6,o7;
    assign o1=i1 &amp;i2;
    assign o2= i1|i2;
    assign o3=~(i1 &amp; i2);
    assign o4=~(i1 | i2);
    assign o5= i1 ^ i2;
    assign o6= ~(i1 ^ i2);
    assign o7= ~i1;
endmodule
</pre>
<p><strong>2. Write a HDL program for the following combinational designs:</strong><br />
<strong>a] 2 to 4 Decoder</strong><br />
Verilog:</p>
<pre class="brush: plain; light: false; title: ; toolbar: true; notranslate">
//Behavioral
module dec2to4_df(ebar,a,y);
    input ebar;
    input[1:0]a;
    output[3:0]y;
    reg y;
    always@(a,ebar)
    begin
        if(ebar==0)
        begin
            case(a)
                2'd0:y=4'd1;
                2'd1:y=4'd2;
                2'd2:y=4'd4;
                2'd3:y=4'd8;
            endcase
        end
        else
        y=4'd0;
    end
endmodule

//Dataflow
module dec2to4_df(ebar,a,y);
    input ebar;
    input[1:0]a;
    output[3:0]y;
    assign y[0]=(~a[1])&amp;(~a[0])&amp; ebar;
    assign y[1]=(~a[1]) &amp; (a[0]) &amp; ebar;
    assign y[2]=(a[1])&amp;(~a[0])&amp; ebar;
    assign y[3]=(a[1]) &amp;(a[0]) &amp; ebar;
endmodule

//Structural
module dec2to4_structural(ebar,a,y);
    input ebar;
    input[1:0]a;
    output[3:0]y;
    wire[3:1] abar; /*abar- not a*/
    not(ebar,e);
    not(abar(0),a(0));
    not(abar(1),a(1));
    and(y(0),e,abar(1),abar(0));
    and(y(1),e,abar(1),a(0));
    and(y(2),e,a(1),abar(0));
    and(y(3),e,a(1),a(0));
endmodule
</pre>
<p>VHDL:</p>
<pre class="brush: plain; light: false; title: ; toolbar: true; notranslate">
//Behavioral
library ieee;
    use ieee.std_logic_1164.all;
    entity dec2to4 is
        port(a: in std_logic_vector(1 downto 0);
             ebar:in std_logic;
             y:out std_logic_vector(3 downto 0));
end dec2to4;
architecture dec2to4_behave of dec2to4 is
    begin
        process(ebar,a)
            begin
                if(ebar='0')then
                    case a is
                        when&quot;00&quot;=&gt;yyyynull;
                    end case;
                    else y                end if;
            end process;
        end  dec2to4_behave;

//Dataflow
library ieee;
    use ieee.std_logic_1164.all;
    entity dec2to4 is
        port(a: in std_logic_vector(1 downto 0);
             ebar:in std_logic;
             y:out std_logic_vector(3 downto 0));
end dec2to4;
architecture dec2to4_df of dec2to4 is
begin
     y(0)     y(1)     y(2)     y(3) end dec2to4_df;

//Structural
library ieee;
    use ieee.std_logic_1164.all;
    entity dec2to4 is
        port(a: in std_logic_vector(1 downto 0);
             ebar:in std_logic;
             y:out std_logic_vector(3 downto 0));
end dec2to4;
architecture dec2to4_struct of dec2to4 is
    component not1
        port(x:in std_logic; xbar:out std_logic);
        end component;
        component and3ip
            port(p,q,r:in std_logic; s:out std_logic);
            end component;
            signal e,abar1,abar0:std_logic;
            begin
                n1:not1 port map(ebar,e);
                n2:not1 port map(a(0),abar0);
                n3:not1 port map(a(1),abar1);
                a0:and3ip port map(e,abar1,abar0,y(0));
                a1:and3ip port map(e,abar1,a(0),y(1));
                a2:and3ip port map(e,a(1),abar0,y(2));
                a3:and3ip port map(e,a(1),a(0),y(3));
            end dec2to4_struct;

 library ieee;
    use ieee.std_logic_1164.all;
    entity not1 is
        port(x:in std_logic;xbar:out std_logic);
        end not1;
        architecture notgate of not1 is
            begin
                xbar            end notgate;

  library ieee;
    use ieee.std_logic_1164.all;
    entity and3ip is
    port(p,q,r:in std_logic;s:out std_logic);
end and3ip;
architecture andgate of and3ip is
begin
send andgate;
</pre>
<p><strong>b] 8 to 3 Encoder</strong></p>
<pre class="brush: plain; light: false; title: ; toolbar: true; notranslate">
//Behavoral
module npenc8to3(a,y);
    input[7:0] a;
    output[2:0]y;
    reg[2:0]y;
    always@(a)
    begin
        case(a)
            8'd1:y=3'd0;
            8'd2:y=3'd1;
            8'd4:y=3'd2;
            8'd8:y=3'd3;
            8'd16:y=3'd4;
            8'd32:y=3'd5;
            8'd64:y=3'd6;
            8'd128:y=3'd7;
            default:$display(&quot;not a valid input&quot;);
    endcase
end
endmodule

//Dataflow
module npenc8to3(a,y);
    input[7:0] a;
    output[2:0]y;
    assign y[0]=a[1]|a[3]|a[5]|a[7];
    assign y[1]=a[2]|a[3]|a[6]|a[7];
    assign y[2]=a[4]|a[5]|a[6]|a[7];
endmodule

//Structural
module npenc8to3(a,y);
    input[7:0] a;
    output[2:0]y;
    or(y[0],a[1],a[3],a[5],a[7]);
    or(y[1],a[2],a[3],a[6],a[7]);
    or(y[0],a[4],a[5],a[6],a[7]);
endmodule
</pre>
<p>VHDL:</p>
<pre class="brush: plain; light: false; title: ; toolbar: true; notranslate">
//Behavoral
library ieee;
    use ieee.std_logic_1164.all;
    entity npenc8to3 is
        port(a:in std_logic_vector(7 downto 0);ebar:in std_logic;
            y:out std_logic_vector(2 downto 0));
        end npenc8to3;
        architecture npenc8to3_behave of npenc8to3 is
            begin
                process(ebar,a)
                    begin
                        if ebar='0' then

                            case a is
                                when &quot;00000001&quot;=&gt;yyyyyyyyreport&quot;not a valid input&quot;severity note;
                            end case;
                            else y                        end if;
                    end process;
                end  npenc8to3_behave ;

&lt;strong&gt;//Dataflow&lt;/strong&gt;
library ieee;
    use ieee.std_logic_1164.all;
    entity npenc8to3 is
        port(a:in std_logic_vector(7 downto 0);
            y:out std_logic_vector(2 downto 0));
        end npenc8to3;
        architecture npenc8to3_df of npenc8to3 is
            begin
                y(0)                y(1)                y(2)            end npenc8to3_df;

//Structural
library ieee;
    use ieee.std_logic_1164.all;
    entity npenc8to3 is
        port(a:in std_logic_vector(7 downto 0);
            y:out std_logic_vector(2 downto 0));
        end npenc8to3;
        architecture npenc8to3_struct of npenc8to3 is
            component or4ip
                port(p,q,r,s:in std_logic;
                     t:out std_logic);
                 end component;
                 begin
                     or1:or4ip port map(a(1),a(3),a(5),a(7),y(0));
                     or2:or4ip port map(a(2),a(3),a(6),a(7),y(1));
                     or3:or4ip port map(a(4),a(5),a(6),a(7),y(2));
                 end npenc8to3_struct;
                 library ieee;
                     use ieee.std_logic_1164.all;
                     entity or4ip is
                         port(p,q,r,s:in std_logic;t:out std_logic);
                         end or4ip;
                         architecture orgate of or4ip is
                             begin
                                 t                             end orgate;
</pre>
<p><strong>c] 8 to 1 Multiplexer</strong><br />
Verilog:</p>
<pre class="brush: plain; light: false; title: ; toolbar: true; notranslate">
//Behavoral
module mux8x1 (a,e,s,y);
    input[7:0]a;
    input[2:0]s;
    input e;
    output y;
    reg y;
    always@(a,e,s)
    begin
    if(e==1)
    begin
        case(s)
            3'd0:y=a[0];
            3'd1:y=a[1];
            3'd2:y=a[2];
            3'd3:y=a[3];
            3'd4:y=a[4];
            3'd5:y=a[5];
            3'd6:y=a[6];
            3'd7:y=a[7];
    endcase
end
else
y=1'bz;
end
endmodule

//Dataflow
module mux8x1 (a,s,y);
    input[7:0]a;
    input[2:0]s;
    output y;
    assign y=(a[0]&amp;(~(s[2]))&amp;(~(s[1]))&amp;(~(s[0])))|
             (a[1]&amp;(~(s[2]))&amp;(~(s[1]))&amp;(s[0]))|
             (a[2]&amp;(~(s[2]))&amp;(s[1])&amp;(~(s[0])))|
             (a[3]&amp;(~(s[2]))&amp;(s[1])&amp;(~(s[0])))|
             (a[4]&amp;(s[2])&amp;(~(s[1]))&amp;(~(s[0])))|
             (a[5]&amp;(s[2])&amp;(~(s[1]))&amp;(s[0]))|
             (a[6]&amp;(s[2])&amp;(s[1])&amp;(~(s[0])))|
             (a[7]&amp;(s[2])&amp;(s[1])&amp;(s[0]));
     endmodule
//Structural
module mux8x1 (a,s,y);
    input[7:0]a;
    input[2:0]s;
    output y;
    wire n0,n1,n2,a0,a1,a2,aa3,a4,a5,a6,a7;
    not(n0,s[0]);
    not(n1,s[1]);
    not(n2,s[2]);
    and(a0,n2,n1,n0,a[0]);
    and(a1,n2,n1,s[0],a[1]);
    and(a2,n2,s[1],n0,a[2]);
    and(a3,n2,s[1],s[0],a[3]);
    and(a4,s[2],n1,n0,a[4]);
    and(a5,s[2],n1,s[0],a[5]);
    and(a6,s[2],s[1],n0,a[6]);
    and(a7,s[2],s[1],s[0],a[7]);
    or(y,a0,a1,a2,a3,a4,a5,a6,a7);
endmodule
</pre>
<p>VHDL:</p>
<pre class="brush: plain; light: false; title: ; toolbar: true; notranslate">
//Behavoral
library ieee;
    use ieee.std_logic_1164.all;
    entity mux is
        port(i:in std_logic_vector(7 downto 0);
            s:in std_logic_vector(2 downto 0);
            y:out std_logic);
        end mux;
        architecture mux_bh of mux is
            begin
                process(i,s)
                    variable temp:std_logic;
                    begin
                        case(s) is
                            when &quot;000&quot;=&gt;temp:=i(0);
                            when &quot;001&quot;=&gt;temp:=i(1);
                            when &quot;010&quot;=&gt;temp:=i(2);
                            when &quot;011&quot;=&gt;temp:=i(3);
                            when &quot;100&quot;=&gt;temp:=i(4);
                            when &quot;101&quot;=&gt;temp:=i(5);
                            when &quot;110&quot;=&gt;temp:=i(6);
                            when &quot;111&quot;=&gt;temp:=i(7);
                            when others=&gt;temp:='z';
                        end case;
                        y                    end process;
                end mux_bh;

//Dataflow
library ieee;
    use ieee.std_logic_1164.all;
    entity mux8x1 is
        port(a:in std_logic_vector(7 downto 0);
            s:in std_logic_vector(2 downto 0);
            y:out std_logic);
        end mux8x1;
        architecture mux8x1_df of mux8x1 is
            begin
                y                    (a(1) and(not(s(2))) and(not(s(1))) and s(0)) or
                    (a(2) and(not(s(2))) and s(1)and s(0)) or
                    (a(4) and s(2) and(not(s(1))) and(not(s(0)))) or
                    (a(5) and s(2) and (not(s(1))) and s(0)) or
                    (a(6) and s(2) and s(1) and(not(s(0)))) or
                    (a(4) and s(2) and s(1) and s(0));
                end mux8x1_df;

//Structural
library ieee;
    use ieee.std_logic_1164.all;
    entity mux8x1 is
        port(a:in std_logic_vector(7 downto 0);
            s:in std_logic_vector(2 downto 0);
            y:out std_logic);
        end mux8x1;
        architecture mux8x1_strt of mux8x1 is
            component not1
                port(x:in std_logic;xbar:out std_logic);
                end component;
                component and4ip
                    port(p,q,r,s:in std_logic; t:out std_logic);
                    end component;
                    component or8ip
                        port(p0,p1,p2,p3,p4,p5,p6,p7:in std_logic;q:out std_logic);
                        end component;
                        signal s2bar,s1bar,s0bar,y0,y1,y2,y3,y4,y5,y6,y7:std_logic;
                        begin
                            n1:not1 port map(s(2),s2bar);
                            n2:not1 port map(s(1),s1bar);
                            n3:not1 port map(s(0),s0bar);
                            a0:and4ip port map(s2bar,s1bar,s0bar,a(0),y0);
                            a1:and4ip port map(s2bar,s1bar,s(0),a(1),y1);
                            a2:and4ip port map(s2bar,s(1),s0bar,a(2),y2);
                            a3:and4ip port map(s2bar,s(1),s(0),a(3),y3);
                            a4:and4ip port map(s(2),s1bar,s(0),a(5),y5);
                            a5:and4ip port map(s(2),s1bar,s0bar,a(4),y4);
                            a6:and4ip port map(s(2),s(1),s0bar,a(6),y6);
                            a7:and4ip port map(s(2),s(1),s(0),a(7),y7);
                            or8:or8ip port map(y0,y1,y2,y3,y4,y5,y6,y7,y);
                        end mux8x1_strt;
                        library ieee;
                            use ieee.std_logic_1164.all;
                            entity not1 is
                                port(x:in std_logic;xbar:out std_logic);
                                end not1;
                                architecture notgate of not1 is
                                    begin
                                        xbar                                    end notgate;
                                     library ieee;
                            use ieee.std_logic_1164.all;
                            entity and4ip is
                                port(p,q,r,s:in std_logic;t:out std_logic);
                                end and4ip;
                                architecture andgate of and4ip is
                                    begin
                                        t                                    end andgate;
                                     library ieee;
                            use ieee.std_logic_1164.all;
                            entity or8ip is
                                port(p0,p1,p2,p3,p4,p5,p6,p7:in std_logic; q:out std_logic);
                                end or8ip;
                                architecture orgate of or8ip is
                                    begin
                                        q                                    end orgate;
</pre>
<p><strong>d] 4 Bit binary to gray converter</strong><br />
Verilog:</p>
<pre class="brush: plain; light: false; title: ; toolbar: true; notranslate">
//Behavoral
module bin2gray(b,g);
    input[3:0]b;
    output[3:0]g;
    reg g;
    always@(b)
    begin
        case(b)
            4'd0:g=4'd0;
            4'd1:g=4'd1;
            4'd2:g=4'd3;
            4'd3:g=4'd2;
            4'd4:g=4'd6;
            4'd5:g=4'd7;
            4'd6:g=4'd5;
            4'd7:g=4'd4;
            4'd8:g=4'd12;
            4'd9:g=4'd13;
            4'd10:g=4'd15;
            4'd11:g=4'd14;
            4'd12:g=4'd10;
            4'd13:g=4'd11;
            4'd14:g=4'd9;
            4'd15:g=4'd8;
    endcase
end
endmodule

//Dataflow
module bin2gray(b,g);
    input[3:0]b;
    output[3:0]g;
    assign g[3]=b[3];
    assign g[2]=b[3] ^b[2];
    assign g[1]=b[2] ^ b[1];
    assign g[0]=b[1] ^b[0];
endmodule

//Structural
module bin2gray(b,g);
    input[3:0]b;
    output[3:0]g;
    xor(g[3],b[3],'0');
    xor(g[2],b[3],b[2]);
    xor(g[1],b[2],b[1]);
    xor(g[0],b[1],b[0]);
endmodule
</pre>
<p>VHDL:</p>
<pre class="brush: plain; light: false; title: ; toolbar: true; notranslate">
//Behavoral
library ieee;
    use ieee.std_logic_1164.all;
    entity bin2gray is
        port(b:in std_logic_vector(3 downto 0);
             g:out std_logic_vector(3 downto 0));
         end bin2gray;
         architecture bin2gray_behave of bin2gray is
             begin
                 process(b)
                     begin
                         case(b) is
                             when &quot;0000&quot;=&gt;ggggggggggggggggnull;
                                 end case;
                             end process;
                         end bin2gray_behave;

//Dataflow
library ieee;
    use ieee.std_logic_1164.all;
    entity bin2gray is
        port(b:in std_logic_vector(3 downto 0);
             g:out std_logic_vector(3 downto 0));
         end bin2gray;
         architecture bin2gray_df of bin2gray is
             begin
                 g(3)                 g(2)                 g(1)                 g(0)             end bin2gray_df;
//Structural
library ieee;
    use ieee.std_logic_1164.all;
    entity bin2gray is
        port(b:in std_logic_vector(3 downto 0);
             g:out std_logic_vector(3 downto 0));
         end bin2gray;
         architecture bin2gray_strt of bin2gray is
             component xor2
                 port(p,q:in std_logic; r:out std_logic);
                 end component;
                 begin
                     x3:xor2 port map(b(3),'0',g(3));
                     x2:xor2 port map(b(3),b(2),g(2));
                     x1:xor2 port map(b(2),b(1),g(1));
                     x0:xor2 port map(b(1),b(0),g(0));
                 end bin2gray_strt;
                 library ieee;
    use ieee.std_logic_1164.all;
                 entity xor2 is
                     port(p,q:in std_logic;r:out std_logic);
                     end xor2;
                     architecture xorgate of xor2 is
                         begin
                             r                         end xorgate;

</pre>
<p><strong>e] 1 to 4 DeMux</strong><br />
Verilog:</p>
<pre class="brush: plain; light: false; title: ; toolbar: true; notranslate">
//behavioral
module demux1x4(a,e,s,y);
    input s,e;
    input[1:0]a;
    output[3:0]y;
    reg y;
    always@(a,e,s)
    begin
    if(e==1)
    begin
        case(s)
            2'd0:y=a;
            2'd1:y=a;
            2'd2:y=a;
            2'd3:y=a;
    endcase
end
end
endmodule

//DataFlow
module demux1x4(a,s,y);
    input a;
    input[1:0]s;
    output[3:0]y;
    assign y[0]=a&amp;(~s[1])&amp;(~s[0]);
    assign y[1]=a&amp;(~s[1])&amp;(s[0]);
    assign y[2]=a&amp;s[1] &amp;(~s[0]);
    assign y[0]=a &amp;s[1] &amp;s[0];
endmodule

//Structural
module demux1x4(a,s,y);
    input a;
    input[1:0]s;
    output[3:0]y;
    wire n0,n1;
    not(n0,s[0]);
    and(y[0],n1,n0,a);
    and(y[0],n1,s[0],a);
    and(y[2],s[1],n0,a);
    and(y[3],s[1],s[0],a);
endmodule
</pre>
<p>VHDL:</p>
<pre class="brush: plain; light: false; title: ; toolbar: true; notranslate">
//behavioral
library ieee;
    use ieee.std_logic_1164.all;
    entity demux1x4 is
        port(a:in std_logic;
            s:in std_logic_vector(1 downto 0);
            y:out std_logic_vector(3 downto 0));
        end demux1x4;
        architecture demux1x4_beh of demux1x4 is
            begin
                process(a,s)
                    begin
                        case s is
                            when &quot;00&quot;=&gt;y(0)y(1)y(2)y(3)null;
                        end case;
                    end process;
                end demux1x4_beh;

//DataFlow
library ieee;
    use ieee.std_logic_1164.all;
    entity demux1x4 is
        port(a:in std_logic;
            s:in std_logic_vector(1 downto 0);
            y:out std_logic_vector(3 downto 0));
        end demux1x4;
        architecture demux1x4_df of demux1x4 is
            begin
                y(0)                y(1)                y(2)                y(3)            end demux1x4_df;

//Structural
library ieee;
    use ieee.std_logic_1164.all;
    entity demux1x4 is
        port(a:in std_logic;
            s:in std_logic_vector(1 downto 0);
            y:out std_logic_vector(3 downto 0));
        end demux1x4;
        architecture demux1x4_strt of demux1x4 is
             component not1
          port(x:in std_logic;xbar:out std_logic);
          end component;
          component and3ip
              port(p,q,r:in std_logic;s:out std_logic);
              end component;
              signal s0bar,s1bar:std_logic;
              begin
                  n1:not1 port map(s(0),s0bar);
                  n2:not1 port map(s(1),s1bar);
                  a0:and3ip port map(s1bar,s0bar,a,y(0));
                  a1:and3ip port map(s1bar,s(0),a,y(1));
                  a2:and3ip port map(s(1),s0bar,a,y(2));
                  a3:and3ip port map(s(1),s(0),a,y(3));
              end demux1x4_strt;
               library ieee;
                      use ieee.std_logic_1164.all;
                      entity not1 is
                          port(x:in std_logic;xbar:out std_logic);
                          end not1;
                          architecture notgate of not1 is
                              begin
                                  xbar              end notgate;
              library ieee;
                      use ieee.std_logic_1164.all;
                              entity and3ip is
                                  port(p,q,r:in std_logic;s:out std_logic);
                                  end and3ip;
                                  architecture andgate of and3ip is
                                      begin
                                      s                                      end andgate;
</pre>
<p><strong>3. Write a HDL code to describe the functions of a Full Adder Using three modeling styles.</strong><br />
Verilog:</p>
<pre class="brush: plain; light: false; title: ; toolbar: true; notranslate">
//Behavoral
module fa_beh(xyz,sum,carry);
    input[2:0]xyz;
    output sum ,carry;
    reg sum,carry;
    always@(xyz)
    begin
        case(xyz)
            3'd0:begin
                sum=0; carry=0;
            end
            3'd1:begin
                sum=1; carry=0;
           end
            3'd2:begin
                sum=1; carry=0;
           end
            3'd3:begin
                sum=0; carry=1;
           end
            3'd4:begin
                sum=1; carry=0;
           end
            3'd5:begin
                sum=0; carry=1;
           end
            3'd6:begin
                sum=0; carry=1;
           end
            3'd7:begin
                sum=1; carry=1;
           end
   endcase
   end
   endmodule

//Dataflow
module fa_data_flow(x,y,cin,sum,carry);
    input x,y,cin;
    output sum,carry;
    wire s1,s2,s3;
    assign s1=y^cin;
    assign s2=y &amp; cin;
    assign sum=x^s1;
    assign s3=x &amp;s1;
    assign carry=s2|s3;
endmodule

//Structural
module fa_strt(x,y,cin,sum,carry);
    input x,y,cin;
    output sum,carry;
   half_add h1(s1,s2,y,cin);
   half_add h2(sum,s3,s1,x);
   or(carry,s2,s3);
   endmodule
   module half_add(o1,o2,i1,i2);
   input i1,i2;
   output o1,o2;
   xor(o1,i1,i2);
   and(o2,i1,i2);
   endmodule
</pre>
<p>VHDL:</p>
<pre class="brush: plain; light: false; title: ; toolbar: true; notranslate">
//Behavoral
library ieee;
    use ieee.std_logic_1164.all;
    entity fa_beh is
        port(xyz:in std_logic_vector(2 downto 0);
            sum, carry:out std_logic);
        end fa_beh;
        architecture behave of fa_beh is
            begin
                process(xyz)
                    variable temp1,temp2:std_logic;
                    begin
                        case xyz is
                            when &quot;000&quot;=&gt;temp1:'0'; temp2:='0';
                            when &quot;001&quot;=&gt;temp1:'1'; temp2:='0';
                            when &quot;010&quot;=&gt;temp1:'1'; temp2:='0';
                            when &quot;011&quot;=&gt;temp1:'0'; temp2:='1';
                            when &quot;100&quot;=&gt;temp1:'1'; temp2:='0';
                            when &quot;101&quot;=&gt;temp1:'0'; temp2:='1';
                            when &quot;110&quot;=&gt;temp1:'0'; temp2:='1';
                            when &quot;111&quot;=&gt;temp1:'1'; temp2:='1';
                                when others=&gt;null;
                                end case;
                                sum                                carry                            end process;
                        end behave;

//Dataflow
library ieee;
    use ieee.std_logic_1164.all;
    entity fa is
        port(a,b,cin:in std_logic;
            s,cout:out std_logic);
        end fa;
        architecture fa_df of fa is
            begin
                s                cout            end fa_df;

//Structural
library ieee;
    use ieee.std_logic_1164.all;
    entity fa_strt is
        port(x,y,cin:in std_logic_vector(2 downto 0);
            sum, carry:out std_logic);
        end fa_strt;
        architecture  strt of fa_strt is
            component half_adder
            port(i1,i2:in std_logic;o1,o2:out std_logic);
            end component;
            for all:half_adder use entity work.bind22(half_add);
            for all:or2 use entity work.bind2(or_gate);
            signal s1,s2,s3;std_logic;
            begin
                h1:half_adder port map(y,cin,s1,s2);
                h2:half_adder port map(x,s1,sum,s3);
                or1:or2 port map(s2,s3,carry);
            end strt;
            library ieee;
                use ieee.std_logic_1164.all
                entity bind2 is
                    port(i1,i2:in std_logic;
                        o1:out std_logic);
                    end bind2;
                    architecture or_gate of bind2 is
                        begin
                            o1                        end or_gate;
                        library ieee;
                            use ieee.std_logic_1164.all;
                             entity bind22 is
                    port(i1,i2:in std_logic;
                        o1,o2:out std_logic);
                    end bind22;
                    architecture half_add of bind22 is
                        begin
                            o1                            o2                        end half_add;

</pre>
<p><strong>4. Write a model for 32 bit ALU</strong><br />
Verilog:</p>
<pre class="brush: plain; light: false; title: ; toolbar: true; notranslate">
module alu32(a,b,opcode,enable,o1);
    input[31:0]a,b;
    input[2:0]opcode;
    input enable;
    output[63:32]o1;
    reg[63:0]o1;
    always@(a,b,opcode,enable)
    begin
        if(enable==1)
        begin
            case(opcode)
                3'd0:begin
                    o1[31:0]=a+b;
                    o1[63:32]=32'd0;
                end
                 3'd1:begin
                    o1[31:0]=a-b;
                    o1[63:32]=32'd0;
                end
                 3'd2:begin
                    o1=a*b;
                end
                 3'd3:begin
                    o1[31:0]=~a;
                    o1[63:32]=32'd0;
                end
                 3'd4:begin
                    o1[31:0]=a&amp;b;
                    o1[63:32]=32'd0;
                end
                 3'd5:begin
                    o1[31:0]=a|b;
                    o1[63:32]=32'd0;
                end
                 3'd6:begin
                    o1[31:0]=~(a&amp;b);
                    o1[63:32]=32'd0;
                end
                 3'd7:begin
                    o1[31:0]=a^b;
                    o1[63:32]=32'd0;
                end
        endcase
    end
    else
    $display(&quot;alu disabled&quot;);
end
endmodule
</pre>
<p>VHDL:</p>
<pre class="brush: plain; light: false; title: ; toolbar: true; notranslate">
library ieee;
    use ieee.std_logic_1164.all;
    use ieee.std_logic_unsigned.all;
    use ieee.std_logic_arith.all;
    entity alu32 is
        port(a,b:in std_logic_vector(31 downto 0);
             opcode:in std_logic_vector(2 downto 0);
             enable:in std_logic;
             output:out std_logic_vector(63 downto 0));
         end alu32;
         architecture behavioral of alu32 is
             begin
                 process(enable,opcode,a,b)
                     begin
                         if(enable='1')then
                             case opcode is
                                 when&quot;000&quot;=&gt;output(31 downto 0)output(31 downto 0)                                     output(63 downto 32)'0');
                                     when&quot;010&quot;=&gt;outputoutput(31 downto 0)                                        output(63 downto 32)'0');
                                         when&quot;100&quot;=&gt;output(31 downto 0)                                        output(63 downto 32)'0');
                                         when&quot;101&quot;=&gt;output(31 downto 0)                                        output(63 downto 32)'0');
                                         when&quot;110&quot;=&gt;output(31 downto 0)                                        output(63 downto 32)'0');
                                         when&quot;111&quot;=&gt;output(31 downto 0)                                        output(63 downto 32)'0');
                                        when others=&gt;null;
                                        end case;
                                        else
                                        report&quot;alu disabled&quot;;
                                    end if;
                                end process;
                            end behavioral;
</pre>
<p><strong>5. FlipFlops</strong><br />
<strong>a]D flip-flop</strong><br />
Verilog:</p>
<pre class="brush: plain; light: false; title: ; toolbar: true; notranslate">
module dff(d,clk,q,qb);
    input d,clk;
    output q,qb;
    reg temp;
    always@(posedge clk)
    begin
        temp=d;
    end
    assign q=temp;
    assign qb=~temp;
endmodule
</pre>
<p>VHDL:</p>
<pre class="brush: plain; light: false; title: ; toolbar: true; notranslate">
library ieee;
    use ieee.std_logic_1164.all;
    entity dff is
        port(d,clk:in std_logic;q,qb:out std_logic);
        end dff;
        architecture dff of dff is
            signal temp:std_logic;
            begin
                process(clk)
                    begin
                        if(clk='1' and clk'event)then
                            temp                        end if;
                    end process;
                    q                end dff;

</pre>
<p><strong>b]JK FlipFlop</strong><br />
Verilog:</p>
<pre class="brush: plain; light: false; title: ; toolbar: true; notranslate">
module jkff(jk,clk,q,qb);
    input[1:0]jk;
    input clk;
    output q,qb;
    reg q,qb;
    always@(posedge clk)
    begin
        case(jk)
            2'd0:q=q;
            2'd1:q=0;
            2'd2:q=1;
            2'd3:q=~q;
    endcase
    qb=~q;
end
endmodule
</pre>
<p>VHDL:</p>
<pre class="brush: plain; light: false; title: ; toolbar: true; notranslate">
library ieee;
    use ieee.std_logic_1164.all;
    entity jk_ff is
        port(jk:in std_logic_vector(1 downto 0);
             clk:in std_logic;
             q,qbar:out std_logic);
         end jk_ff;
         architecture jkarch of jk_ff is
             begin
                 process(clk)
                     variable temp:std_logic;
                     begin
                         if rising_edge(clk) then
                             case(jk) is
                                 when &quot;01&quot;=&gt;temp:='0';
                                  when &quot;10&quot;=&gt;temp:='1';
                                   when &quot;11&quot;=&gt;temp:=not (temp);
                                       when others=&gt;null;
                                       end case;
                                       q                                       qbar                                   end if;
                               end process;
                           end jkarch;

</pre>
<p><strong>c]SR FlipFlop</strong><br />
Verilog:</p>
<pre class="brush: plain; light: false; title: ; toolbar: true; notranslate">
module srff(sr,clk,q,qb);
    input[1:0]sr;
    input clk;
    output q,qb;
    reg q,qb;
    always@(posedge clk)
    begin
        case(sr)
            2'b00:begin q=q;qb=~q;end
            2'b01:begin q=0;qb=1;end
            2'b10:begin q=1;qb=0;end
            2'b11:begin q=1;qb=1;end
            default:begin q=q;qb=qb;end
    endcase
end
endmodule
</pre>
<p>VHDL:</p>
<pre class="brush: plain; light: false; title: ; toolbar: true; notranslate">
library ieee;
    use ieee.std_logic_1164.all;
    use ieee.std_logic_unsigned.all;
    use ieee.std_logic_arith.all;
    entity sr_ff is
        port(sr:in bit_vector(1 downto 0);
             clk:in std_logic;
             q,qbar:out std_logic);
         end sr_ff;
         architecture sracrh of sr_ff is
             signal clk_div:std_logic_vector(12 downto 0):=(others=&gt;'0');
             signal use_clk:std_logic;
             begin
                 p1:process(clk)
                 begin
                     if rising_edge(clk)then
                         clk_div                     end if;
                 end process p1;
                 use_clkqqqqnull;
                             end case;
                         end if;
                         end process;
                     end sracrh;
</pre>
<p><strong>d]T FlipFlop</strong><br />
Verilog:</p>
<pre class="brush: plain; light: false; title: ; toolbar: true; notranslate">
module tff(t,clk,q,qb);
    input clk,t;
    output q,qb;
    reg temp;
    always@(posedge clk)
    begin
        temp=~temp;
    end
    assign q=temp;
    assign qb=~temp;
endmodule
</pre>
<p>VHDL:</p>
<pre class="brush: plain; light: false; title: ; toolbar: true; notranslate">
library ieee;
    use ieee.std_logic_1164.all;
    entity tff is
        port(t:in std_logic;
             clk:in std_logic;
             q,qb:out std_logic);
         end tff;
         architecture tff of tff is
             begin
                 process(clk)
                     variable temp:std_logic:='0';
                     begin
                         if(clk='1' and clk'event)then
                             temp:=not(temp);
                         end if;
                         q                         qb                     end process;
                 end tff;
</pre>
<p><strong>6. n-Bit Counter</strong><br />
VHDL:</p>
<pre class="brush: plain; light: false; title: ; toolbar: true; notranslate">
library ieee;
    use ieee.std_logic_1164.all;
    use ieee.std_logic_unsigned.all;
    use ieee.std_logic_arith.all;
    entity counter is
        generic(n:integer:=4);
        port(clk,reset:in std_logic;count:out std_logic_vector(n-1 downto 0));
        end counter;
        architecture counter_behave of counter is
            signal clk_div:std_logic_vector(22 downto 0):=(others=&gt;'0');
            signal use_clk:std_logic;
            signal q:std_logic_vector(n-1 downto 0 ):=(others =&gt;'0');
            begin
                p1:process(clk)
                begin
                    if rising_edge(clk) then
                        clk_div                    end if;
                end process p1;
                use_clk                p2:process(use_clk,reset)
                begin
                    if reset='1' then q'0');
                    elsif falling_edge(use_clk) then
                    q            end if;
        end process p2;
                count            end counter_behave;
</pre>
<p><strong>7]BCD Counter</strong><br />
VHDL:</p>
<pre class="brush: plain; light: false; title: ; toolbar: true; notranslate">
library ieee;
    use ieee.std_logic_1164.all;
    use ieee.std_logic_unsigned.all;
    use ieee.std_logic_arith.all;
    entity counter is
        port(clk,reset:in std_logic;
             count:out std_logic_vector(3 downto 0));
         end counter;
         architecture counter_behave of counter is
            signal clk_div:std_logic_vector(22 downto 0):=(others=&gt;'0');
            signal use_clk:std_logic;
            signal q:std_logic_vector(3 downto 0 ):=(others =&gt;'0');
            begin
                p1:process(clk)
                begin
                    if rising_edge(clk) then
                        clk_div                    end if;
                end process p1;
                use_clk                p2:process(use_clk,reset)
                begin
                    if falling_edge(use_clk)then
                        if reset='1' then q'0'); --synchronous reset
                        else q                    end if;
                    if q=&quot;1010&quot; then q                end if;
            end process p2;
            count        end counter_behave;

</pre>
<p><strong>7. Stepper Motor</strong><br />
<strong>a] Half Step</strong><br />
VHDL:</p>
<pre class="brush: plain; light: false; title: ; toolbar: true; notranslate">
library ieee;
    use ieee.std_logic_1164.all;
    use ieee.std_logic_unsigned.all;
    use ieee.std_logic_arith.all;
    entity step_motorhs is
        port(clk,rst,dir:in std_logic;
             bit_ptrn:out std_logic_vector(3 downto 0));
         end step_motorhs;
         architecture behavioral of step_motorhs is
             type state_type is(hs0,hs1,hs2,hs3,hs4,hs5,hs6,hs7);
             signal state_hs:state_type;
             signal div_clk:std_logic_vector(12 downto 0):=(others=&gt;'0');
             signal speed:std_logic;
             begin
                      p1:process(clk,rst)
                begin
                    if (rst='1') then
                        div_clk'0');
                        elsif(clk'event and clk='1')then
                            div_clk                    end if;
                end process p1;
                speed                            div_clk                    end if;
                end process p1;
                speed                            count                        end if;
                    end process;
                    dac_clk                    dac_in                    process(dac_clk,rst)
                        begin
                            if rst='1' then
                                sine_count                                elsif
                                dac_clk='1' and dac_clk'event then
                                if(sine_count=79)then
                                    sine_count                                    else
                                    sine_count                                end if;
                                end if;
                            end process;
                                with sine_count select
                                sine_out                                            &quot;10000000&quot; when 0,
                                           &quot;10000000&quot; when 0,
                                           &quot;10000000&quot; when 0,
                                           &quot;10000000&quot; when 0,
                                           &quot;10000000&quot; when 0,
                                           &quot;10000000&quot; when 0,
                                           v
                                           v
                                           &quot;10000000&quot; when 0,
                                           v
                                           &quot;10000000&quot; when 0,
                                           v
                                           &quot;10000000&quot; when 0,
                                           &quot;10000000&quot; when 0,
                                           &quot;10000000&quot; when 0,
                                           &quot;10000000&quot; when 0,
                                           &quot;10000000&quot; when 0,
                                           &quot;10000000&quot; when 0,
                                           &quot;10000000&quot; when 0,
                                           &quot;10000000&quot; when 0,
                                           &quot;10000000&quot; when 0,
                                           &quot;10000000&quot; when 0,
                                           &quot;10000000&quot; when 0,
                                           &quot;10000000&quot; when 0,
                                          &quot;10000000&quot; when 0,
                                          &quot;10000000&quot; when 0,
                                         &quot;10000000&quot; when 0,
                                         &quot;10000000&quot; when 0,
                                         &quot;10000000&quot; when 0,
                                         &quot;10000000&quot; when 0,
                                         &quot;10000000&quot; when 0,
                                         &quot;10000000&quot; when 0,
                                         &quot;10000000&quot; when 0,

</pre>
<p>b]Square Wave<br />
VHDL:</p>
<pre class="brush: plain; light: false; title: ; toolbar: true; notranslate">
library ieee;
    use ieee.std_logic_1164.all;
    use ieee.std_logic_unsigned.all;
    use ieee.std_logic_arith.all;
    entity dac1 is
        port(clk,rst:in std_logic;
            dac_in:out std_logic_vector(7 downto 0));
        end dac1;
        architecture dac_arch of dac1 is
               signal count:std_logic_vector(4 downto 0);
            signal dac_clk:std_logic;
            signal square_count:integer range 0 to 255;
            signal delay_count:integer range 0 to 255;
            begin
                process(clk,rst)
                    begin
                        if rst='1' then
                            count'0');
                            elsif
                            clk='1' and clk'event then
                            count                        end if;
                    end process;
                    dac_clk                    dac_in                    square_count126 else 0;
                    process(dac_clk,rst)
                        begin
                            if rst='1' then
                                delay_count                                elsif
                                dac_clk='1' and dac_clk'event then
                                delay_count                            end if;
                        end process;
                    end dac_arch;

</pre>
<p><strong>c]Ramp</strong><br />
VHDL:</p>
<pre class="brush: plain; light: false; title: ; toolbar: true; notranslate">
library ieee;
    use ieee.std_logic_1164.all;
    use ieee.std_logic_unsigned.all;
    use ieee.std_logic_arith.all;
    entity dac3 is
        port(clk,rst:in std_logic;
            dac_in:out std_logic_vector(7 downto 0));
        end dac3;
        architecture dac_arch of dac3 is
               signal count:std_logic_vector(4 downto 0);
            signal dac_clk:std_logic;
            signal ramp_count:integer range 0 to 255;
            begin
                process(clk,rst)
                    begin
                        if rst='1' then
                            count'0');
                            elsif
                            clk='1' and clk'event then
                            count                        end if;
                    end process;
                    dac_clk                    dac_in                    process(dac_clk,rst)
                        begin
                            if rst='1' then
                                ramp_count                                elsif
                                dac_clk='1' and dac_clk'event then
                                ramp_count                            end if;
                        end process;
                    end dac_arch;

</pre>
<p><strong>d]Triangular Wave</strong><br />
VHDL:</p>
<pre class="brush: plain; light: false; title: ; toolbar: true; notranslate">
library ieee;
    use ieee.std_logic_1164.all;
    use ieee.std_logic_unsigned.all;
    use ieee.std_logic_arith.all;
    entity dac4 is
        port(clk,rst:in std_logic;
            dac_in:out std_logic_vector(7 downto 0));
        end dac4;
        architecture dac_arch of dac4 is
            signal count:std_logic_vector(4 downto 0);
            signal dac_clk:std_logic;
            signal trang_count:integer range 0 to 255;
            signal ud:std_logic;
            begin
                process(clk,rst)
                    begin
                        if rst='1' then
                            count'0');
                            elsif
                            clk='1' and clk'event then
                            count                        end if;
                    end process;
                    dac_clk                    dac_in                    process(dac_clk,rst)
                        begin
                            if rst='1' then
                                trang_count                                elsif
                                dac_clk='1' and dac_clk'event then
                                if(ud='0') then
                                    trang_count                                    else
                                    trang_count                                end if;
                            end if;
                        end process;
                        process(dac_clk,rst)
                            begin
                                if rst='1' then
                                    ud                                    elsif
                                    dac_clk='1' and dac_clk'event then
                                    if(trang_count=254)then
                                        ud                                        elsif(trang_count=1)then
                                            ud                                        end if;
                                    end if;
                                end process;
                            end dac_arch;

</pre>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/ManishChiniwalarBlog?a=Odg3OXm3u64:OVzntLxbtTQ:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/ManishChiniwalarBlog?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ManishChiniwalarBlog?a=Odg3OXm3u64:OVzntLxbtTQ:-BTjWOF_DHI"><img src="http://feeds.feedburner.com/~ff/ManishChiniwalarBlog?i=Odg3OXm3u64:OVzntLxbtTQ:-BTjWOF_DHI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ManishChiniwalarBlog?a=Odg3OXm3u64:OVzntLxbtTQ:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/ManishChiniwalarBlog?i=Odg3OXm3u64:OVzntLxbtTQ:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/ManishChiniwalarBlog?a=Odg3OXm3u64:OVzntLxbtTQ:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/ManishChiniwalarBlog?i=Odg3OXm3u64:OVzntLxbtTQ:gIN9vFwOqvQ" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/ManishChiniwalarBlog/~4/Odg3OXm3u64" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://manishchiniwalar.com/college/hdl-lab-programs/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<feedburner:origLink>http://manishchiniwalar.com/college/hdl-lab-programs/</feedburner:origLink></item>
	</channel>
</rss>
