Skip to content

Instantly share code, notes, and snippets.

View jonnew's full-sized avatar

Jonathan Newman jonnew

View GitHub Profile
@dries007
dries007 / ModelSim 17.1 for (Arch) Linux.md
Last active September 30, 2024 13:35
ModelSim 17.1 for (Arch) Linux

ModelSim 17.1 (Starters Edition) for (Arch) Linux

You need to download the setup file yourself. Put in where you run the setup script. Easy DL link It should be named ModelSimSetup-17.1.0.590-linux.run.

  1. Install dependencies (some AUR, both 32 and 64 bit is required.)
    • 64 bit: expat fontconfig freetype2 xorg-fonts-type1 glibc gtk2 libcanberra libpng libpng12 libice libsm util-linux ncurses tcl tcllib zlib libx11 libxau libxdmcp libxext libxft libxrender libxt libxtst
    • 32 bit lib32-expat lib32-fontconfig lib32-freetype2 lib32-glibc lib32-gtk2 lib32-libcanberra lib32-libpng lib32-libpng12 lib32-libice lib32-libsm lib32-util-linux lib32-ncurses lib32-zlib lib32-libx11 lib32-libxau lib32-libxdmcp lib32-libxext lib32-libxft lib32-libxrender lib32-libxt lib32-libxtst
  • ncurses compat libs: ncurses5-compat-libs and lib32-ncurses5-compat-libs
@kevinhughes27
kevinhughes27 / opencv_blackfly.cpp
Last active January 24, 2024 19:39
A simple program showing how to capture from a Point Grey Research Camera and display the image using OpenCV
#include "FlyCapture2.h"
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <iostream>
using namespace FlyCapture2;
int main()
@ikwzm
ikwzm / Makefile
Created April 4, 2012 12:13
Data Path Reducer (Data Width Converter) VHDL Model.
GHDL=ghdl
GHDLFLAGS=--mb-comments
WORK=work
TEST_BENCH = test_bench_dwc_w08_i1_o1_q0_j0 \
test_bench_dwc_w08_i1_o2_q0_j0 \
test_bench_dwc_w08_i1_o3_q0_j0 \
test_bench_dwc_w08_i1_o4_q0_j0 \
test_bench_dwc_w08_i2_o1_q0_j0 \
test_bench_dwc_w08_i2_o2_q0_j0 \
@kazuki-ma
kazuki-ma / allocator.hpp
Created February 24, 2012 14:13
OpenCV Custom Allocator for OpenGL, DirectX, QImage
// Custom Allocator for OpenCV's cv::Mat
// this code samples writen by facebook.com/matsuda.kazuki and published under public domain.
// You can copy and use this code in any situation under any license.
#ifndef __CVUT_ALLOCATOR__
#define __CVUT_ALLOCATOR__ 1
#include <opencv2/core/core.hpp>