Ola Jeppsson
feffddb166
GPIO: Update FPGA project to use parallella_gpio as top
...
Use parallella_base pin constraints.
Signed-off-by: Ola Jeppsson <ola@adapteva.com>
2016-04-29 18:03:41 +02:00
Ola Jeppsson
13f0f7984b
GPIO: Add parallella_gpio module
...
Parallella board top module.
Uses pgpio from parallella base.
Signed-off-by: Ola Jeppsson <ola@adapteva.com>
2016-04-29 18:02:31 +02:00
Ola Jeppsson
b6cd729b20
common: Add oh_tristate module
...
Function: Bidirectional port with output-enable
Not tested.
Signed-off-by: Ola Jeppsson <ola@adapteva.com>
2016-04-29 18:01:20 +02:00
Ola Jeppsson
80f7befb2a
GPIO: Fix access/wait/packet signals in AXI module
...
Need mux for rd_access and wr_access.
Signed-off-by: Ola Jeppsson <ola@adapteva.com>
2016-04-29 17:56:57 +02:00
Ola Jeppsson
0c91885643
GPIO: Add FPGA project
...
Add FPGA project for Vivado.
It compiles but not tested.
TODO:
gpio_in / gpio_out are not connected.
Interrupt not connected.
Signed-off-by: Ola Jeppsson <ola@adapteva.com>
2016-04-28 00:49:50 +02:00
Ola Jeppsson
78422215e7
GPIO: Add AXI GPIO module
...
Signed-off-by: Ola Jeppsson <ola@adapteva.com>
2016-04-28 00:48:41 +02:00
Ola Jeppsson
de8d7b7132
GPIO: Fix hardcoded address width
...
Use parameter value (which can be smaller).
Signed-off-by: Ola Jeppsson <ola@adapteva.com>
2016-04-28 00:35:38 +02:00
Andreas Olofsson
22f36ce93d
Merge pull request #69 from olajep/linux-gpio-driver
...
Linux gpio driver
2016-04-22 08:24:31 -04:00
Ola Jeppsson
2ae9c2420a
GPIO: Add linux kernel driver
...
Signed-off-by: Ola Jeppsson <ola@adapteva.com>
2016-04-22 13:39:50 +02:00
Ola Jeppsson
0ecf9087a0
GPIO: Move gpio library to separate directory
...
Signed-off-by: Ola Jeppsson <ola@adapteva.com>
2016-04-22 13:02:00 +02:00
Andreas Olofsson
23cdb8d8d4
Adding clock mux with integrated clock gater
2016-04-19 22:55:29 -04:00
Andreas Olofsson
5e8c53f619
Tweaking isolate block
...
- removing power signals for now
- adding asic parameter
2016-04-19 22:54:30 -04:00
Andreas Olofsson
8e23abbc98
Standby bug fix (floating clk)
2016-04-19 22:54:00 -04:00
Andreas Olofsson
05f73e200d
Improving standby circuit
...
- removing reset (bad logic)
- refactor for simplicity/clarity
- interface changes
2016-04-19 16:23:50 -04:00
Andreas Olofsson
2d3fb8d94c
Making clock gater asic friendly
...
- removing reset, shouldn't be in logic
- instantiating asic integrated clock gating cell
- removing vectorization, shouldn't be here
2016-04-19 16:19:26 -04:00
Andreas Olofsson
6742976401
Fixing more synthesis warnings
2016-04-17 10:37:08 -04:00
Andreas Olofsson
4e513cfcce
Fixing synthesis compilation warnings
...
- Could supress warning printout, but you can't control people's synthesis scripts. Better to fix once than N times...
2016-04-17 09:49:07 -04:00
Andreas Olofsson
96e13629aa
Fixing standby block
...
- Was missed because block was never instantiated...
- Iverilog not very particular..not a great linter
2016-04-17 09:47:55 -04:00
Andreas Olofsson
8b24139be1
Adding ASIC parameter to special library functions
...
- Needed to map to specific proprietary libraries
- Need to hide actual cells behind abstraction due to NDA
2016-04-15 23:25:49 -04:00
Andreas Olofsson
3314051934
Adding delay cell
2016-04-15 23:25:16 -04:00
Andreas Olofsson
a330f73838
Fixing readme
2016-04-15 22:38:06 -04:00
Andreas Olofsson
397b10946f
Shortening flow names
...
- + reorg
2016-04-15 22:32:27 -04:00
Andreas Olofsson
09e40875bb
Adding wrappers for pnr
2016-04-15 18:01:09 -04:00
Andreas Olofsson
8bfccdfd73
Simplifying synthesis flow
...
- Too many steps, some of them were "one line long"
2016-04-15 17:37:32 -04:00
Andreas Olofsson
53dea826bc
Merge branch 'master' of github.com:parallella/oh
2016-04-14 15:55:16 -04:00
Andreas Olofsson
d237c17eba
Instantiating generic ram module in dp memory
2016-04-14 15:54:50 -04:00
Andreas Olofsson
f9910d6094
Fixing depth parameter in fifo
2016-04-14 15:54:23 -04:00
Andreas Olofsson
b70b9de811
Merge pull request #65 from olajep/vivado-localparam-clog2-fix
...
Vivado doesn't like localparam / clog2 combo
2016-04-14 15:53:35 -04:00
Andreas Olofsson
305c63c911
Merge pull request #64 from olajep/merge-stable
...
Merge stable into master
2016-04-14 15:53:19 -04:00
Ola Jeppsson
62469afc4b
Vivado doesn't like localparam / clog2 combo
...
Using parameter instead works.
Signed-off-by: Ola Jeppsson <ola@adapteva.com>
2016-04-14 21:46:14 +02:00
Ola Jeppsson
652f928377
Merge branch 'stable-prepared' into merge-stable
...
Conflicts:
parallella/fpga/headless/Makefile
parallella/fpga/headless/bit2bin.bif
parallella/fpga/headless/build.sh
parallella/fpga/headless/dummy.elf
parallella/fpga/headless/parallella.bit.bin
parallella/fpga/headless/run.tcl
parallella/fpga/sdr_fmcomms/run.tcl
src/accelerator/fpga/bit2bin.bif
src/accelerator/fpga/dummy.elf
src/parallella/dv/build.sh
src/parallella/fpga/Makefile
src/parallella/fpga/headless_e16_z7010/Makefile
src/parallella/fpga/headless_e16_z7010/bit2bin.bif
src/parallella/fpga/headless_e16_z7010/build.sh
src/parallella/fpga/headless_e16_z7010/dummy.elf
src/parallella/fpga/headless_e16_z7010/run.tcl
src/parallella/fpga/headless_e16_z7020/Makefile
src/parallella/fpga/headless_e16_z7020/build.sh
src/parallella/fpga/headless_e16_z7020/parallella.bit.bin
src/parallella/fpga/headless_e16_z7020/parallella_e16_headless_gpiose_7020.bit.bin
src/parallella/fpga/headless_e16_z7020/run.tcl
src/parallella/fpga/sdr_fmcomms/run.tcl
Signed-off-by: Ola Jeppsson <ola@adapteva.com>
2016-04-14 20:41:47 +02:00
Ola Jeppsson
4c9f3273b1
Move parallella to src/
...
Move parallella to src/ to prepare for merge with master.
Signed-off-by: Ola Jeppsson <ola@adapteva.com>
2016-04-14 20:30:46 +02:00
Ola Jeppsson
8171b9023a
src/parallella/fpga: Rename headless to headless_e16_z7020
...
Set up paths for merge with stable
Signed-off-by: Ola Jeppsson <ola@adapteva.com>
2016-04-14 20:26:34 +02:00
Andreas Olofsson
6b72eab0fe
Merge pull request #63 from olajep/e16-z7010-headless
...
E16 z7010 headless
2016-04-14 13:52:42 -04:00
Andreas Olofsson
e66c526fec
Merge pull request #62 from olajep/gpio-driver
...
GPIO: Remove direction cache variable
2016-04-14 13:00:48 -04:00
Ola Jeppsson
dccfe3d0b4
GPIO: Remove direction cache variable
...
Not needed now that GPIO_DIR is readable.
Signed-off-by: Ola Jeppsson <ola@adapteva.com>
2016-04-14 18:57:31 +02:00
Andreas Olofsson
8faa91bc52
Instantiating oh_memory_ram in dp/sp memories
2016-04-14 10:30:19 -04:00
Andreas Olofsson
709f91c306
Using DEPTH as specifier for memory
...
- More natural design interface (than AW)
2016-04-14 10:29:49 -04:00
Andreas Olofsson
a08b5d55b5
Adding generic RAM module
...
- one read, one write port
- needed something simpler for modeling, maximuze code reuse
- _sp/_dp are really there so that you can build designs that will abstract away chip/fpga details
2016-04-14 10:28:30 -04:00
Andreas Olofsson
d730e46e0b
Fixing oh_dsync instantiation
...
- to add new reset pin (can be tied to 1'b1 sometimes)
2016-04-13 20:54:12 -04:00
Andreas Olofsson
70340040ce
Fixing killer bugs in async fifo!
...
- Adding reset on dsync (sometimes there is no clock)
- Separated reset for wr/rd
- One of the sync clocks was wrong (found by review)
2016-04-13 20:50:48 -04:00
Andreas Olofsson
42c7f4ed0d
Improving dsync
...
- adding ability to drive random delay values on each bit in multibit sync
- adding async reset (need was found during integration testing)
2016-04-13 20:48:37 -04:00
Andreas Olofsson
a6e1b22f9f
Adding async reset to debuncer.
...
- Can't guarantee that there will be a clock at startup.
- All IO modules with suspect clocking situation should have async reset on all key signals.
- To test, then you turn off clock and look for "x propagation".
2016-04-13 20:47:22 -04:00
Andreas Olofsson
0432f22c67
Simplifyinf bin2gray interface
...
- Using gray/bin as inputs was cute, but not useful when actually instantiating and reading the code. in/out works better.
2016-04-13 20:46:02 -04:00
Andreas Olofsson
3ccd72016e
Merge pull request #61 from olajep/gpio-driver
...
GPIO driver
2016-04-13 09:56:37 -04:00
Ola Jeppsson
510b6669a8
GPIO: Add raw register access API
...
Add gpio_reg_write() and gpio_reg_read() functions.
Signed-off-by: Ola Jeppsson <ola@adapteva.com>
2016-04-13 15:31:47 +02:00
Ola Jeppsson
137994f13a
GPIO: Drop "oh" prefix in file names and API
...
Signed-off-by: Ola Jeppsson <ola@adapteva.com>
2016-04-13 15:30:16 +02:00
Andreas Olofsson
ff7018b4ac
Making all significant GPIO registers readable for now
...
- Would really prefer if this could be handled in the driver..
2016-04-13 09:02:30 -04:00
Andreas Olofsson
33f3af9f79
Making GPIO_DIR readable
2016-04-13 09:00:24 -04:00
Ola Jeppsson
f22b833908
GPIO: Add GPIO driver
...
Signed-off-by: Ola Jeppsson <ola@adapteva.com>
2016-04-13 13:24:29 +02:00