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

1589 Commits

Author SHA1 Message Date
Andreas Olofsson
bfb03e31b3 Fefactoring to clarify register usage 2016-08-25 11:44:30 -04:00
Andreas Olofsson
4354a46dce Adding new fifos for MIO
-In preparation for redesign
2016-08-25 11:43:48 -04:00
Andreas Olofsson
290da8ce48 Adding missing reset synchronization 2016-08-25 11:42:31 -04:00
Andreas Olofsson
e51d628ed4 SPI code cleanup 2016-08-25 09:02:14 -04:00
Andreas Olofsson
4c6cdcaf74 Fixing nasty glitch bug on clock
-Created phantom event simulator
-Lucky to catch it quickly
-Don't know wtf i was thinking with that circuit...
2016-08-24 01:14:05 -04:00
Andreas Olofsson
f7ce7b800c Fixing spi controller
- Manually merging work from @olajep in PR #85 (too far out of sync)
- Fixing issue with lsbfirst logic
- Adding logic for manual control of slave select
- Fixing status register for polling reads
- Still a timing/glitch issue on mosi, fix it later...
2016-08-24 00:20:51 -04:00
Andreas Olofsson
f4a74b462f Adding manual control of slave select pin 2016-08-24 00:19:46 -04:00
Andreas Olofsson
b9a9853753 Linking test file, copying around sources is really bad... 2016-08-24 00:18:25 -04:00
Andreas Olofsson
e5b35f611e Merge pull request #96 from peteasa/AugFixes
Aug fixes
2016-08-23 18:15:05 -04:00
Andreas Olofsson
fa7d6f7c2e Changing latching responsibility in clock mux
- Ugly to put latch inside the clock mux, there are situations when there is no clock. Need to have complete control over reset and sampling clock, so better to put latch outside of the clock mux..more legoish..
2016-08-23 17:27:17 -04:00
Andreas Olofsson
80c4221b14 Merge branch 'master' of github.com:parallella/oh 2016-08-23 17:15:03 -04:00
Matt
7e80a82547 oh_add: Fix typo in the function description
Fixes a small typo in the description of the adder-subtractor (two's complement representation).
2016-08-21 17:02:46 +02:00
Peter Saunderson
a8ef3748bd AXI: emaxi: added nreset to instantiation of oh_dsync
Signed-off-by: Peter Saunderson <peteasa@gmail.com>
2016-08-17 15:57:25 +01:00
Peter Saunderson
e781f39e5e TARGET changed back to XILINX from GENERIC
Commit 3fa5fce "Cleaning up fifos" accidentally changed TARGET from XILINX to GENERIC
This commit fixes this problem and moved TARGET assignment to the top level
Fixes CRITICAL WARNING: [Designutils 20-1280] Could not find module 'fifo_async_104x32'.

Signed-off-by: Peter Saunderson <peteasa@gmail.com>
2016-08-17 15:30:38 +01:00
Peter Saunderson
553ee31400 Synthesis: parameter = `CFG_ASIC not accepted in module declaration
Vivado does not pre-process defines in the module declaration.
The result is that each module with this type of declaration is AutoDisabled by Vivado

Moving the top level define to a localparam fixes this problem

Signed-off-by: Peter Saunderson <peteasa@gmail.com>
2016-08-17 15:06:01 +01:00
Peter Saunderson
55118cee9d Apply CFG_ASIC at the top level
Commit 381ba09 adds CFG_ASIC as a primary variable.  This commit
allows this to be set in the system_build.tcl script at build time


Signed-off-by: Peter Saunderson <peteasa@gmail.com>
2016-08-17 14:22:04 +01:00
RainerWasserfuhr
b9b42bd93e fixed sort order 2016-08-05 21:49:20 +02:00
Andreas Olofsson
aac3d5b3a2 Synthesis cleanup 2016-07-24 05:11:47 -04:00
Andreas Olofsson
67409dba7a Simplifying names to make it easier to specify generated clocks 2016-07-09 20:32:57 -04:00
Andreas Olofsson
2c272e7afa Synthesis cleanup
- adding missing reset on pulse/edge detectors
- disconnecting unused signals in spi clockdivider
- changin output to input on spi_slave_io for read data
2016-07-09 20:31:00 -04:00
Andreas Olofsson
b8ef013874 Cleanup (missed a port in last fix removing supply ports) 2016-07-09 17:04:24 -04:00
Andreas Olofsson
b1871f1867 Fixing clock divider
- asic needs a fixed cell for generated clock constraints
- fixing glitching on selectors, sampling with latch before mux (stable high)
2016-07-09 17:03:07 -04:00
Andreas Olofsson
6b050220d8 Removing dangling supply nets 2016-07-08 19:56:23 -04:00
Andreas Olofsson
c0dde5652b Merge branch 'master' of github.com:parallella/oh 2016-06-26 10:02:24 -04:00
Andreas Olofsson
f2086c5e69 Asic lib cleanup
-moving back to generic asic cells after all..
-fixing parameter issue in memory module
-named block issue (genblk warning)
2016-06-25 00:04:25 -04:00
Andreas Olofsson
8b95b37c85 The asiclib is not generic
- Should be "gate level"  design
2016-06-24 22:37:06 -04:00
Andreas Olofsson
b4337d9aba Adding flip-flopr asic wrappers 2016-06-24 22:36:27 -04:00
Andreas Olofsson
71f3271074 Adding sampling clock for latch
- Should be independent of the clocks being selected
2016-06-24 22:11:36 -04:00
Andreas Olofsson
56e7037254 Adding clock "or" circuit 2016-06-24 22:11:23 -04:00
Andreas Olofsson
74b26a285f Removing supplies from isolation cells
- Was unnatural
2016-06-24 21:30:34 -04:00
Andreas Olofsson
186b337a45 Cleanup of common files using cells that use asic cells
- ASIC/PROJ changes
2016-06-24 21:26:14 -04:00
Andreas Olofsson
bc515f9308 Adding isolation block for tie high
- Needed for active low reset signal
2016-06-24 21:25:41 -04:00
Andreas Olofsson
a45155a4e6 ASIC config parameter simplication
- Hiding project name, is a true "global". It defines the flavor of the project and will never be overridden at instantiation...so fine
- Adding CFG_ASIC as a default in parameter statement...because generally you need the ability to override but carrying it all the way through the hierarchy is just annoying...
2016-06-24 20:34:49 -04:00
Andreas Olofsson
2623d2239e Adding asiclib cell for lat0 2016-06-24 20:34:32 -04:00
Andreas Olofsson
893db9508a Merge branch 'master' of github.com:parallella/oh
Conflicts:
	docs/tapeout_checklist.md
2016-06-20 21:21:07 -04:00
Andreas Olofsson
b866045861 Making DELAY a cell parameter 2016-06-19 17:36:00 -04:00
Andreas Olofsson
ef2e3248a3 Adding parameter guideline
- You will be chasing this bug, if you ever add a parameter...
2016-06-19 17:35:18 -04:00
Andreas Olofsson
aa1e511a30 Moving xilibs/hdl to xilibs/dv
- HDL should always be synthesizable...
2016-06-19 17:18:44 -04:00
Andreas Olofsson
40da0fe14a Synthesis cleanup 2016-06-19 17:12:24 -04:00
Andreas Olofsson
73c1c496cb Cleaning up SPI chip synthesis errors/warnings
- Better to clean up than to have every designer setting an "ignore warning" in tool.
- Don't fight the tools...
2016-06-19 17:11:33 -04:00
Andreas Olofsson
3151b17b93 Cleaning up chip synthesis errors/warnings 2016-06-19 17:10:51 -04:00
Andreas Olofsson
61980721f6 Changing synchronizers to scalars
- The act of putting in a synchronizer should be scalar!
- Putting in vectors should be hard and explicit (thus we make them scalars)
- This is in contrast to most other cells which are vectorized by default
- "which one is not like the others applies to this cell"
- Also cleaning up some chip synthesis warnings/errors
2016-06-19 17:08:46 -04:00
Andreas Olofsson
381ba09617 Making CFG_ASIC a primary variable
-Need to separate between open FPGA design and closed ASIC design.
-NDAs means it's imposssible for us to disclose even the interfaces of the cells inside without taking the risk of violating the terms of the NDA.
-For this reason, we come up with generic and clean asic library interfaces that need to be implemented in each library/technology
2016-06-19 17:05:50 -04:00
Andreas Olofsson
1045e46b0e Merge pull request #92 from olajep/mio-driver
Mio driver
2016-06-06 05:12:39 -04:00
Ola Jeppsson
0ccee8f82f mio: hello-mio: More extensive testing
Pushback seems broken somewhere.

Test writing 2 x 1MB

Signed-off-by: Ola Jeppsson <ola@adapteva.com>
2016-06-06 07:40:14 +00:00
Ola Jeppsson
729132b4d3 mio: driver: Add first hello world test
Signed-off-by: Ola Jeppsson <ola@adapteva.com>
2016-06-01 14:54:44 +00:00
Andreas Olofsson
51f5d0f73a Adding link to checklist 2016-05-31 13:33:06 -04:00
Andreas Olofsson
e89acd3002 A few more checks... 2016-05-31 13:31:34 -04:00
Andreas Olofsson
4042168dfa Adding a tapeout checklist 2016-05-31 13:24:40 -04:00
Andreas Olofsson
6911b67189 Adding a tapeout checklist 2016-05-31 13:19:26 -04:00