Skip to content

Instantly share code, notes, and snippets.

View edcote's full-sized avatar
🎯
Googler

Edmond Cote edcote

🎯
Googler
View GitHub Profile
@edcote
edcote / riscvsw.md
Last active October 4, 2018 10:02
RISC-V System Software

RISC-V System Software

Ignore the instructions to build GCC/Newlib toolchain. Consult this Linux/RISC-V installation manual instead.

Setup environment variables

module load riscv-tools/local

# old

export RISCV_SW=$CAD_ROOT/riscv-sw

@edcote
edcote / dotfiles.md
Last active February 1, 2018 01:36
Dotfiles

Dot Files

Bash

  • For consistent results, remove package bash-completion using yum remove

  • Add directive shopt -s direxpand to file .bashrc for environment variables to expand to full path

  • Add following to your ~/.inputrc file:

      "\e[A": history-search-backward  
    

"\e[B": history-search-forward

@edcote
edcote / gce.md
Last active May 5, 2018 02:31
Google Compute Engine

Google Compute Engine

CONSOLE

HOWTO

Cloud SDK install

For Ubuntu:

@edcote
edcote / coin-or.md
Created February 25, 2018 21:04
COIN-OR
@edcote
edcote / chisel3.md
Last active April 5, 2018 00:22
Chisel3
@edcote
edcote / nfs.md
Last active May 3, 2018 22:55
NFS and rsnapshot
@edcote
edcote / whichcelllib.md
Last active April 29, 2018 19:33
HVT, SVT and LVT, channel length, etc.

High-Vt, Low-Vt, Standard-Vt. Used to implement multi-threshold low power techniques. info

  • HVT: less power, worse timing, used for power critical functions.
  • LVT: more power, better timing, used in timing critical functions
  • SVT: offers tradeoff between LVT and HVT

Subthreshold condution is one component of leakage. The amount of subthreshold conduction is set by the threshold voltgage, which sits between ground and the supply voltage.

From Multi-channel length:

@edcote
edcote / liblefdef.md
Created March 20, 2018 18:54
.lib, .lef, and .def
  • Liberty (LIB) defines PVT, timing, power, noise, and other characteristics of cell library
  • Liberty Exchange Foramt (LEF) includes design rules and abstract information about cells
  • Design Exchange Format (DEF) represents the netlist and circuit layout
@edcote
edcote / jenkins_docker.md
Last active October 3, 2018 03:23
Jenkins and Docker

Goal

  • To deploy riscv-ci on docker, with preserved data.

    mkdir -p docker/riscv-ci cd docker/riscv-ci

Docker and Jenkins setup

  • Create an image on top of the Jenkins image with log, cache directories and java opts
@edcote
edcote / firewall.md
Last active December 3, 2018 00:37
Firewall

Firewall setup

Ubuntu

Official wiki has excellent documentation.

Example commands:

sudo ufw allow ssh/tcp