Skip to content

Instantly share code, notes, and snippets.


Edmond Cote edcote

View GitHub Profile


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 /
Last active Jan 12, 2018
Rocket Boot
edcote /
Last active Jan 19, 2018
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


Dot Files


  • 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 /
Created Mar 20, 2018
.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

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 /
Last active Apr 9, 2018
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


You can’t perform that action at this time.