Skip to content

Instantly share code, notes, and snippets.

library ieee;
use ieee.std_logic_1164.all;
use ieee.numeric_std.all;
entity flash_reader is
port (
CLK : in std_logic; -- 50 Mhz onboard clock
RST : in std_logic;
LEDS : out std_logic_vector(7 downto 0);
@mrnoda
mrnoda / timer.py
Created May 3, 2015 23:20
Python version of a simple timer
import time
import signal
import sys
start = time.time()
def sigint_handler(signal, frame):
duration = time.gmtime(time.time() - start)
sys.stdout.write(time.strftime('%H:%M:%S', duration) + '\n')
error: redefinition of 'std::vector<unsigned char> resources::texture'