Skip to content

Instantly share code, notes, and snippets.


Jorge Ibarra jl-ib

Block or report user

Report or block jl-ib

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile

Keybase proof

I hereby claim:

  • I am jl-ib on github.
  • I am jl_ib ( on keybase.
  • I have a public key ASA4PzDbAfTgFsVIEwYThLOpYWpdgMYf5o3JjBkpaY3MlAo

To claim this, I am signing this object:

View gist:90d58c8ecaf9b4f9d40491e354a4028a
#define _GNU_SOURCE
#include <stdio.h>
#include <sys/time.h>
#include <pthread.h>
#include <unistd.h>
#include <sched.h>
#include <sys/wait.h>
View gist:52882c5a1436f9c70c440c420b50659f
module PipelineRegister
parameter N=32
input clk,
input reset,
input [N-1:0] DataInput,
output reg [N-1:0] DataOutput
* Description
* This is the top-level of a MIPS processor that can execute the next set of instructions:
* add
* addi
* sub
* ori
* or
* bne
* beq
jl-ib / HanoiJorge.asm
Last active Mar 2, 2017
Towers of Hanoi implementation in MIPS, limited instruction set.
View HanoiJorge.asm
# Torre de hanoi recursivo, arquitectura de computadoras
# Integrantes:
# Jorge Luis Ibarra Borbas
# José Andrés Hernández Hernández
# Last modified: 01/03/2017
## ** NOTE: For easier visualization on Mars, the program is set to work only with 8 disks (the pointers
## start messing up with each other because they are set up to hold only 8 bytes), if you want to use a
## bigger n (disks), use different initial memory addresses for $s1, $s2, and $s3.
def main():
while (True):
print('Para salir del programa escriba -1 y enter')
string = str(input('Escriba el input\n>'))
if ('-1' in string):
jl-ib /
Last active Feb 11, 2017
Analizador léxico
# Function definition
def getRelop(token):
state = 0
n = 0
output = ''
accepted = False
# select current token
c = token[n]
if state == 0:
You can’t perform that action at this time.