Andreas Olofsson
383dd50b99
Fixed lethal off by one fifo full bug!
2016-03-10 14:58:29 -05:00
Andreas Olofsson
63b56d9ec9
Adding command reg to spi master
...
- Makes the emode more efficient, only setup command once
2016-03-10 14:20:25 -05:00
Andreas Olofsson
8cf7c40c44
Simplifying spi slave
...
- Clock sync made easier by detecting rising edge of ss
- Piping data into slave regs
- State machine simplified
2016-03-10 14:19:07 -05:00
Andreas Olofsson
d57306619b
Adding SPI documentation
2016-03-10 14:17:50 -05:00
Andreas Olofsson
6ad31e5c20
Cleanup GPIO docs table
2016-03-10 14:17:33 -05:00
Andreas Olofsson
e08f5a8fc7
Adding address table to GPIO
2016-03-10 11:13:24 -05:00
Andreas Olofsson
41e789b677
Refactoring to maximize code reuse
...
-using common clock divider, ser2par block
-starting the readbkack circuit + auto transfer
2016-03-10 11:07:51 -05:00
Andreas Olofsson
a5b4768b3b
Vectorizing edge2pulse module
2016-03-10 11:07:14 -05:00
Andreas Olofsson
e900ecca2a
Simplifying clockdiv
...
-tested in spi block
-more generic, simpler
2016-03-10 11:06:28 -05:00
Andreas Olofsson
d129b93040
Adding edge specific pulse generators
2016-03-10 11:05:36 -05:00
Andreas Olofsson
f60f3515e6
Making front page table links to README files
...
-Every folder should be more or less self contained
-Hopefully one day this repo will look more like parallella-examples
2016-03-10 07:38:06 -05:00
Andreas Olofsson
8c350eed91
Debugged most of SPI
...
-Changed to FIFO on TX path (cleaner)
-No good solution on RX with CDC since clock can stop, so you can't use an async fifo.
-Slave needs cleanup, rethink...
-Using commong par2ser and ser2par blocks
2016-03-09 22:46:24 -05:00
Andreas Olofsson
ef790c1a59
Expanding par2ser functionality
...
-module now works for multi bit shifts
-has been used in spi master module
-versatile load and shift bits
2016-03-09 21:11:17 -05:00
Andreas Olofsson
e619bf9ef1
Making fifo safer
...
-Blocking reads when fifo is empty
-Blocking writes when fifo is full
2016-03-09 21:10:11 -05:00
Andreas Olofsson
e471850bd7
Adding table of content to README
2016-03-09 14:40:36 -05:00
Andreas Olofsson
53671d8fc8
Cleanup old files
2016-03-09 06:57:30 -05:00
Andreas Olofsson
4c53eab4ab
Adding combined master/slave spi top level
2016-03-08 21:59:08 -05:00
Andreas Olofsson
d9f18e7b58
DV cleanup
...
-removing all redundant build files, there must be only one...
2016-03-08 21:23:02 -05:00
Andreas Olofsson
2ef626b91a
Spi slave name changes
...
-to be consistant with interface for emesh/core
2016-03-08 21:22:26 -05:00
Andreas Olofsson
cb0b0e933c
Adding basic tests for small modules
...
(so that run.sh can runt out of top dir)
2016-03-08 21:21:41 -05:00
Andreas Olofsson
9ce82bd3c8
Adding testbench for pic
2016-03-08 21:21:06 -05:00
Andreas Olofsson
02601cfc1d
Adding dut for emmu
2016-03-08 21:20:48 -05:00
Andreas Olofsson
af55033d05
Adding dut for emailbox
2016-03-08 21:20:34 -05:00
Andreas Olofsson
e549a63a04
Reorg/cleanup
2016-03-08 19:37:42 -05:00
Andreas Olofsson
e2090b4071
Cleaning up script outputs
2016-03-08 19:37:19 -05:00
Andreas Olofsson
6e22772420
Removed autoinst for dut.v
...
-Had to remove the dummy dut.v to make scripts and links cleaner
2016-03-08 19:36:44 -05:00
Andreas Olofsson
450f398065
Making xilinx default target for now
...
-Need a cleaner way of dealing with define constants
2016-03-08 19:35:44 -05:00
Andreas Olofsson
14614bcfa5
Adding new clock signals to axi testbench
2016-03-08 19:35:25 -05:00
Andreas Olofsson
acce93fa0f
Trying a better contention error message
...
- Addding delayed sampling before displaying error
- Attempt to remove glitches
2016-03-08 19:34:37 -05:00
Andreas Olofsson
2b62ffb1cd
Adding SPI master
...
-code compiles, but still needs debugging
-small parts not implemented
2016-03-08 19:33:53 -05:00
Andreas Olofsson
e622aa1b33
Reorg
2016-03-08 15:49:54 -05:00
Andreas Olofsson
197e2a38bc
Putting simplified scripts in $OH_HOME
2016-03-08 15:49:15 -05:00
Andreas Olofsson
789aa888a5
Filtering out
2016-03-08 14:58:21 -05:00
Andreas Olofsson
8e5f209115
Implemented parametrized spi slave module
...
- Compiles, but not debugged yet! (needs cleanup)
- Next up : implement master, testbench
2016-03-07 22:47:17 -05:00
Andreas Olofsson
983caa7138
Adding code pointers to readme
2016-03-05 16:42:41 -05:00
Andreas Olofsson
232d004ee2
Adding README for gpio
2016-03-05 16:36:58 -05:00
Andreas Olofsson
1ebe74d285
Cleanup GPIO logic
...
-various bringup bug fixes
-name simplication
-now works in simulation
2016-03-05 16:16:22 -05:00
Andreas Olofsson
53838f35ea
Added test/dv for gpio block
...
-note: with the number of blocks growing, there really needs to be more common iinfrastructure around the builds
-every block should be independent, yet you don't want to repeat the scripts
2016-03-05 16:10:06 -05:00
Andreas Olofsson
16ddde2e39
Fixing up GPIO
...
- adding support for 64 bits
- implementing global edge detect
- implementing most of the features
- (not debugged yet)
2016-03-05 07:28:28 -05:00
Andreas Olofsson
7a756decf8
Scary blocking call issue
...
- Can't believe this has been there for 4 gens of epiphany!
- Found it by chance when copying code over to edge detect...
2016-03-05 07:25:13 -05:00
Andreas Olofsson
4dbf1a201e
Adding configurable edge detector
2016-03-05 07:24:53 -05:00
Andreas Olofsson
5b6e89cb91
Merge pull request #54 from wasserfuhr/patch-1
...
Update README.md: typo
2016-03-01 21:53:47 -05:00
Andreas Olofsson
be9dd64650
Merge pull request #55 from wasserfuhr/patch-2
...
Update README.md: typo
2016-03-01 21:53:34 -05:00
RainerWasserfuhr
51976673c9
Update README.md
...
typo
2016-03-02 03:06:25 +01:00
RainerWasserfuhr
eb01ecac71
Update README.md
...
typo
2016-03-02 02:25:02 +01:00
Andreas Olofsson
5576775902
Merge branch 'master' of https://github.com/parallella/oh
2016-02-28 09:03:27 -05:00
Andreas Olofsson
56a4a64baf
Adding some missing defs from article feedback
2016-02-28 09:03:06 -05:00
Andreas Olofsson
844bc13d59
Removing ps7 file
...
-Not the right approach..
2016-02-27 13:37:36 -05:00
Andreas Olofsson
4630ef4033
Cleanup MIO commit
2016-02-26 23:08:14 -05:00
Andreas Olofsson
afb49073e4
Merge branch 'master' of github.com:parallella/oh
2016-02-26 23:01:04 -05:00