Created
November 30, 2017 19:57
-
-
Save bgamari/94cf12785f520f35809b7dc33d0a0cf3 to your computer and use it in GitHub Desktop.
This file contains 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
module Hello where | |
import Clash.Prelude | |
{-# ANN maybeTest (defTop { t_name = "test" | |
, t_inputs = [PortName "hi"] | |
, t_output = PortName "out"}) #-} | |
maybeTest :: Signal clk (Unsigned 32) -> Signal clk (Unsigned 16) -> Signal clk (Unsigned 32) | |
maybeTest x y = x |
Author
bgamari
commented
Nov 30, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment