Skip to content

Instantly share code, notes, and snippets.

🎯
Googler

Edmond Cote edcote

🎯
Googler
Block or report user

Report or block edcote

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View riscvtests.md

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 Apr 9, 2018
Vim Tips
View vim.md

Helpful shortcuts

  • Format the current line: gq
  • Go file: gf
View wordpress.md

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 Apr 20, 2018
Research Papers and Articles
View research.md

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 Apr 29, 2018
HVT, SVT and LVT, channel length, etc.
View whichcelllib.md

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:

View go.md
  • 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
NFS and rsnapshot
View nfs.md
@edcote
edcote / icc.md
Last active May 4, 2018
IC Compiler
View icc.md

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
Google Compute Engine
View gce.md

Google Compute Engine

CONSOLE

HOWTO

Cloud SDK install

For Ubuntu:

View wordpress.md

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=<password> --name wordpress --link wordpressdb:mysql -p 80:80 -v "$PWD/html":/var/www/html -d wordpress
You can’t perform that action at this time.