Skip to content

Instantly share code, notes, and snippets.

* foo
.param spec=-1
.include nor.cir
.end
* foo
.param spec=0
.include nor.cir
.end
* foo
.param spec=1
.include nor.cir
.end
EYE_PATTERN=$(DARTER_PATH)/eye-pattern.py
CHECK_TIMING=$(DARTER_PATH)/check_timing.py
CHECK_VALUES=$(DARTER_PATH)/check_values.py
nor.net: nor_clock.sch \
nor_in.sch \
nor_out.sch \
nor_power.sch \
nor.sch \
nor_select.sch
#!/usr/bin/python
# -*- coding: utf-8 -*-
import sys
import mechanize
import cookielib
import struct
import ssl
import base64
import collections
#!/bin/sh
CLOCK=162
LATCH=161
DATA=145
PIN_MUX=uart2_rts
PIN_MUX_VAL=4
gpio_init()
{
/* Copyright 2012, Russ.Dill@asu.edu
* Released under LGPLv2 or later */
#include <math.h>
#include "config.h"
#include "data.h"
#include "rtree.h"
#include "mirror.h"
#include "remove.h"
#include "select.h"
@russdill
russdill / gist:8179362
Created December 30, 2013 08:28
PMDL decoder for zeroplus
#!/usr/bin/python
import xml.etree.ElementTree as ET
import sys
try:
tree = ET.parse(sys.argv[1])
except:
tree = ET.parse(sys.stdin)
root = tree.getroot()
ha#!/usr/bin/env python
# -*- coding: UTF-8 -*-
# 2015 Michael Stucky
#
# This script is based on Raymond Wagner's transcode wrapper stub.
# Designed to be a USERJOB of the form </path to script/transcode-h264.py %JOBID%>
#
# Modifications
#
@russdill
russdill / pnp.py
Created July 10, 2012 05:36
Pick and Place helper for gEDA PCB
#!/usr/bin/env python
#
# pnp.py
#
# Copyright (C) 2012 Russ Dill <Russ.Dill@asu.edu>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.