AttoWPU - Going to Intel ISEF!

Discuss everything else here

Moderator: ArcWolf

User avatar
Frooxius
Posts: 311
Joined: Tue Jul 28, 2009 6:00 pm
Contact:

Re: AttoWPU - my own processor and programming language :3

Post by Frooxius »

You will, but roughly in a month and half, according to my estimations (it might be later, but I'll have holidays, so I'll have more time, so I don't know). I can't start fully working at it for now and it takes quite a lot time to design an architecture and programming language.
Image
hug_overflow.asm wrote: LOOP: HUG #Peanut, #Grape
PUSH ACC
JMP LOOP
User avatar
yehoshua
Posts: 1984
Joined: Wed May 25, 2011 7:32 pm
Location: Canananada

Re: AttoWPU - my own processor and programming language :3

Post by yehoshua »

No worries, take your time.
Sent from my conifer.
User avatar
Frooxius
Posts: 311
Joined: Tue Jul 28, 2009 6:00 pm
Contact:

Re: AttoWPU - my own processor and programming language :3

Post by Frooxius »

I was gone for some time, because I was busy and last three days, I was at the national round and guess what! I've won! ^^ That's big news! Image

I've got great awards too!
-Nomination to INTEL ISEF in the USA (I'll go to the USA, hurray! Image )
-Nomination to a prize of Science community of Czech republic
-Prize of the Information Technology Institute of Academy of Science in Czech republic
-Prize of NIDM MŠMT (national institute of youth)
-Prize of Czech Bank
-80 GB Intel SSD harddrive
-Huge encyclopedia
-Funny book "Smiles of the nuclear science"

I'm official a young computer scientist now Image

The national round was great a lot of smart people (contestants) there in various scientific areas, and also scientists and other important people in the commission. They said, that we are the best young scientists and future scientists. I'll show some photos when they're online and soon more information about the WPU's ^^
Image
hug_overflow.asm wrote: LOOP: HUG #Peanut, #Grape
PUSH ACC
JMP LOOP
User avatar
Sleet
Bringing Foxy Back
Posts: 17291
Joined: Thu Apr 29, 2010 1:32 am
Location: Nephelokokkygia
Contact:

Re: AttoWPU - Great News!

Post by Sleet »

That is so awesome! Congratulations, Frooxius!
Image
Questions? Comments? Concerns? Friendly banter? Feel free to click the "PM" button below!
Daggy
Posts: 776
Joined: Thu May 12, 2011 9:31 pm

Re: AttoWPU - Great News!

Post by Daggy »

That's fantastic news! Congrats man! Wish I could manage to do something as good as this.
User avatar
yehoshua
Posts: 1984
Joined: Wed May 25, 2011 7:32 pm
Location: Canananada

Re: AttoWPU - Great News!

Post by yehoshua »

Wow that's incredible! Fantastic, congratulations mate!
Sent from my conifer.
User avatar
44R0NM10
Former Mod of the Aura
Posts: 4011
Joined: Mon Mar 29, 2010 5:52 pm
Location: England
Contact:

Re: AttoWPU - Great News!

Post by 44R0NM10 »

wow, congratulations! That's gotta be an amazing achievement. :mrgreen:
ReCreate
Posts: 1415
Joined: Sun Mar 28, 2010 6:09 pm
Location: http://bordomirc.co.cc
Contact:

Re: AttoWPU - Great News!

Post by ReCreate »

Congratulations! I'm happy for you. :3 Somehow I know something like this was bound to happen. :P
Don't let others define you, Only you can determine your fate
no longer active, sorry
User avatar
Frooxius
Posts: 311
Joined: Tue Jul 28, 2009 6:00 pm
Contact:

Re: AttoWPU - Great News!

Post by Frooxius »

Thanks Image

Anyway I was presenting this project (along with other WPU's) in Prague at the Stretech expo, I recorded and uploaded some video from there, you can notice my stand (and also the other student's project from the same school) a big poster I designed (school paid the printing, as well as other expenses like the traveling to Prague and back) and briefly me with my shirt, but there's not much, because well... I haven't got much time to film, because I was presenting the project to people walking by.
http://www.youtube.com/watch?v=mqTjj_7e51s
Image
hug_overflow.asm wrote: LOOP: HUG #Peanut, #Grape
PUSH ACC
JMP LOOP
User avatar
yehoshua
Posts: 1984
Joined: Wed May 25, 2011 7:32 pm
Location: Canananada

Re: AttoWPU - Great News!

Post by yehoshua »

Just saw the video, couldn't understand anything T_T
Congrazt again for winning though :D
Sent from my conifer.
User avatar
Frooxius
Posts: 311
Joined: Tue Jul 28, 2009 6:00 pm
Contact:

Re: AttoWPU - Great News!

Post by Frooxius »

Hello there again! You already saw the video from the Stretech expo where I presented the WPU (in case you don't know yet - new type of processor I invented) and AttoWPU and 2DWPU (two specific architectures and associated programming languages), now I bring some photos! You can see me with my shirt (I look ugly Image) and the poster I created and school printed (well ordered and paid printing from a printing company).

Click on the photo to go to a full resolution version at DA.
You can find the poster image here, but it's in Czech and it's a 117 Mpx picture (It occupied 6 GB in RAM when I was creating it, fortunately I have 12 GB of RAM Image)

So here's me with the poster and shirt:
Image

Here's my stand (from the expo):
Image

And last a funny one - my cat got interested in the poster and started studying it Image:
Image
Image
hug_overflow.asm wrote: LOOP: HUG #Peanut, #Grape
PUSH ACC
JMP LOOP
User avatar
yehoshua
Posts: 1984
Joined: Wed May 25, 2011 7:32 pm
Location: Canananada

Re: AttoWPU - Great News!

Post by yehoshua »

Well, it is quite interesting, I hope your cat was quite informed.
Sent from my conifer.
User avatar
Frooxius
Posts: 311
Joined: Tue Jul 28, 2009 6:00 pm
Contact:

Re: AttoWPU - Great News!

Post by Frooxius »

Yes, he programmed a catnip simulator in 2DWPU in his head, compiled it (also in his head) and now he's interpreting the machine code in real time (in his head of course, duh Image), which would explain him trying to eat my foot reinforced with three socks for this very occasion.
Last edited by Frooxius on Tue Jun 21, 2011 4:50 pm, edited 1 time in total.
Image
hug_overflow.asm wrote: LOOP: HUG #Peanut, #Grape
PUSH ACC
JMP LOOP
User avatar
yehoshua
Posts: 1984
Joined: Wed May 25, 2011 7:32 pm
Location: Canananada

Re: AttoWPU - Great News!

Post by yehoshua »

Now we just have to wait for smell-o-vision to be invented so that the catnip simulator can become a reality :)
Sent from my conifer.
User avatar
Frooxius
Posts: 311
Joined: Tue Jul 28, 2009 6:00 pm
Contact:

Re: AttoWPU - Great News!

Post by Frooxius »

Well if it's running in his head he can directly interface it with his smell center, so there's no need for smellovision (which isn't technically a vision at all). Isn't it obvious? Image



Image
Image
hug_overflow.asm wrote: LOOP: HUG #Peanut, #Grape
PUSH ACC
JMP LOOP
User avatar
yehoshua
Posts: 1984
Joined: Wed May 25, 2011 7:32 pm
Location: Canananada

Re: AttoWPU - Great News!

Post by yehoshua »

It was only a joke Image
Sent from my conifer.
User avatar
Frooxius
Posts: 311
Joined: Tue Jul 28, 2009 6:00 pm
Contact:

Re: AttoWPU - Great News!

Post by Frooxius »

So what what I said. Image
Image
hug_overflow.asm wrote: LOOP: HUG #Peanut, #Grape
PUSH ACC
JMP LOOP
User avatar
yehoshua
Posts: 1984
Joined: Wed May 25, 2011 7:32 pm
Location: Canananada

Re: AttoWPU - Great News!

Post by yehoshua »

Fooled you! Image
Sent from my conifer.
User avatar
Frooxius
Posts: 311
Joined: Tue Jul 28, 2009 6:00 pm
Contact:

Re: AttoWPU - Great News!

Post by Frooxius »

Now I am going to aww Image But seriously, we should stop this.

*ahem* So any comments about the architecture from the technical people here? Any programs created in my language (stares at Obbl, wherever is he now)? Image
Image
hug_overflow.asm wrote: LOOP: HUG #Peanut, #Grape
PUSH ACC
JMP LOOP
User avatar
yehoshua
Posts: 1984
Joined: Wed May 25, 2011 7:32 pm
Location: Canananada

Re: AttoWPU - Great News!

Post by yehoshua »

I'm curious about the furry procesor, how would that work?
Sent from my conifer.
User avatar
Frooxius
Posts: 311
Joined: Tue Jul 28, 2009 6:00 pm
Contact:

Re: AttoWPU - Great News!

Post by Frooxius »

Well sorry, but I would like to keep that for myself until I have some materials ready for publishing. Thing is, that it can still change a lot as I develop the architecture and I haven't really decided all the parts and principles yet, because I haven't focused on it yet (now I'm focusing on 2DWPU). But what can I say is, that it's going to be a weird graphics processor (WPU's can be universal processors, graphic ones, sound generator, signal processors and others as long as they have WPU traits).
Image
hug_overflow.asm wrote: LOOP: HUG #Peanut, #Grape
PUSH ACC
JMP LOOP
User avatar
Sleet
Bringing Foxy Back
Posts: 17291
Joined: Thu Apr 29, 2010 1:32 am
Location: Nephelokokkygia
Contact:

Re: AttoWPU - Great News!

Post by Sleet »

Yaknow, I really wish I understood all this because it sounds awesome.
Image
Questions? Comments? Concerns? Friendly banter? Feel free to click the "PM" button below!
User avatar
Frooxius
Posts: 311
Joined: Tue Jul 28, 2009 6:00 pm
Contact:

Re: AttoWPU - Great News!

Post by Frooxius »

How can something you don't understand sound awesome? Image

But if you don't understand something, then ask and I'll explain, I like explaining, explaining is cool Image
Image
hug_overflow.asm wrote: LOOP: HUG #Peanut, #Grape
PUSH ACC
JMP LOOP
User avatar
Frooxius
Posts: 311
Joined: Tue Jul 28, 2009 6:00 pm
Contact:

Re: AttoWPU - Great News!

Post by Frooxius »

*pokes Sleet* You don't want me to explain anything? Image Image

*pokes Obbl* Sooo... What about the factorial calculator? I was really looking forward to seeing it Image
Image
hug_overflow.asm wrote: LOOP: HUG #Peanut, #Grape
PUSH ACC
JMP LOOP
User avatar
Obbl
Smiley McSmiles
Posts: 3231
Joined: Tue Apr 27, 2010 1:56 pm
Location: The Housepets Forum ^^

Re: AttoWPU - Great News!

Post by Obbl »

I am stuck on printing large numbers (beyond 32 bits). I can't think of any good way to do it aside from store single digits per memory address which would be a pain in the rear to code for.
So, I've kinda stopped work on it. It should be able to calculate the factorial; but it can't display it, so I can't really test it all that easily.
Image
User avatar
Frooxius
Posts: 311
Joined: Tue Jul 28, 2009 6:00 pm
Contact:

Re: AttoWPU - Great News!

Post by Frooxius »

Oh, why didn't you just say so? I can help with anything Image (sorry I didn't read it until now)

Printing large numbers is not difficult! There are several methods to do that, I devised one that's quite simple for you and implemented it in C++. It can print arbitrary size numbers, it simply processes all bits to determine the digit that's about to be drawn and then divides the whole number by 10, carrying the remainder to the lower parts!

I hope you can understand the following code (I tried to avoid using some specialties of the language to make it easier to read), if so, implementing it and adjusting it to your program should be easy, I can't wait to see it Image

Seriously, you should've asked me for help, I don't bite, I can shoot you in the head with deadly energy blast, but I definitely not bite Image Image

Code: Select all

#include <iostream>
using namespace std;

typedef unsigned char num8bit;

void decimate(num8bit *numbers, int how_many)
{
	num8bit high4b, low4b, carry = 0;

	for(int i = how_many-1; i >= 0; i--)
	{
		// divide it by 4 bit parts
		high4b = (numbers[i] >> 4)+carry;
		low4b = numbers[i] & 0x0F;

		low4b += (high4b % 10) << 4;
		high4b /= 10;
		carry = (low4b % 10) << 4;
		low4b /= 10;

		numbers[i] = low4b + (high4b << 4);
	}
}

void printlarge(num8bit *numbers, int how_many)
{
	num8bit add, digit, continue_calculating;
	char printnum[256];	// temporarily store the number (it will be stored backwards)
	int character = 0;

	digit = 0;	// resulting digit, that will be printed on the screen
	do
	{
		continue_calculating = 0;
		add = 1;	// 1 2 4 8 (1)6 (3)2 6(4) (12)8 (25)6 - notice the repeating sequence, the smallest digit is the most important one and it will be stored in this variable

		// cycle over all the parts of the number
		for(int i = 0; i < how_many; i++)
			for(int b = 0; b < 8; b++)	// cycle over all the bits of the number
			{
				digit = (digit + ((numbers[i] >> b)&1)*add );	// calcualte new digit - add the value of add variable to the digit if the bit of the part of the number is 1
				add = (add * 2) % 10;	// calculate new add value
				continue_calculating |= numbers[i];	// as long as there are any bits left, this variable will be nonzero
			}

		printnum[character++] = '0'+ (digit%10);
		digit -= digit % 10;

		// divide by 10
		decimate(numbers, how_many);

	} while(continue_calculating);

	// print the string backwards
	while(character--)
		cout << printnum[character];
}

int main()
{
	unsigned short low, high, highest;
	num8bit nums[3];
	for(;;)
	{
		cout << "Enter low: ";
		cin >> low;
		cout << "Enter high: ";
		cin >> high;
		cout << "Enter highest: ";
		cin >> highest;

		nums[0] = low;
		nums[1] = high;
		nums[2] = highest;

		cout << "Printed safely (this is 100 % correct): " << ( (int)nums[0] | ( ((int)nums[1]) << 8) | ( ((int)nums[2])) << 16 )  << endl;

		cout << "Printed using the algorithm: ";
		printlarge(nums, 3);
		cout << endl;
	}
	return 0;
}
Image
hug_overflow.asm wrote: LOOP: HUG #Peanut, #Grape
PUSH ACC
JMP LOOP
User avatar
Obbl
Smiley McSmiles
Posts: 3231
Joined: Tue Apr 27, 2010 1:56 pm
Location: The Housepets Forum ^^

Re: AttoWPU - Great News!

Post by Obbl »

OK, I just gotta tell you: this is really, really cool!
I just spent some time going over this, and I love it!
It took me a while to understand how decimate worked. I wouldn't have thought of that.
Just: Wow!
Image
User avatar
Frooxius
Posts: 311
Joined: Tue Jul 28, 2009 6:00 pm
Contact:

Re: AttoWPU - Great News!

Post by Frooxius »

It is? Image
I never thought that it's something extraordinary, it didn't take much time to design. Also it would be much better to design a generic algorithm, but I wanted to make it as simple as possible, so you can quickly understand it and use the method for your app.

Sooo... are you going to finish it now? Image
Image
hug_overflow.asm wrote: LOOP: HUG #Peanut, #Grape
PUSH ACC
JMP LOOP
User avatar
Obbl
Smiley McSmiles
Posts: 3231
Joined: Tue Apr 27, 2010 1:56 pm
Location: The Housepets Forum ^^

Re: AttoWPU - Great News!

Post by Obbl »

Yes, :D I will finish it!
But seriously, the best part about this is its simplicity. I'm totally geeking out here :lol:
Although, printing a number backwards will be something fun to figure out in Attocode :D
Image
User avatar
Frooxius
Posts: 311
Joined: Tue Jul 28, 2009 6:00 pm
Contact:

Re: AttoWPU - Great News!

Post by Frooxius »

So? How are you doing? You realize I'm dying here... to see what you made Image

Also good news is, that I'll have the FPGA development board soon at home, which will be huge step towards the physical version of this processor (any the others I'm planning) ^^ WPU's will basically be softcore chips then. Image
Image
hug_overflow.asm wrote: LOOP: HUG #Peanut, #Grape
PUSH ACC
JMP LOOP
User avatar
Obbl
Smiley McSmiles
Posts: 3231
Joined: Tue Apr 27, 2010 1:56 pm
Location: The Housepets Forum ^^

Re: AttoWPU - Great News!

Post by Obbl »

It takes 10 forevers to write any math in AttoCode :lol: And my sleepy mind is not making matters any easier
OK, I finished writing all my code. Going to test it tomorrow. It is bed time now :D
Image
User avatar
Frooxius
Posts: 311
Joined: Tue Jul 28, 2009 6:00 pm
Contact:

Re: AttoWPU - Great News!

Post by Frooxius »

I have great news!
I recently bought an Altera DE2-115 Development and Education board with FPGA chip Cyclone IV, which allows me to realize my experimental processors also as hardware chips, in a form of softcore processors (there will be available core definition in HDL language once it's done, so anyone can download it and synthesize it on his FPGA and also use as part of various designs).

I'll inform you once I have some progress to show, I'm currently getting familiar with the board and the FPGA technology, so it might take some time, but I'm definitely working on it.

Here's the board with three additional daughter boards.
Image

You can watch unpacking of the board and small demonstration here:
http://www.youtube.com/watch?v=Dn4UAL5MLMg

Also, I made a simple programmable beeping sound generator Beepus, you can watch it here:
http://www.youtube.com/watch?v=AANKGfbFYlk
Image
hug_overflow.asm wrote: LOOP: HUG #Peanut, #Grape
PUSH ACC
JMP LOOP
User avatar
yehoshua
Posts: 1984
Joined: Wed May 25, 2011 7:32 pm
Location: Canananada

Re: AttoWPU - Great News!

Post by yehoshua »

That's realty impressive! I can't wait to see you already mass producing processors and shipping them worldwide! (ok maybe I'm getting a little ahead of myself)Image anyway, good luck!
Sent from my conifer.
User avatar
Frooxius
Posts: 311
Joined: Tue Jul 28, 2009 6:00 pm
Contact:

Re: AttoWPU - Going to Intel ISEF!

Post by Frooxius »

I've got some more great news! Image

As I wrote before, I was one of the suggested nominations to Intel ISEF, there was about 15 projects selected from 300 top projects of young scientists (I was one of them), but only 3 can go to the Intel ISEF, so it wasn't still decided if I would go (they pick from all scientific areas, not just information technology)

Recently (14th October) I went to the Academy of Science in Prague, to the Institute of Information technology to present my project (actually all WPU's, not just AttoWPU) to some scientists and people from Intel (and some journalists, they were taking photos of me (well others as well), I felt awkward O.O) and... THEY NOMINATED ME!

That means that next year, I'll go to the Intel ISEF for sure! It's taking place in Pittsburgh in Pennsylvania. I still can't believe that I'm one of the three (+ one team project) that will go to this prestigious scientific event present my research Image I honestly didn't know if I'll get nominated, so I'm now quite happy that I did Image

If you're interested, here are some papers that I drew when I was presenting the projects:
Full Resolution
Image
Image
hug_overflow.asm wrote: LOOP: HUG #Peanut, #Grape
PUSH ACC
JMP LOOP
User avatar
Obbl
Smiley McSmiles
Posts: 3231
Joined: Tue Apr 27, 2010 1:56 pm
Location: The Housepets Forum ^^

Re: AttoWPU - Going to Intel ISEF!

Post by Obbl »

Dude! That is totally awesome!
Congrats! This is great news! There can never be too many exclamation points!!!!!!! :D
Image
User avatar
yehoshua
Posts: 1984
Joined: Wed May 25, 2011 7:32 pm
Location: Canananada

Re: AttoWPU - Going to Intel ISEF!

Post by yehoshua »

That's incredible! Congratulations! You're really lucky :)
Sent from my conifer.
Post Reply