Last active
December 11, 2016 16:34
-
-
Save nyuichi/be6a7ec6f978a632c840 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
import Chisel._ | |
class SdramController extends Module { | |
val io = new Bundle { | |
val a = Bits(OUTPUT, 13) | |
} | |
io.a := UInt(0) | |
io.a(10) := Bool(true) | |
} | |
object SdramController { | |
def main(args: Array[String]) { | |
chiselMainTest (args, () => Module(new SdramController())) { c => new Tester(c){} } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment