Skip to content

Instantly share code, notes, and snippets.

@chriswk
Created November 12, 2013 08:46
Show Gist options
  • Save chriswk/7427624 to your computer and use it in GitHub Desktop.
Save chriswk/7427624 to your computer and use it in GitHub Desktop.
def buildOutput(controlCount: Int) = {
val f = Math.pow(2, controlCount).toInt
(1 to f).map(x => new Wire).toList
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment