diplomacy: define only primary node types
This commit is contained in:
1 parent
eeb11a2693
commit
7cf5d4aa90
7 files changed
+14
-16
No files matched your search
@@ -7,6 +7,8 @@ import freechips.rocketchip.config.Parameters
|
||||
|
||||
package object diplomacy
|
||||
{
|
||||
type SimpleNodeHandle[D, U, B <: Chisel.Data] = NodeHandle[D, U, B, D, U, B]
|
||||
|
||||
def sourceLine(sourceInfo: SourceInfo, prefix: String = " (", suffix: String = ")") = sourceInfo match {
|
||||
case SourceLine(filename, line, col) => s"$prefix$filename:$line:$col$suffix"
|
||||
case _ => ""
|
||||
|
||||
Reference in new issue
Block a user