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 / play.md
Last active May 6, 2018 16:29
Play Framework

Play Framework

Important files

Directory structure

  • conf/routes defines how application routes HTTP GET requests to an action. Example:
# URI '/' calls index view (index.scala.html) 
@edcote
edcote / openocd.md
Last active May 8, 2018 16:25
OpenOCD
@edcote
edcote / frontend.md
Last active May 8, 2018 21:49
Frontend Frameworks

Frontend Frameworks

NPM

npm is the package manager for JavaScript. Install using apt install npm.

  • Setup repository: cd public/js && npm init -y

  • Install modules and dependencies

@edcote
edcote / docker.md
Last active May 21, 2018 17:32
Docker Help
@edcote
edcote / coverage_cookbook.md
Created May 26, 2018 21:36
Verification Academy Cover Cookbook Notes

Notes

"What doesn't get measured might not get done". Coverage helps to answer the "are we done" question.

Two concepts fundamental to understand coverage.

  • Controllability: ability to influence FSMs, structure, or LOC in the design
  • Observability: ability to obseve the effects of a FSMs, structure, or LOC in the design

Kinds of coverage:

@edcote
edcote / ddr3_features.md
Created May 26, 2018 22:46
Features of DDR3 SDRAM

Source

  • DDR3 SDRAM has eight banks, which allows more efficient interleave

Output driver impedance (Ron), ODT and ZQ calibration

  • The output driver impedence (Ron) of DQ, DQS, /DQS, and DM is selectable. Ron may fluctuate with PVR. DDR3 uses ZQ calibration.
  • ODT (On Die Termination). A termination resistor is provided by the chip to suppress signal refection. ODT resistance Rtt can be adjusted by MR2.
  • ZQ calibrate long to be issued during initialization. ZQ calibrate short to issue periodically during operation.
@edcote
edcote / tilelink.md
Created May 26, 2018 22:59
SiFive TileLink Specification
@edcote
edcote / scala.md
Last active June 12, 2018 15:19
Scala Notes

Scala Notes

Variables

Immutable and mutable

Scala has two kinds of variables, vals and vars:

  • val is immutable, cannot be reassigned
  • var is mutable, can be reassigned
@edcote
edcote / cmake.md
Last active June 14, 2018 00:49
CMake Notes

Why CMake? Why? It is only me or do I find CMake to be convoluted and non intuitive?

  • Debug vs. Release:

Technically, this is all that is needed:

cmake -DCMAKE_BUILD_TYPE=Release ..
cmake -DCMAKE_BUILD_TYPE=Debug ..
@edcote
edcote / mongodb.md
Last active June 21, 2018 15:26
MongoDB

MongoDB

MongoDB stores data in flexible, JSON-like documents. The document model maps to object in your application code, making data easy to work with. MongoDB is a distributed database at its core.

Here. Be careful, need 3.4 or later.are notes on how to install MongoDB on RHEL7.

Spark and MongoDB

MongoDB is a document store (and essentially a database). Spark is a computing engine and not a store. When used together, Spark jobs can be executed directly on operational data sitting in MongoDB.