1
0
mirror of https://github.com/aolofsson/oh.git synced 2025-01-17 20:02:53 +08:00

859 Commits

Author SHA1 Message Date
Andreas Olofsson
e8678bb395 Adding commong docs directory 2016-02-03 23:14:32 -05:00
Andreas Olofsson
4b48d138be Merge branch 'master' of https://github.com/parallella/oh 2016-02-03 23:13:48 -05:00
Andreas Olofsson
29237f0639 Fixed burst bit location
-turns out chip design was different
-off by one...
2016-02-03 23:11:46 -05:00
Andreas Olofsson
50d2ec8fbf Adding cute logo picture 2016-02-03 23:10:02 -05:00
Andreas Olofsson
f7ad4af2b7 Tweaks to methodology 2016-02-03 23:09:20 -05:00
Andreas Olofsson
ac0b9b02ad Update AUTHORS 2016-02-02 16:10:00 -05:00
Andreas Olofsson
5dc9375ebb Merge pull request #43 from olajep/pr-txcfg-typo
elink: etx_cfg: Fix transmit mode bits typo
2016-01-27 14:50:41 -05:00
Ola Jeppsson
e3c3569a3e elink: etx_cfg: Fix transmit mode bits typo
Signed-off-by: Ola Jeppsson <ola@adapteva.com>
2016-01-27 20:41:18 +01:00
Andreas Olofsson
48e62c244c Cleanup README + old directory 2016-01-24 23:50:17 -05:00
Andreas Olofsson
c8b9de9f42 Adding gpio and spi paths 2016-01-24 23:42:06 -05:00
Andreas Olofsson
cbb2ba0279 Adding SPI module
-Work in progress!
2016-01-24 23:41:18 -05:00
Andreas Olofsson
3c34ba0daa Adding README file for accelerator 2016-01-23 21:48:53 -05:00
Andreas Olofsson
953877433b Issue cleanup 2016-01-23 21:48:32 -05:00
Andreas Olofsson
62263811fe Fixed bugs
-Fixed these Thursday, forgot to commit...
-Nobody said anything, so I guess nobody tried it yet:-)
2016-01-23 21:19:16 -05:00
Andreas Olofsson
ebc011b1c7 Adding gpio circuit
-work in progress
-compiles and read/write to some registers work
2016-01-23 00:09:14 -05:00
Andreas Olofsson
f7f52c3ee9 Fixing broken links 2016-01-21 15:37:08 -05:00
Andreas Olofsson
c3f34d6231 Clarifying the run & modify slide 2016-01-21 14:40:04 -05:00
Andreas Olofsson
20e0e6509c Merge branch 'master' of https://github.com/parallella/oh 2016-01-21 13:16:59 -05:00
Andreas Olofsson
d67f3672d5 Pres tweaks 2016-01-21 13:16:43 -05:00
Andreas Olofsson
f69b8c7b59 Merge pull request #41 from olajep/mailbox-test
Add kernel mailbox interface test
2016-01-21 11:07:46 -06:00
Andreas Olofsson
66f08a22ca Merge branch 'master' of https://github.com/parallella/oh 2016-01-21 11:52:41 -05:00
Andreas Olofsson
562bfc3182 Updated tutorial 2016-01-21 11:51:23 -05:00
Ola Jeppsson
31ffb41247 Add kernel mailbox interface test
Kernel code here, will be included in official 'parallella-linux'
when API:s have stabilized...
https://github.com/olajep/parallella-linux/tree/wip-mailbox

```
Testing blocking wait with interrupts
i: 00 from: 0x00000000 data: 0x00000000
i: 01 from: 0x00000000 data: 0x00000001
i: 02 from: 0x00000000 data: 0x00000002
i: 03 from: 0x00000000 data: 0x00000003
i: 04 from: 0x00000000 data: 0x00000004
i: 05 from: 0x00000000 data: 0x00000005
i: 06 from: 0x00000000 data: 0x00000006
i: 07 from: 0x00000000 data: 0x00000007
i: 08 from: 0x00000000 data: 0x00000008
i: 09 from: 0x00000000 data: 0x00000009
i: 10 from: 0x00000000 data: 0x0000000a
i: 11 from: 0x00000000 data: 0x0000000b
i: 12 from: 0x00000000 data: 0x0000000c
i: 13 from: 0x00000000 data: 0x0000000d
i: 14 from: 0x00000000 data: 0x0000000e
i: 15 from: 0x00000000 data: 0x0000000f

Reading 1000000 messages
received: 1000000       errors: 0       time: 11.65s    rate: 85808
msgs/s
```

