This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
`timescale 1ns / 1ps | |
module nonzero_cla #( | |
parameter N = 7, | |
parameter W = 6 /* Number of inputs per LUT */ | |
) ( | |
input [N-1:0] in, | |
output out | |
); | |
if (N <= W) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import socket | |
import select | |
import fcntl | |
import struct | |
import errno | |
import os | |
import asyncore | |
import sys |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* 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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
CLOCK=162 | |
LATCH=161 | |
DATA=145 | |
PIN_MUX=uart2_rts | |
PIN_MUX_VAL=4 | |
gpio_init() | |
{ |
NewerOlder