@@ -226,9 +226,9 @@ object SRAM {
226
226
*
227
227
* @param size The desired size of the inner `SyncReadMem`
228
228
* @tparam T The data type of the memory element
229
- * @param numReadPorts The number of desired read ports >= 0, and (numReadPorts + numReadwritePorts) > 0
230
- * @param numWritePorts The number of desired write ports >= 0, and (numWritePorts + numReadwritePorts) > 0
231
- * @param numReadwritePorts The number of desired read/ write ports >= 0, and the above two conditions must hold
229
+ * @param readPortClocks A sequence of clocks for each read port; and (numReadPorts + numReadwritePorts) > 0
230
+ * @param writePortClocks A sequence of clocks for each write port; and (numWritePorts + numReadwritePorts) > 0
231
+ * @param readwritePortClocks A sequence of clocks for each read- write port; and the above two conditions must hold
232
232
*
233
233
* @return A new `SRAMInterface` wire containing the control signals for each instantiated port
234
234
* @note This does *not* return the `SyncReadMem` itself, you must interact with it using the returned bundle
@@ -261,9 +261,9 @@ object SRAM {
261
261
*
262
262
* @param size The desired size of the inner `SyncReadMem`
263
263
* @tparam T The data type of the memory element
264
- * @param numReadPorts The number of desired read ports >= 0, and (numReadPorts + numReadwritePorts) > 0
265
- * @param numWritePorts The number of desired write ports >= 0, and (numWritePorts + numReadwritePorts) > 0
266
- * @param numReadwritePorts The number of desired read/ write ports >= 0, and the above two conditions must hold
264
+ * @param readPortClocks A sequence of clocks for each read port; and (numReadPorts + numReadwritePorts) > 0
265
+ * @param writePortClocks A sequence of clocks for each write port; and (numWritePorts + numReadwritePorts) > 0
266
+ * @param readwritePortClocks A sequence of clocks for each read- write port; and the above two conditions must hold
267
267
* @param memoryFile A memory file whose path is emitted as Verilog directives to initialize the inner `SyncReadMem`
268
268
*
269
269
* @return A new `SRAMInterface` wire containing the control signals for each instantiated port
0 commit comments