Skip to content

Instantly share code, notes, and snippets.

@LarsWerkman
LarsWerkman / fifo.v
Last active Dec 29, 2018
RGB pixels to FIFO
View fifo.v
/*
* This is a 2 clock fifo used for transferring data between
* clock domains.
*
* I assume here that the output (read) clock is >5X slower than the
* input (write) clock.
*
* Also, the fifo is just 1 word deep.
*
* Changes
@LarsWerkman
LarsWerkman / Main.java
Created Feb 11, 2013
A sample application which shows what the HoloColorPicker library can do.
View Main.java
public class Main extends Activity implements OnColorChangedListener {
private ColorPicker picker;
private SVBar svBar;
private OpacityBar opacityBar;
private Button button;
private TextView text;
@Override
protected void onCreate(Bundle savedInstanceState) {
You can’t perform that action at this time.