Signed-off-by: Ola Jeppsson <ola@adapteva.com>
2016-01-21 16:31:55 +00:00
Andreas Olofsson
80597350e7 Merge branch 'master' of https://github.com/parallella/oh 2016-01-21 15:39:42 +00:00
Andreas Olofsson
9e1c0c198d Adding registers 2016-01-21 15:38:57 +00:00
Andreas Olofsson
333e445c58 Adding tutorial 2016-01-21 09:23:21 -05:00
Andreas Olofsson
ac51816b61 Adding simple accelerator test
-not debugged yet
2016-01-21 07:50:14 -05:00
Andreas Olofsson
0327ca1df3 Merge branch 'master' of https://github.com/parallella/oh 2016-01-20 21:48:06 -05:00
Andreas Olofsson
083e459fb0 Fixing issue with empty ip list 2016-01-20 21:46:48 -05:00
Andreas Olofsson
0804d8ea29 Fixing weird Vivado error
-Seems vivado doesn't like the "|=" operation??
2016-01-20 21:45:55 -05:00
Andreas Olofsson
45829c0231 Adding missing files
-bistream building now
2016-01-20 21:44:17 -05:00
Andreas Olofsson
d614b4f33b Adding FPGA build files 2016-01-20 18:45:20 -05:00
Andreas Olofsson
3a56b32a1b Adding packaging files 2016-01-20 18:14:25 -05:00
Andreas Olofsson
5b15aa2b79 Adding IP packaging files 2016-01-20 17:36:57 -05:00
Andreas Olofsson
abd25426b6 Fixing various small bugs
-sandbox accelerator working in simulation!
-t0+6 hrs wall time (lost 2 hours due to travel)
2016-01-20 17:23:09 -05:00
Andreas Olofsson
b3c0cdc082 Adding generic N:1 mux 2016-01-20 17:22:05 -05:00
Andreas Olofsson
1e35436b10 Adding generic mesh packet mux 2016-01-20 17:14:55 -05:00
Andreas Olofsson
962fcd99a6 Merge pull request #40 from olajep/mailbox-irq
Fix mailbox interrupt
2016-01-20 16:43:54 -05:00
Ola Jeppsson
cf4aa62027 Fix mailbox interrupt
Use IRQ_F2P for interrupts, this is what other designs seem to do.
Use interrupt pin 11 (maps to IRQ=87 devicetree-IRQ=55 (87-32)).

Disable CORE0_FIQ_INTR as we no longer use it.

Add concat ip, apparently needed:
http://www.xilinx.com/support/answers/58942.html

Add constant_zero, and constant_one outputs to parallella_base module.

Tie all unused (by PL) interrupts on the F2P port to 0.

Signed-off-by: Ola Jeppsson <ola@adapteva.com>
2016-01-20 22:30:56 +01:00
Andreas Olofsson
d859b96b0a Adding sandbox type accelerator
- Compiles, not debugged yet
- 2hrs wall time to this point froms "scratch"
2016-01-20 13:54:25 -05:00
Andreas Olofsson
e466764706 Merge branch 'master' of https://github.com/parallella/oh 2016-01-20 10:53:42 -05:00
Andreas Olofsson
2cc776e926 Updating mailbox documentation 2016-01-20 10:53:29 -05:00
Andreas Olofsson
1b6f1ecaef Interface cleanups 2016-01-20 10:51:57 -05:00
Andreas Olofsson
70dc4fd5a6 Separating waits for config and TX path
...still needs work
2016-01-20 10:51:26 -05:00
Andreas Olofsson
1afc3e93ad Adding mailbox prog full to RX wait signal 2016-01-20 10:50:29 -05:00
Andreas Olofsson
21ac7b690d Adding rd_counter to sync fifo interface 2016-01-20 10:50:00 -05:00
Andreas Olofsson
a2d3b1e4e0 Adding rd_count, prog_full to interface
- status now 32 bit register
- block writing on full
- block reading on empty
- route prog_full to wait pushback circuit
2016-01-20 10:48:44 -05:00
Andreas Olofsson
e2e99bd29d Adding read count to fifo interface
-Also removing valid signal, useless..
2016-01-20 10:48:04 -05:00
Andreas Olofsson
f8d09f0112 Merge pull request #39 from olajep/burst-test
Add burst test
2016-01-20 07:50:56 -05:00
Ola Jeppsson
a4e7ebe47b Add burst test
Add test for writes to same address. Apparently consecutive 64-bit
writes to the same address can turn into burst writes.

From:
https://github.com/parallella/oh/issues/37

Andreas:
> Remembered that we have a long forgotten mode in the epiphany chip elink
> (not impemented in the fpga elink) that creates bursts when you write
> doubles to the same address. (F**K!)
> So the writes were likely coming in as bursts.
> Looks like the mailbox works fine when you write in "int"s (I tested it on
> the board with consecutive)
> (see "mailbox_test" in elink/sw0)

Signed-off-by: Ola Jeppsson <ola@adapteva.com>
2016-01-20 11:59:23 +00:00