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 / riscvtests.md
Created April 9, 2018 16:48
RISC-V Tests

Test Virtual Machines (TVMs)

`rv32ui` | RV32 user-level, integer only
`rv32si` | RV32 supervisor-level, integer only
`rv64ui` | RV64 user-level, integer only
`rv64uf` | RV64 user-level, integer and floating-point
`rv64uv` | RV64 user-level, integer, floating-point, and vector
`rv64si` | RV64 supervisor-level, integer only
`rv64sv` | RV64 supervisor-level, integer and vector
@edcote
edcote / vim.md
Last active April 9, 2018 16:49
Vim Tips

Helpful shortcuts

  • Format the current line: gq
  • Go file: gf
@edcote
edcote / wordpress.md
Created April 10, 2018 01:42
WordPress

Getting Started

Assuming Ubuntu 17.10:

# install packages
sudo apt upgrade
sudo apt update
# mysql-server will ask for root password, set it
sudo apt install mysql-server

sudo apt install apache2

@edcote
edcote / research.md
Last active April 20, 2018 22:44
Research Papers and Articles

A. Caulfield et al., "A Cloud-Scala Acceleration Architecture"

New cloud architecture that uses FPGA to accelerate network plane functions (encryption) and applications (search ranking).

Network flows can be transformed at line rate using FPGAs.

FPGA are placed between NIC and CPU in each node of network. Three scenarios: local compute acceleration (through PCIe), network acceleration, and global application acceleration.

M. Abadi et al., "TensorFlow: Large-Scale Machine Learning on Heterogeneous Distributed Systems"

@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 / go.md
Created April 30, 2018 02:45
Go
  • Download and untar latest version of go at www.golang.org
  • Set GOPATH and GOROOT environment variables. GOROOT points to go binary install. GOPATH points to your workspace (e.g. $HOME/go).

Notes from https://github.com/alco/gostart:

  • Go is only compatible with code that resides in a workspace.
  • Go does not allow you to depend on specific versions of external packages.
  • There are no local packages, only fully qualified imports.
  • All files in a single directory belong to one package
@edcote
edcote / nfs.md
Last active May 3, 2018 22:55
NFS and rsnapshot
@edcote
edcote / icc.md
Last active May 4, 2018 17:38
IC Compiler

Notes

  • Color by hirarchy

    • Placement > Color by Hierarchy, then hit Reload
  • Area report by hierarchy: report_area -hierarchy

@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 / wordpress.md
Last active May 6, 2018 00:35
Wordpress

Running WordPress in a container

This exercise was beyond successful.

docker run -e MYSQL_ROOT_PASSWORD=<password> -e MYSQL_DATABASE=wordpress --name wordpressdb -v "$PWD/database":/var/lib/mysql -d mariadb:latest
docker run -e WORDPRESS_DB_PASSWORD= --name wordpress --link wordpressdb:mysql -p 80:80 -v "$PWD/html":/var/www/html -d wordpress