{"action":"created","issue":{"url":"https://api.github.com/repos/bu-icsg/dana/issues/48","repository_url":"https://api.github.com/repos/bu-icsg/dana","labels_url":"https://api.github.com/repos/bu-icsg/dana/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/bu-icsg/dana/issues/48/comments","events_url":"https://api.github.com/repos/bu-icsg/dana/issues/48/events","html_url":"https://github.com/bu-icsg/dana/issues/48","id":280834919,"number":48,"title":"Compilation error with dana emulator","user":{"login":"kevinyuan","id":231197,"avatar_url":"https://avatars1.githubusercontent.com/u/231197?v=4","gravatar_id":"","url":"https://api.github.com/users/kevinyuan","html_url":"https://github.com/kevinyuan","followers_url":"https://api.github.com/users/kevinyuan/followers","following_url":"https://api.github.com/users/kevinyuan/following{/other_user}","gists_url":"https://api.github.com/users/kevinyuan/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinyuan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinyuan/subscriptions","organizations_url":"https://api.github.com/users/kevinyuan/orgs","repos_url":"https://api.github.com/users/kevinyuan/repos","events_url":"https://api.github.com/users/kevinyuan/events{/privacy}","received_events_url":"https://api.github.com/users/kevinyuan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-12-10T19:09:57Z","updated_at":"2017-12-11T17:52:50Z","closed_at":null,"author_association":"NONE","body":"Dear DANA team,\r\n\r\nI encountered a compilation error with dana, and can't find any clue from google.\r\n\r\nCan you help me out?\r\n\r\nThe following are my environment information, cmd to compile dana emulator, and the screen ouput.\r\n\r\nLet me know if any other information is required.\r\n\r\nThanks and regards.\r\n\r\n-----\r\nOS X 10.12.3\r\njava version \"1.8.0_152\"\r\n\r\n------  cmd --------\r\n\r\nmake CONFIG=DanaEmulatorConfig ROCKETCHIP_ADDONS=dana\r\n\r\n-------- screen log -----\r\n\r\n[info] Compiling 266 Scala sources to /Users/kevinyuan/works/dana/rocket-chip/target/scala-2.11/classes...\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/ActivationFunction.scala:8: not found: object cde\r\n[error] import cde._\r\n[error]        ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/Dana.scala:10: not found: object cde\r\n[error] import cde._\r\n[error]        ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/xfiles/XFiles.scala:9: not found: object cde\r\n[error] import cde._\r\n[error]        ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/xfiles/XFiles.scala:11: object util is not a member of package <root>\r\n[error] import _root_.util.ParameterizedBundle\r\n[error]               ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/xfiles/XFiles.scala:83: not found: type ParameterizedBundle\r\n[error]     extends ParameterizedBundle()(p) with HasCoreParameters\r\n[error]             ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/xfiles/XFiles.scala:8: not found: object rocket\r\n[error] import rocket.{RoCC, HasCoreParameters, CoreModule, CoreBundle}\r\n[error]        ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/xfiles/XFiles.scala:83: not found: type HasCoreParameters\r\n[error]     extends ParameterizedBundle()(p) with HasCoreParameters\r\n[error]                                           ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/ActivationFunction.scala:12: not found: type Parameters\r\n[error] class ActivationFunctionReq(implicit p: Parameters) extends DanaBundle()(p) {\r\n[error]                                         ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/Dana.scala:220: not found: type Parameters\r\n[error] abstract class DanaBundle(implicit p: Parameters) extends XFilesBundle()(p)\r\n[error]                                       ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/Dana.scala:32: not found: type Parameters\r\n[error]   implicit val p: Parameters\r\n[error]                   ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/xfiles/XFiles.scala:82: not found: type Parameters\r\n[error] abstract class XFilesBundle(implicit val p: Parameters)\r\n[error]                                             ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/xfiles/XFiles.scala:49: not found: type Parameters\r\n[error]   implicit val p: Parameters\r\n[error]                   ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/ActivationFunction.scala:21: not found: type Parameters\r\n[error] class ActivationFunctionReqLearn(implicit p: Parameters)\r\n[error]                                              ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/abi/Encodings.scala:6: not found: object cde\r\n[error] import cde.{Parameters, Field}\r\n[error]        ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/abi/Encodings.scala:11: not found: type Field\r\n[error] case object GlobalInfo extends Field[GlobalInfo_t]\r\n[error]                                ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/ActivationFunction.scala:24: overloaded method value p with alternatives:\r\n[error]   <error> <and>\r\n[error]   => <error>\r\n[error]  cannot be applied to (dana.abi.GlobalInfo.type)\r\n[error]   val errorFunction      = UInt(p(GlobalInfo).error_function.W)\r\n[error]                                 ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/ActivationFunction.scala:27: not found: type Parameters\r\n[error] class ActivationFunctionResp(implicit p: Parameters) extends DanaBundle()(p) {\r\n[error]                                          ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/ActivationFunction.scala:31: not found: type Parameters\r\n[error] class ActivationFunctionInterface(implicit p: Parameters) extends DanaBundle()(p) {\r\n[error]                                               ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/ActivationFunction.scala:36: not found: type Parameters\r\n[error] class ActivationFunctionInterfaceLearn(implicit p: Parameters)\r\n[error]                                                    ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/xfiles/XFiles.scala:124: not found: type CoreModule\r\n[error] abstract class XFilesModule(implicit p: Parameters) extends CoreModule()(p)\r\n[error]                                                             ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/ActivationFunction.scala:41: not found: type Parameters\r\n[error] class DSP(implicit p: Parameters) extends DanaModule()(p) {\r\n[error]                       ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/Dana.scala:115: not found: type Parameters\r\n[error] abstract class DanaModule(implicit p: Parameters) extends XFilesModule()(p)\r\n[error]                                       ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/ActivationFunction.scala:42: not found: value IO\r\n[error]   val io = IO(new Bundle {\r\n[error]            ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/ActivationFunction.scala:51: not found: type Parameters\r\n[error] class ActivationFunction(id: Int = 0)(implicit p: Parameters) extends DanaModule()(p) {\r\n[error]                                                   ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/ActivationFunction.scala:243: not found: type Parameters\r\n[error] class ActivationFunctionLearn(id: Int = 0)(implicit p: Parameters)\r\n[error]                                                        ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/AsidNnidTableWalker.scala:8: not found: object rocket\r\n[error] import rocket.{HellaCacheReq, MT_D}\r\n[error]        ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/AsidNnidTableWalker.scala:9: not found: object uncore\r\n[error] import uncore.tilelink.{HasTileLinkParameters, ClientUncachedTileLinkIO, Get,\r\n[error]        ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/AsidNnidTableWalker.scala:11: not found: object uncore\r\n[error] import uncore.util._\r\n[error]        ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/AsidNnidTableWalker.scala:12: not found: object uncore\r\n[error] import uncore.agents.{CacheBlockBytes}\r\n[error]        ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/AsidNnidTableWalker.scala:13: not found: object cde\r\n[error] import cde._\r\n[error]        ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/AsidNnidTableWalker.scala:34: not found: type Parameters\r\n[error] class ANTWXFilesInterface(implicit p: Parameters) extends DanaBundle()(p) {\r\n[error]                                       ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/AsidNnidTableWalker.scala:35: not found: type ClientUncachedTileLinkIO\r\n[error]   val autl      = new ClientUncachedTileLinkIO()(p)\r\n[error]                       ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/AsidNnidTableWalker.scala:38: not found: type Parameters\r\n[error] class AsidNnidTableWalkerInterface(implicit p: Parameters) extends DanaStatusIO()(p) {\r\n[error]                                                ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/Dana.scala:287: not found: type Parameters\r\n[error] class DanaStatusIO(implicit p: Parameters) extends DanaBundle()(p) {\r\n[error]                                ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/Cache.scala:8: not found: object cde\r\n[error] import cde._\r\n[error]        ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/Cache.scala:63: not found: type Parameters\r\n[error] class CacheAntwInterface(implicit p: Parameters) extends DanaBundle()(p) {\r\n[error]                                      ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/AsidNnidTableWalker.scala:43: not found: type Parameters\r\n[error] class HellaCacheReqWithCore(implicit p: Parameters) extends DanaBundle()(p) {\r\n[error]                                         ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/AsidNnidTableWalker.scala:44: not found: type HellaCacheReq\r\n[error]   val req       = new HellaCacheReq()(p)\r\n[error]                       ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/AsidNnidTableWalker.scala:48: not found: type HasTileLinkParameters\r\n[error]     with HasTileLinkParameters {\r\n[error]          ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/AsidNnidTableWalker.scala:47: not found: type Parameters\r\n[error] class ConfigRobEntry(implicit p: Parameters) extends DanaBundle()(p)\r\n[error]                                  ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/AsidNnidTableWalker.scala:50: not found: value tlDataBits\r\n[error]   val data      = Vec(bitsPerBlock / tlDataBits, UInt(tlDataBits.W))\r\n[error]                                                       ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/AsidNnidTableWalker.scala:54: not found: type HasTileLinkParameters\r\n[error]     with XFilesSupervisorRequests with HasTileLinkParameters\r\n[error]                                        ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/AsidNnidTableWalker.scala:53: not found: type Parameters\r\n[error] class AsidNnidTableWalker(implicit p: Parameters) extends DanaModule()(p)\r\n[error]                                       ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/AsidNnidTableWalker.scala:57: not found: value IO\r\n[error]   val io = IO(new AsidNnidTableWalkerInterface)\r\n[error]            ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/Dana.scala:19: not found: type Field\r\n[error] case object CacheSizeBytes extends Field[Int]\r\n[error]                                    ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/AsidNnidTableWalker.scala:66: overloaded method value p with alternatives:\r\n[error]   <error> <and>\r\n[error]   => <error>\r\n[error]  cannot be applied to (dana.CacheSizeBytes.type)\r\n[error]   val configReqCount = Reg(UInt((log2Up(p(CacheSizeBytes) * 8 / xLen)).W))\r\n[error]                                         ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/AsidNnidTableWalker.scala:66: not found: value xLen\r\n[error]   val configReqCount = Reg(UInt((log2Up(p(CacheSizeBytes) * 8 / xLen)).W))\r\n[error]                                                                 ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/Cache.scala:38: not found: type Parameters\r\n[error] class CacheAntwReq(implicit p: Parameters) extends DanaBundle()(p) {\r\n[error]                                ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/AsidNnidTableWalker.scala:93: not found: value xLen\r\n[error]   val interruptCode = Reg(init = 0.U(xLen.W))\r\n[error]                                      ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/AsidNnidTableWalker.scala:98: not found: value tlBeatAddrBits\r\n[error]   val autlBlockOffset = tlBeatAddrBits + tlByteAddrBits\r\n[error]                         ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/AsidNnidTableWalker.scala:98: not found: value tlByteAddrBits\r\n[error]   val autlBlockOffset = tlBeatAddrBits + tlByteAddrBits\r\n[error]                                          ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/AsidNnidTableWalker.scala:99: not found: value xLen\r\n[error]   val autlAddr = Wire(UInt(xLen.W))\r\n[error]                            ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/AsidNnidTableWalker.scala:103: not found: value Get\r\n[error]   val get = Get(client_xact_id = 0.U,\r\n[error]             ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/AsidNnidTableWalker.scala:103: not found: value client_xact_id\r\n[error]   val get = Get(client_xact_id = 0.U,\r\n[error]                 ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/AsidNnidTableWalker.scala:107: not found: value operand_size\r\n[error]       operand_size = MT_D,\r\n[error]       ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/AsidNnidTableWalker.scala:108: not found: value alloc\r\n[error]       alloc = false.B)\r\n[error]       ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/AsidNnidTableWalker.scala:109: not found: value GetBlock\r\n[error]   val getBlock = GetBlock(addr_block = addr_block, alloc = false.B)\r\n[error]                  ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/AsidNnidTableWalker.scala:109: not found: value alloc\r\n[error]   val getBlock = GetBlock(addr_block = addr_block, alloc = false.B)\r\n[error]                                                    ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/AsidNnidTableWalker.scala:110: not found: value tlDataBits\r\n[error]   val putData = Wire(UInt(tlDataBits.W))\r\n[error]                           ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/AsidNnidTableWalker.scala:111: not found: value PutBlock\r\n[error]   val putBlock = PutBlock(client_xact_id = 0.U,\r\n[error]                  ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/AsidNnidTableWalker.scala:111: not found: value client_xact_id\r\n[error]   val putBlock = PutBlock(client_xact_id = 0.U,\r\n[error]                           ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/AsidNnidTableWalker.scala:114: not found: value data\r\n[error]     data = putData)\r\n[error]     ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/AsidNnidTableWalker.scala:119: not found: value xLen\r\n[error]   val autlAddr_d = Reg(UInt(xLen.W))\r\n[error]                             ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/AsidNnidTableWalker.scala:120: not found: value tlDataBits\r\n[error]   val autlAddrWord_d = tlDataBits compare xLen match {\r\n[error]                        ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/AsidNnidTableWalker.scala:120: not found: value xLen\r\n[error]   val autlAddrWord_d = tlDataBits compare xLen match {\r\n[error]                                           ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/AsidNnidTableWalker.scala:125: not found: value tlDataBits\r\n[error]   val autlDataGetVec = Wire(Vec(tlDataBits / xLen, UInt(xLen.W)))\r\n[error]                                 ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/AsidNnidTableWalker.scala:125: not found: value xLen\r\n[error]   val autlDataGetVec = Wire(Vec(tlDataBits / xLen, UInt(xLen.W)))\r\n[error]                                              ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/AsidNnidTableWalker.scala:125: not found: value xLen\r\n[error]   val autlDataGetVec = Wire(Vec(tlDataBits / xLen, UInt(xLen.W)))\r\n[error]                                                         ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/AsidNnidTableWalker.scala:167: value valid is not a member of Any\r\n[error]     loadRob.valid map (x => x := false.B)\r\n[error]             ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/AsidNnidTableWalker.scala:217: not found: value CacheBlockBytes\r\n[error]       addr(log2Up(p(CacheBlockBytes)) - 1, 0) === 0.U }\r\n[error]                     ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/AsidNnidTableWalker.scala:246: not found: value tlByteAddrBits\r\n[error]     case 1 => addr(tlByteAddrBits + log2Up(bitsPerBlock/tlDataBits) - 1,\r\n[error]                    ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/AsidNnidTableWalker.scala:247: not found: value tlByteAddrBits\r\n[error]       tlByteAddrBits)\r\n[error]       ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/AsidNnidTableWalker.scala:256: value data is not a member of Any\r\n[error]     loadRob.data(beatOffset) := gnt.bits.data\r\n[error]             ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/AsidNnidTableWalker.scala:257: value valid is not a member of Any\r\n[error]     loadRob.valid(beatOffset) := true.B\r\n[error]             ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/xfiles/XFiles.scala:18: not found: type Field\r\n[error] case object EnablePrintfs extends Field[Boolean]\r\n[error]                                   ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/AsidNnidTableWalker.scala:259: overloaded method value p with alternatives:\r\n[error]   <error> <and>\r\n[error]   => <error>\r\n[error]  cannot be applied to (xfiles.EnablePrintfs.type)\r\n[error]     if (p(EnablePrintfs)) {\r\n[error]         ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/AsidNnidTableWalker.scala:263: not found: value tlByteAddrBits\r\n[error]         (tlByteAddrBits + log2Up(beatsPerResp) - 1).U, tlByteAddrBits.U,\r\n[error]          ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/AsidNnidTableWalker.scala:263: not found: value tlByteAddrBits\r\n[error]         (tlByteAddrBits + log2Up(beatsPerResp) - 1).U, tlByteAddrBits.U,\r\n[error]                                                        ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/xfiles/XFiles.scala:19: not found: type Field\r\n[error] case object EnableAsserts extends Field[Boolean]\r\n[error]                                   ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/AsidNnidTableWalker.scala:265: overloaded method value p with alternatives:\r\n[error]   <error> <and>\r\n[error]   => <error>\r\n[error]  cannot be applied to (xfiles.EnableAsserts.type)\r\n[error]     if (p(EnableAsserts)) {\r\n[error]         ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/AsidNnidTableWalker.scala:266: value valid is not a member of Any\r\n[error]       assert(!(loadRob.valid(beatOffset) & !io.cache.load.valid),\r\n[error]                        ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/AsidNnidTableWalker.scala:278: value valid is not a member of Any\r\n[error]   when (loadRob.valid.asUInt.andR) {\r\n[error]                 ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/AsidNnidTableWalker.scala:284: value valid is not a member of Any\r\n[error]     loadRob.valid.map(_ := false.B)\r\n[error]             ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/AsidNnidTableWalker.scala:310: value data is not a member of Any\r\n[error]     storeRob.data.size)\r\n[error]              ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/AsidNnidTableWalker.scala:312: not found: value tlDataBeats\r\n[error]     tlDataBeats)\r\n[error]     ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/AsidNnidTableWalker.scala:320: value valid is not a member of Any\r\n[error]     val dataReady = storeRob.valid.asUInt.orR\r\n[error]                              ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/AsidNnidTableWalker.scala:330: value valid is not a member of Any\r\n[error]         storeRob.valid map (_ := true.B)\r\n[error]                  ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/AsidNnidTableWalker.scala:331: value data is not a member of Any\r\n[error]         storeRob.data := (storeRob.data.cloneType).fromBits(io.cache.store.resp.bits)\r\n[error]                  ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/AsidNnidTableWalker.scala:331: value data is not a member of Any\r\n[error]         storeRob.data := (storeRob.data.cloneType).fromBits(io.cache.store.resp.bits)\r\n[error]                                    ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/AsidNnidTableWalker.scala:339: type mismatch;\r\n[error]  found   : Any\r\n[error]  required: chisel3.core.Bool\r\n[error]     when (put_sent) { gntWait := true.B }\r\n[error]           ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/AsidNnidTableWalker.scala:349: value valid is not a member of Any\r\n[error]     when (acq.fire()) { storeRob.valid(rob_index) := false.B\r\n[error]                                  ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/AsidNnidTableWalker.scala:351: not found: value tlByteAddrBits\r\n[error]       configPointer := configPointer + (1.U << tlByteAddrBits)\r\n[error]                                                ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/AsidNnidTableWalker.scala:378: not found: value reset\r\n[error]   when (reset) {\r\n[error]         ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/AsidNnidTableWalker.scala:379: value valid is not a member of Any\r\n[error]     loadRob.valid map (_ := false.B)\r\n[error]             ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/AsidNnidTableWalker.scala:380: value valid is not a member of Any\r\n[error]     storeRob.valid map (_ := false.B) }\r\n[error]              ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/AsidNnidTableWalker.scala:406: value valid is not a member of Any\r\n[error]     when (loadRob.valid.asUInt.andR) {\r\n[error]                   ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/AsidNnidTableWalker.scala:408: value data is not a member of Any\r\n[error]         cacheIdx, done, cacheAddr, loadRob.data.asUInt)\r\n[error]                                            ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/AsidNnidTableWalker.scala:439: not found: type Parameters\r\n[error]   def apply()(implicit p: Parameters): AsidNnidTableWalker =\r\n[error]                           ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/CSRs.scala:7: not found: object cde\r\n[error] import cde._\r\n[error]        ^\r\n[error] /Users/kevinyuan/works/dana/rocket-chip/dana/src/main/scala/dana/CSRs.scala:37: not found: type Parameters\r\n[error]   class FenceCSR(implicit p: Parameters) extends DanaBundle()(p) {\r\n[error]                              ^\r\n[error] 562 errors found\r\n[error] (rocketchip/compile:compileIncremental) Compilation failed\r\n[error] Total time: 113 s, completed 2017-12-11 2:40:37\r\nmake: *** [/Users/kevinyuan/works/dana/rocket-chip/emulator/generated-src/freechips.rocketchip.system.DanaEmulatorConfig.fir] Error 1\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/bu-icsg/dana/issues/comments/350803252","html_url":"https://github.com/bu-icsg/dana/issues/48#issuecomment-350803252","issue_url":"https://api.github.com/repos/bu-icsg/dana/issues/48","id":350803252,"user":{"login":"kevinyuan","id":231197,"avatar_url":"https://avatars1.githubusercontent.com/u/231197?v=4","gravatar_id":"","url":"https://api.github.com/users/kevinyuan","html_url":"https://github.com/kevinyuan","followers_url":"https://api.github.com/users/kevinyuan/followers","following_url":"https://api.github.com/users/kevinyuan/following{/other_user}","gists_url":"https://api.github.com/users/kevinyuan/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinyuan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinyuan/subscriptions","organizations_url":"https://api.github.com/users/kevinyuan/orgs","repos_url":"https://api.github.com/users/kevinyuan/repos","events_url":"https://api.github.com/users/kevinyuan/events{/privacy}","received_events_url":"https://api.github.com/users/kevinyuan/received_events","type":"User","site_admin":false},"created_at":"2017-12-11T17:52:50Z","updated_at":"2017-12-11T17:52:50Z","author_association":"NONE","body":"Hi seldrige,\r\n\r\nNow I restart the flow by following https://github.com/bu-icsg/dana#tldr-setup, but another compile error occurs.\r\n\r\nWould you kindly help to to check how to resolve it ?\r\n\r\n---- cmd ---\r\ncd $fpga_zynq_dir/rocket-chip/emulator\r\nmake ROCKETCHIP_ADDONS=dana CONFIG=DanaEmulatorConfig\r\n\r\n---- log ---\r\nmkdir -p /Users/kevinyuan/works/risc-v/zynq/rocket-chip/emulator/generated-src/\r\ncd /Users/kevinyuan/works/risc-v/zynq/rocket-chip && java -Xmx2G -Xss8M -XX:MaxPermSize=256M -jar /Users/kevinyuan/works/risc-v/zynq/rocket-chip/sbt-launch.jar \"run-\r\nmain rocketchip.Generator /Users/kevinyuan/works/risc-v/zynq/rocket-chip/emulator/generated-src rocketchip TestHarness rocketchip DanaEmulatorConfig\"\r\nJava HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256M; support was removed in 8.0\r\n[info] Loading project definition from /Users/kevinyuan/works/risc-v/zynq/rocket-chip/project\r\nUsing addons: dana\r\n[info] Set current project to rocketchip (in build file:/Users/kevinyuan/works/risc-v/zynq/rocket-chip/)\r\n[info] Updating {file:/Users/kevinyuan/works/risc-v/zynq/rocket-chip/}coreMacros...\r\n[info] Resolving edu.berkeley.cs#firrtl_2.11;1.1-SNAPSHOT ...\r\n[warn]  module not found: edu.berkeley.cs#firrtl_2.11;1.1-SNAPSHOT\r\n[warn] ==== local: tried\r\n[warn]   /Users/kevinyuan/.ivy2/local/edu.berkeley.cs/firrtl_2.11/1.1-SNAPSHOT/ivys/ivy.xml\r\n[warn] ==== public: tried\r\n[warn]   https://repo1.maven.org/maven2/edu/berkeley/cs/firrtl_2.11/1.1-SNAPSHOT/firrtl_2.11-1.1-SNAPSHOT.pom\r\n[info] Resolving jline#jline;2.12.1 ...\r\n[warn]  ::::::::::::::::::::::::::::::::::::::::::::::\r\n[warn]  ::          UNRESOLVED DEPENDENCIES         ::\r\n[warn]  ::::::::::::::::::::::::::::::::::::::::::::::\r\n[warn]  :: edu.berkeley.cs#firrtl_2.11;1.1-SNAPSHOT: not found\r\n[warn]  ::::::::::::::::::::::::::::::::::::::::::::::\r\n[warn][warn]  Note: Unresolved dependencies path:[warn]          edu.berkeley.cs:firrtl_2.11:1.1-SNAPSHOT[warn]            +- edu.berkeley.cs:coremacros_2.11:3.1-SNAPSHOT\r\nsbt.ResolveException: unresolved dependency: edu.berkeley.cs#firrtl_2.11;1.1-SNAPSHOT: not found\r\n        at sbt.IvyActions$.sbt$IvyActions$$resolve(IvyActions.scala:313)\r\n        at sbt.IvyActions$$anonfun$updateEither$1.apply(IvyActions.scala:191)\r\n        at sbt.IvyActions$$anonfun$updateEither$1.apply(IvyActions.scala:168)\r\n        at sbt.IvySbt$Module$$anonfun$withModule$1.apply(Ivy.scala:156)\r\n        at sbt.IvySbt$Module$$anonfun$withModule$1.apply(Ivy.scala:156)\r\n        at sbt.IvySbt$$anonfun$withIvy$1.apply(Ivy.scala:133)\r\n        at sbt.IvySbt.sbt$IvySbt$$action$1(Ivy.scala:57) \r\n        at sbt.IvySbt$$anon$4.call(Ivy.scala:65)\r\n        at xsbt.boot.Locks$GlobalLock.withChannel$1(Locks.scala:93)\r\n        at xsbt.boot.Locks$GlobalLock.xsbt$boot$Locks$GlobalLock$$withChannelRetries$1(Locks.scala:78)\r\n        at xsbt.boot.Locks$GlobalLock$$anonfun$withFileLock$1.apply(Locks.scala:97)\r\n        at xsbt.boot.Using$.withResource(Using.scala:10) \r\n        at xsbt.boot.Using$.apply(Using.scala:9)\r\n        at xsbt.boot.Locks$GlobalLock.ignoringDeadlockAvoided(Locks.scala:58)\r\n[error] (coreMacros/*:update) sbt.ResolveException: unresolved dependency: edu.berkeley.cs#firrtl_2.11;1.1-SNAPSHOT: not found\r\n[error] Total time: 3 s, completed 2017-12-12 1:34:42\r\nmake: ***\r\n[/Users/kevinyuan/works/risc-v/zynq/rocket-chip/emulator/generated-src/rocketchip.DanaEmulatorConfig.prm] Error 1\r\n\r\n                                                                                                                             \r\n\r\n"}}
{"actor":{"display_login":"kevinyuan"}}