Archive for July, 2007

Flexing my PEX

Sunday, July 29th, 2007

I’m working hard on a research project, hoping to finish it up in the next week or so. As a PhD student, my life revolves around conference paper deadlines. Sadly, these deadlines are not extendable.

I’m designing a computer chip (or at least part of one). It’s a bit tricky because this chip is very complex. Although the ideas behind the tricky logic aren’t new or convoluted, there’s a lot of transistors involved. All of these transistors really tax every step of the design process and things that should work now result in thousands of oddly worded error messages.

The first step of my hardware design process is to write code in Verilog. Verilog is best described as the bastard child of a simple programming language like C and an evil flowchart. Although it seems like any other program, the code is more concerned about generating output bits from input bits. There’s a lot of timing involved and you have to think about how inputs will change over time. I use a design style called “Two-phase clocking”, which is a nice way of saying that some inputs are gibberish some of the time, and the other inputs are gibberish during other times.

It took me about three weeks to really finish the Verilog code and test it out. There’s a lot of work beyond this, converting the code to a chip blueprint, so it’s important that the Verilog works. You don’t want to do any of this work twice.

After this, I put my Verilog code through a program called “Design Compiler”. This takes my code and converts it into a giant computer chip recipe. It doesn’t design the chip, but decides what transistors to use and how they should connect up. Usually this process takes 15-20min, but it’s been taking me about 12 hours. That’s after a lot of fiddling with the program.

Design Compiler will spit out this recipe as another Verilog file. However, this file is much more detailed and really big. The idea is that this Verilog file is an optimized way to implement the high level ideas from my original Verilog file. Sometimes I get a lot of weird timing warnings about arcs and whatnot. This is not comforting.

The next program I have to use is Encounter. This takes the new Verilog file and comes up with a blueprint, figuring out where each of the transistors should go. This has about 10 steps and half of the time they fail for some unknown reason. One of these steps takes 60+ minutes, so it’s always fun when you go through that and find out the program has given up. When it does work, you get a spiffy looking chip, like in the Intel ads. Mine looks like this:

After all of that is done, I take the blueprint and put it in a program called Cadence. Although Cadence does a lot more, I’m only using it to make sure my blueprint makes sense and acts like it should. I’m also currently trying to analyze it to understand how all of the transistors interact. The first two steps (making sure it will work in reality) took a few hours. The analysis step, called PEX for reasons too boring to put here, took about 5 hours and abruptly failed without reason an hour ago. I changed a few settings and it’s off again. I’ll be waking up at 3am to see how that went.

After that step (please, please let PEX work this time), I’ll run the analysis through HSIM. HSIM tries to simulate the timing and energy of my circuit from the PEX analysis. This will likely take a long time as well. If that step works, I’ll have all of the data I need to write my paper.

Take That, Housing Slump!

Friday, July 13th, 2007

In Praise of American Cell Phone Habits

Friday, July 13th, 2007

I was talking to some officemates today about something encouraging I’ve noticed. An anti-rant.

I realized that in the past year or so, nobody walks outside while jabbering on their mobile phone headset. Sure, there’s some types who like to wear their Bluetooth thinger 24/7, but they seem to do it as a fashion statement. As if I’m impressed that they can put a $40 piece of radiation-emitting plastic as close to their brain as possible without surgery. On the bright side, they’re harmless.

However, a few years ago, so many people would be talking outside their homes on their headsets. For some reason this seemed especially true in Philly. This was frustrating to me as I could no longer separate the truly loony from a chatty college student who needed to run a load of laundry (or five). Perhaps people got tired of constantly receiving looks like “are you talking to me?”, “who are you?”, or my favorite, “911, can you put me on the line with the closest loony bin?”

I no longer have much of a need for headsets, which is nice considering my Bluetooth one died. I really only had it for the cross-country relationship which is now an “across the street” relationship. This means less cell phone talking and more delicious dinners (and brain radiation, hopefully).

Suddenly, I care about the housing slump

Tuesday, July 10th, 2007

Best. Cappuccino. Ever.

Tuesday, July 10th, 2007

I’ve been happy with my new Gaggia Coffee Deluxe espresso machine. Well, except for the milk foaming ability. Until now!

I took the machine apart and replaced the steam wand with the wand from a different (better) machine. Now, behold my foaming ability!


Okay, it’s sort of a latte, but still. Awesome.

Common Room SketchUp

Sunday, July 8th, 2007

Now that the new lease is getting close, I’m thinking about finally making the common room in my apartment nice. I just finished laying out the room in SketchUp. You’ll find me looking out the window. Well, a virtual “me” (with a virtual hairpiece). Check it out:

MSN Start Page Grab-bag

Monday, July 2nd, 2007

As I fire up Internet Explorer (clearly for the purposes of work), I’m struck by the uselessness of the page’s content. Everything seems to link to either something that makes Microsoft some money or requires absolutely no thought, whatsoever. The only section that uses the word “analysis” happens to be in the sports department. Top news? Chertoff tells us that we are safe, presumably from terror attacks. Why is that he says we’re safe only where there’s a credible attack and we’re not safe where there isn’t?

Regardless, here’s what you’ll find at the IE start page:

Is Your Closet Set For Summer?
What exactly about this summer requires preparation? Is global warming striking early? Time to break out the radiation suits? I suspect this is indirect advertising – MSN probably gets some cut of whatever merch they are pushing.

12 Indestructable Jobs
Who is going to become a dentist because MSN told them to? Looks like a way to push you into their MSN Careers site, which I’ll bet makes a lot of money.

Entertainment
Insert inane celebrity gossip here. Not so much entertainment news as entertainer “news”.

Adding it up: 50 surprising ways to burn 50 calories

What good is 50 calories gonna do after most meals are at least 500? Unless I’m ready to brush my teeth ten times, there’s really no point to all this. I’ll file this under the “I look fat but am unwilling to exert myself in any way” category.