Skip to content

Instantly share code, notes, and snippets.

View pasali's full-sized avatar
🎯
Focusing

Mehmet Başal pasali

🎯
Focusing
View GitHub Profile
@pasali
pasali / dsd.py
Last active December 16, 2015 17:29 — forked from emreyh/dsd.py
class BinaryTree:
def __init__(self,rootObj):
self.key=rootObj
self.left = None
self.right = None
def insertLeft(self,newNode):
if self.left == None:
self.left = BinaryTree(newNode)
else:
t = BinaryTree(newNode)
@pasali
pasali / alistirma2.c
Last active December 15, 2015 02:59 — forked from austa/alistirma2.c
/*
* File: main.c
* Author: alaattin
*
* Created on 18 Mart 2013 Pazartesi, 22:23
*/
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
@pasali
pasali / str_cat.c
Last active December 15, 2015 01:48 — forked from austa/str_cat.c
/*
* File: main.c
* Author: alaattin
*
* Created on 17 Mart 2013 Pazar, 17:01
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@pasali
pasali / cpu.v
Created May 28, 2012 14:50 — forked from erdemalkim/cpu.v
Basit bir işlemci
module cpu (KEY, SW, LEDR);
input [1:0] KEY;
input [17:0] SW;
output [17:0] LEDR;
wire Resetn, Manual_Clock, Run, Done;
wire [15:0] DIN, Bus;
assign Resetn = KEY[0];
assign Manual_Clock = KEY[1];