Skip to content

Instantly share code, notes, and snippets.

View GuzTech's full-sized avatar

GuzTech

View GitHub Profile
@GuzTech
GuzTech / Example1.hs
Last active March 23, 2018 15:04
First stack implementation in Clash (
-- Check out https://bitlog.it for the blog post
-- in which we create this file.
module Example1 where
import CLaSH.Prelude
counter val = val + 1
counter2 val = adder val 1
counter3 val enable = o
@GuzTech
GuzTech / colorlight_5a_75b.py
Created March 30, 2020 21:58
Modified the original so that both UART and SDRAM now work.
#!/usr/bin/env python3
# This file is Copyright (c) 2020 Florent Kermarrec <florent@enjoy-digital.fr>
# License: BSD
# Disclaimer: This SoC is still a Proof of Concept with large timings violations on the IP/UDP and
# Etherbone stack that need to be optimized. It was initially just used to validate the reversed
# pinout but happens to work on hardware...
# Build/Use: