Monday, February 13, 2006

Assignments & More

I know it has been quite a long time since I posted a blog. I could not do so due to the fact that I had quite a few assignments last week. They were quite interesting really, I mean if you looked at it externally and not have to do it yourself.
My first assignment last week involved a C programming project,in which I had to code a maze. The main outline of this task was to read in a maze from a textfile and display it on to the screen. The user then had to be prompted to give the starting co-ordinates from where the maze had to be solved. The textfile consisted of a grid of x,p characters.X's denoted the walls, p denoted the path. The goal was denoted by g. The maze was confusing as it had many dead ends and junctions and my program was supposed to be able to go back everytime such a dead end was reached.
I spent a good part of my vacation figuring out the method I would adopt to solve it. In the end I was able to solve the maze and accomplish the task.
The second assignment might be a bit more interesting. It involved the design of an FPGA which sorted into ascending order, the 8 bit values that were inputted into it. The language used was VHDL which stands for Very High Speed Integrated Circuit Hardware Description Language http://en.wikipedia.org/wiki/Vhdl. It is actually very much like C programming, but here u are actually able to construct and program hardware to make it do things u want it to . VHDL is an excellent tool as not only are you able to describe the behaviour of chip through programming, you are also able to modify the behaviour if you are unstatisfied with it. The program used to compile and simulate VHDL is ModelSim. The components for the sorter were placed on a simulated PCB using Xilinx, which gives the timing frequency and efficiency of the chip so created.
The sorter problem was very complicated as it involved the programming of many components which were embedded deep into the main layout.
The next assignment uses the sorter to detect a peak from a stram of data and display it onto a computer. I have been assigned a group for this task.
Anyway I shall continue to update this blog as an when I get an opportunity. Have fun and tc

8 comments:

astroid said...

hello!
Maze thing sounds really interesting...
And ya you are taking too much time in posting you should realise there are other people with nothing to do like me.

astroid said...

hey cool you ve changed your template its lots of fun... this one is also nice i liked both.

Dev said...

I'll havee to agree with chingachgook, the maze sounds far more interesting then the FPGA. Keep on bloging.
btw something not right with the Wiki link as I see the url not an Hyperlink.

KG said...

Cheers guys.My html sucks.Hence bear with me,I shall come up with enhancements once I get a hold of the language.

Dev said...

Hey Karthik,
You dont need to have great html skills; Just Look at me. ;-)He he
You can just use the link button in the WYSIWYG editor, you use to post the entries.

astroid said...

ya and like me who doesnot know anything about wysiwyg but fidles with all buttons on the compose panel.
However someitmes those buttons just dont appear it might have to do with the cnnection then theres trouble.

astroid said...

ok there is some program in uk..
sadhguru is coming there maybe some talk or something...
May 11th - 13th 2006
Be the Change
UK Friends House,
London
probably a talk or something..
if you are interested you can contact here: Kumar, +919443731964

he is a very cool fellow to listen to..and its a wonderful oppurtunity to meet him.

any other uk'ite that may read this is also cordially invited.
(not that karthik is a ukite).

astroid said...

May 14th there is a introductory session open to public...though you may not be in uk.... you could go for that.