This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# This file is Copyright (c) 2020 Florent Kermarrec <[email protected]> | |
# 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: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- 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 |