@@ -135,11 +135,11 @@ provide a standard mapping for the ```PipeCon```, the ```PipeConRV```:
135135 * CPU interface to two ready/valid channels (one for transmit/tx, one for receive/rx).
136136 * IO mapping as in the classic PC serial port (UART)
137137 * 0: status (control): bit 0 tx ready, bit 1 rx data available
138- * 1 : write into txd and read from rxd
138+ * 4 : write into txd and read from rxd
139139
140140Additionally, for the S4NOC we provide following port:
141141
142- * 2 : write receiver, read sender (S4NOC specific)
142+ * 8 : write receiver, read sender (S4NOC specific)
143143
144144
145145
@@ -193,7 +193,7 @@ To analyze memory issues (e.g., increase the heap size with Xmx) use a ```.sbtop
193193## TODO
194194
195195 * [x] Use and document the PipeCon, direction from slave
196- * Or stick to the CpuInterface as it is and rename it
196+ * [ ] Use a better name for the PipeCon interface (not io)
197197 * [ ] Wrapper for OCP (in Patmos)
198198 * [ ] Integrate a simple multicore device with T-CREST
199199 * A multicore "Hello World"
@@ -221,7 +221,7 @@ class S4nocOCPWrapper(nrCores: Int, txFifo: Int, rxFifo: Int) extends CmpDevice(
221221 OcpResp .DVA , OcpResp .NULL )
222222
223223 // addresses are in words
224- s4noc.io.cpuPorts(i).addr := io.cores(i).M .Addr >> 2
224+ s4noc.io.cpuPorts(i).addr := io.cores(i).M .Addr
225225 s4noc.io.cpuPorts(i).wrData := io.cores(i).M .Data
226226 s4noc.io.cpuPorts(i).wr := io.cores(i).M .Cmd === OcpCmd .WR
227227 s4noc.io.cpuPorts(i).rd := io.cores(i).M .Cmd === OcpCmd .RD
0 commit comments