You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: svsim/src/main/scala/Workspace.scala
+6-7
Original file line number
Diff line number
Diff line change
@@ -50,9 +50,7 @@ final class Workspace(
50
50
else
51
51
s"${System.getProperty("user.dir")}/$path"
52
52
53
-
/** A directory where the user can store additional artifacts which are relevant to the primary sources (for instance,
54
-
* artifacts related to the generation of primary sources). These artifacts have no impact on the simulation, but it
55
-
* may be useful to group them with the other files generated by svsim for debugging purposes.
53
+
/** A directory where the user can store additional artifacts which are relevant to the primary sources (for instance, artifacts related to the generation of primary sources). These artifacts have no impact on the simulation, but it may be useful to group them with the other files generated by svsim for debugging purposes. artifacts related to the generation of primary sources). These artifacts have no impact on the simulation, but it may be useful to group them with the other files generated by svsim for debugging purposes.
/** `svsim` elaboration simply stores the provided `ModuleInfo` for use by the `compile` method.
106
-
* The idea is that packages that actually do elaboration (like Chisel) will add an overload of
107
-
* this method in an implicit class that then calls this method with the appropriate `ModuleInfo`.
103
+
/** `svsim` elaboration simply stores the provided `ModuleInfo` for use by the `compile` method. The idea is that packages that actually do elaboration (like Chisel) will add an overload of this method in an implicit class that then calls this method with the appropriate `ModuleInfo`.
108
104
*/
109
105
defelaborate(moduleInfo: ModuleInfo) = {
110
-
assert(_moduleInfo.isEmpty, "moduleInfo has already been set")
106
+
assert(_moduleInfo.isEmpty)
111
107
_moduleInfo =Some(moduleInfo)
112
108
}
113
109
@@ -333,6 +329,9 @@ final class Workspace(
333
329
}
334
330
//format: on
335
331
332
+
/** Shallow copy the sources from this workspace to a new one. Primary sources are symlinked to the
0 commit comments