<xmp><body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener('load', function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <div id="navbar-iframe-container"></div> <script type="text/javascript" src="https://apis.google.com/js/platform.js"></script> <script type="text/javascript"> gapi.load("gapi.iframes:gapi.iframes.style.bubble", function() { if (gapi.iframes && gapi.iframes.getContext) { gapi.iframes.getContext().openChild({ url: 'https://www.blogger.com/navbar.g?targetBlogID\x3d7309733\x26blogName\x3dIntellections+Of+A+Lesser+Mortal\x26publishMode\x3dPUBLISH_MODE_BLOGSPOT\x26navbarType\x3dBLUE\x26layoutType\x3dCLASSIC\x26searchRoot\x3dhttps://holdensays.blogspot.com/search\x26blogLocale\x3den_US\x26v\x3d2\x26homepageUrl\x3dhttp://holdensays.blogspot.com/\x26vt\x3d-3678984846494381971', where: document.getElementById("navbar-iframe-container"), id: "navbar-iframe", messageHandlersFilter: gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER, messageHandlers: { 'blogger-ping': function() {} } }); } }); </script></xmp>

Friday, May 13, 2005

Life's like that

/* Given below is the code for 1-bit subtractor. This happens to be my first code in verilog. I have to code in verilog for my project and the code will be somewhere around 1500 - 2000 lines. Atleast I have started. If any of you are experts in verilog please leave your Yahoo Messenger id. I might need your help */

module sub (x,y,z,D,B);
output D,B;
input x,y,z;
assign D = (~x & ~y &amp; z) | (~x & y & ~z) | (x & ~y & ~z) | (x & y & z);
assign B = (~x & y) | (~x &amp; z) | (y & z);
endmodule


There is one more thing that I will like to add. Grown ups dont talk about potty that much. Sometimes they (hinting at someone in particular) dont even laugh at the potty jokes. How many of you feel comfortable with it? For those who do, here is one:

What does Sanjay Kapoor sing when he is sitting on a pot?

Aaati nahin....
|