Skip to content

Instantly share code, notes, and snippets.

@adamwalker
Created January 15, 2016 06:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adamwalker/0b39f86bdb4925e918cf to your computer and use it in GitHub Desktop.
Save adamwalker/0b39f86bdb4925e918cf to your computer and use it in GitHub Desktop.
module Main where
import CLaSH.Prelude
data TestType = TestType {
x :: Unsigned 32,
y :: Unsigned 32
}
topEntity :: Signal (Unsigned 16) -> Signal (Unsigned 16) -> Signal Bool -> Signal TestType -> Signal TestType
topEntity = blockRamPow2 undefined
module Main where
import CLaSH.Prelude
topEntity :: Signal (Unsigned 16) -> Signal (Unsigned 16) -> Signal Bool -> Signal (Unsigned 64) -> Signal (Unsigned 64)
topEntity = blockRamPow2 undefined
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment