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 / github.md
Created December 13, 2017 16:43
GitHub Notes

GitHub

Steps to submit a patch to a public repo

1. Fork the repository using GUI
1. Clone your forked repo
1. Create the branch locally, e.g.: `git branch devel-edcote` (should be descriptive name)
1. Push the new branch up to your fork: `git push origin devel-edcote`
1. Switch to your new new: `git checkout devel-edcote`
  1. Do development work, make commits, ...
@edcote
edcote / aws.md
Last active December 26, 2017 15:33
AWS
@edcote
edcote / rocketboot.md
Last active January 12, 2018 16:50
Rocket Boot
@edcote
edcote / win10_openssh.md
Last active January 19, 2018 22:01
Windows 10 OpenSSH Configuration

Win10 OpenSSH Tips

Don't ask. I dislike Windows.

  • Recursively take ownership administrator group

    TAKEOWN /F "C:\WINDOWS\System32\OpenSSH" /R TAKEOWN /F "C:\WINDOWS\System32\OpenSSH" /A /R

@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 / coin-or.md
Created February 25, 2018 21:04
COIN-OR
@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 / chisel3.md
Last active April 5, 2018 00:22
Chisel3
@edcote
edcote / synplify.md
Created April 9, 2018 15:25
Synplify

Timing constraints

Synplify users are recommended to use FDC format constraint files. I have found the TCL View and constraint syntax checker in constraint editor GUI to be helpful.

# clocks
create_clock -name {clk_20} [get_ports {clock}] -period 20
# inputs/output delays
set_input_delay  -clock {c:clk_20} -add_delay [expr {20*0.01}] [all_inputs]
set_output_delay -clock {c:clk_20} -add_delay [expr {20*0.01}] [all_outputs]
@edcote
edcote / IPexpress.md
Last active April 9, 2018 16:48
Lattice IPexpress

DDR3 SDRAM Controller

  1. Click IP server, wait until list of IP modules load
  2. Select version 3.1, right click install, install under /mnt/raid/ip/ecp3/
  3. Configure and select project path as src/main/resources/ecp3, file name = ip_ddr3_sdram, device = LFE3-35EA-8FN484C

DRAM part numbering guide

Datasheet