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

800 Commits

Author SHA1 Message Date
Andreas Olofsson
fa09982df3 Merge pull request #27 from peteasa/mailbox_sw_with_interrupt_handling
Updated mailbox test software and added trial kernel files
2015-12-20 15:05:25 -05:00
Andreas Olofsson
bb53768ce4 Merge pull request #26 from peteasa/mailbox_mi_dout_filter
Filter for mailbox accesses - ecfg_if mi_dout_mux must only have one …
2015-12-20 15:05:01 -05:00
Peter Saunderson
a442dd4171 Updated mailbox test software and added trial kernel files
Signed-off-by: Peter Saunderson <peteasa@gmail.com>
2015-12-20 19:59:35 +00:00
Peter Saunderson
e4aa6224da Filter for mailbox accesses - ecfg_if mi_dout_mux must only have one active input on mi_cfg_en
Signed-off-by: Peter Saunderson <peteasa@gmail.com>
2015-12-19 18:45:54 +00:00
Andreas Olofsson
9c9239d3ef Summary of OH coding methodology 2015-12-17 22:11:27 -05:00
Andreas Olofsson
e9d3c78b17 Adding interfaces 2015-12-17 13:50:59 -05:00
Andreas Olofsson
3d49e9ef98 Making AW primary parameter 2015-12-17 12:53:48 -05:00
Andreas Olofsson
2672519ab0 Adding memory to driver
-More modular, foudn myself adding memories in a lot of places
2015-12-17 12:53:20 -05:00
Andreas Olofsson
167744d7a9 Fixed data width 2015-12-17 12:52:49 -05:00
Andreas Olofsson
5ddf9305a3 More packet interface changes... 2015-12-17 12:52:27 -05:00
Andreas Olofsson
d558bd5f99 Packet converter interface changes
-packet2emesh and emesh2packet had interface name changes
2015-12-17 12:51:22 -05:00
Andreas Olofsson
dbd8cd8044 Adding common module for write alignment 2015-12-17 12:37:41 -05:00
Andreas Olofsson
79c312d166 Cleanup 2015-12-17 12:36:02 -05:00
Andreas Olofsson
3708417934 Reuse refactoring
-Made AW primary parameter to make reuse possible with other design
-Insert TARGET_SIM ifdef to make design synthesizable
2015-12-17 12:34:32 -05:00
Andreas Olofsson
27d7b0ed7c Cleaning up code 2015-12-17 12:34:03 -05:00
Andreas Olofsson
2a70178f47 Changing core parameter of packets
-Address width is a more natural primary component
2015-12-17 12:33:19 -05:00
Andreas Olofsson
ec627556f7 Fixing basic FIFO bug
- count was not fully reset...
- adding parameter values to memory instance
2015-12-10 19:32:15 -05:00
Andreas Olofsson
22976b781d Adding count/almost full to fifo 2015-12-08 21:10:17 -05:00
Andreas Olofsson
71b467728d Making mux parametrized 2015-12-07 11:19:12 -05:00
Andreas Olofsson
dd811ab417 Fixing unconnected wire bug 2015-12-05 09:01:18 -05:00
Andreas Olofsson
2d953d5639 Fixed unconnected wires in standby circuit 2015-12-04 17:32:15 -05:00
Andreas Olofsson
51fb4ad4a4 Changing memory parameter to DEPTH 2015-12-04 03:38:51 -05:00
Andreas Olofsson
f5bb42dfe3 Moving axi cells to own folder 2015-12-04 03:38:26 -05:00
Andreas Olofsson
d5edb1ca88 Fixing priority on etx_arbiter
- don't do a combinatorial loopback on wait in a primitive cell, just bad practice...
- changed priority to give readback priority over read, safer?
2015-12-04 03:36:42 -05:00
Andreas Olofsson
de012ec9c8 Changes to oh common modules
- Converting some modules to be more ASIC friendly
2015-12-04 03:12:07 -05:00
Andreas Olofsson
eb8f6c1f51 Adding datagate power saving module 2015-12-03 18:05:08 -05:00
Andreas Olofsson
8464c3dcb0 Adding standby logic block 2015-12-03 18:04:46 -05:00
Andreas Olofsson
16b0655151 Name change for arbiter 2015-12-03 18:04:10 -05:00
Andreas Olofsson
b9107474a9 Vectorizing oh_clockgate 2015-12-03 18:03:02 -05:00
Andreas Olofsson
69d2c2c5fb Prettyfying csa port names 2015-12-03 18:01:47 -05:00
Andreas Olofsson
3a8f81d4a3 Changing single port memory to be ASIC friendly 2015-12-03 18:01:21 -05:00
Andreas Olofsson
7b8460b145 Fixing up issues with database reorg
- Not sure where the prog_full issue popped up from. (sign of disorganized databsae)
-
2015-11-30 15:07:28 -05:00
Andreas Olofsson
19fa611bb9 Massive reorganization to impove reuse
- adding more chip code
- pushing memory stuff into common
- making common "oh_" naming class
-
2015-11-30 13:45:49 -05:00
Andreas Olofsson
44bbaeb830 Fixed typo on MMU lookup.
-MMU now seems to work...
2015-11-29 19:10:46 -05:00
Andreas Olofsson
ddfeebd33f Cleaning up read response logic
- Bypass path was ugly! Always try to go through the same logic path as much as possible.
- Note: when MMU is enabled, you need to put in entry for read return (ie 810)
2015-11-29 19:07:28 -05:00
Andreas Olofsson
082593b2e9 Adding tests for mmu and remapping logic 2015-11-29 19:06:31 -05:00
Andreas Olofsson
7e49b29a79 Moving tests for idelay, mailbox, timeout from epiphany-examples
-Idea is to create complete packages
-All hardware modules should be complete, separation of tasks/sources can drive 10x in dev cost.
2015-11-29 12:44:22 -05:00
Andreas Olofsson
b58ceef19c Merge branch 'master' of https://github.com/parallella/oh 2015-11-29 12:42:24 -05:00
Andreas Olofsson
9ddd71024d Fixing system_bd interface for "mailbox_irq" signal 2015-11-29 12:41:53 -05:00
Andreas Olofsson
3ce9b41726 Working mailbox!
- Gating mailbox_not empty with irq_en. bit [28] of RXCFG
- Changing elink output interrupt to "or" of not_empty and full
- Adding mailbox status register (mostly for debug)
- Moving register addresses to make space for mailbox status register
- Fixing wrappers for DV
- Updating README docs with new register map
- Removing mailbox from RX status reg. Doesn't belong there, should be coupled with mailbox for modularity.
2015-11-29 12:20:17 -05:00
Andreas Olofsson
711088a9e7 Fixed mailbox bug on remap
- Bypassing remap on write to RX registers
- Otherwise the write to mailbox gets dropped since 810 gets remapped to 310
2015-11-29 12:10:53 -05:00
Andreas Olofsson
13005e6cbf Updated mailbox test
- Added mailbox status address
- Moved mailbox registers
2015-11-29 12:09:47 -05:00
Andreas Olofsson
03473c393f Merge pull request #22 from peteasa/AddMakefiles
Added Makefiles to make build easier
2015-11-29 11:23:43 -05:00
Andreas Olofsson
2ca649394b Adding timeout response code 2015-11-29 10:27:43 -05:00
Peter Saunderson
889b24d72e Added Makefiles to make build easier
Signed-off-by: Peter Saunderson <peteasa@gmail.com>
2015-11-29 14:44:21 +00:00
Andreas Olofsson
ad568ad0a0 Implementing simple 64K cycle timeout for slave interface 2015-11-28 22:31:39 -05:00
Andreas Olofsson
099dbececa Adding test for mailbox readback 2015-11-28 21:42:05 -05:00
Andreas Olofsson
c294ba7775 Fixing readback from mailbox 2015-11-28 21:41:18 -05:00
Andreas Olofsson
0fc4b6188a Test cleanup
- added lint script using verilator
- adding verilator filter commands for fifo behavioral
- Longer pushbacks in ememory
2015-11-28 20:15:06 -05:00
Andreas Olofsson
0b6f7f7efb Making wait default 0 2015-11-28 20:13:47 -05:00