From 980778b1874b93b7e2778eb0c8f666f9691176f1 Mon Sep 17 00:00:00 2001 From: Jack Koenig Date: Wed, 20 Jun 2018 17:09:48 -0700 Subject: Programmatic Port Creation (#833) Add chisel3.experimental.IO for programmatic port creation in Raw and MultiIOModules. suggestName is required to name ports that cannot be named by reflection. Two ports cannot be given the same name.--- src/main/scala/chisel3/package.scala | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/main') diff --git a/src/main/scala/chisel3/package.scala b/src/main/scala/chisel3/package.scala index b3a9f54b..5f0e31de 100644 --- a/src/main/scala/chisel3/package.scala +++ b/src/main/scala/chisel3/package.scala @@ -426,6 +426,8 @@ package object chisel3 { // scalastyle:ignore package.object.name type RawModule = chisel3.core.UserModule type ExtModule = chisel3.core.ExtModule + val IO = chisel3.core.IO + // Implicit conversions for BlackBox Parameters implicit def fromIntToIntParam(x: Int): IntParam = IntParam(BigInt(x)) implicit def fromLongToIntParam(x: Long): IntParam = IntParam(BigInt(x)) -- cgit v1.2.3