[go: up one dir, main page]

Skip to content

Commit

Permalink
Commented out memory field config
Browse files Browse the repository at this point in the history
since it's not implemented yet
  • Loading branch information
jvanstraten committed Sep 5, 2019
1 parent e045cc4 commit 33baa91
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 110 deletions.
1 change: 0 additions & 1 deletion doc/md/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ insanely high. If your active logic requires a high clock speed and
- [`stream-to-mmio` behavior](streamtommio.md)
- [`mmio-to-stream` behavior](mmiotostream.md)
- [`axi` behavior](axi.md)
- [`memory` behavior](memory.md)
- [`interrupt` behavior](interrupt.md)
- [`interrupt-flag` behavior](interruptflag.md)
- [`volatile-interrupt-flag` behavior](volatileinterruptflag.md)
Expand Down
1 change: 0 additions & 1 deletion doc/md/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
- [`stream-to-mmio` behavior](streamtommio.md)
- [`mmio-to-stream` behavior](mmiotostream.md)
- [`axi` behavior](axi.md)
- [`memory` behavior](memory.md)
- [`interrupt` behavior](interrupt.md)
- [`interrupt-flag` behavior](interruptflag.md)
- [`volatile-interrupt-flag` behavior](volatileinterruptflag.md)
Expand Down
4 changes: 0 additions & 4 deletions doc/md/fieldconfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,10 +189,6 @@ This key can take the following values:

- [`axi`](axi.md): connects a field to an AXI4-lite master port for generating hierarchical bus structures.

- Fields for interfacing with memories:

- [`memory`](memory.md): infers a local memory inside the register file.

- Fields for controlling `vhdmmio`-managed interrupts:

- [`interrupt`](interrupt.md): base class for interrupt field behaviors. Normally not used directly; it's easier to use one of its specializations:
Expand Down
99 changes: 0 additions & 99 deletions doc/md/memory.md

This file was deleted.

2 changes: 1 addition & 1 deletion tests/config/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def test_docgen(self):
'interruptstatus.md',
'interruptunmask.md',
'latching.md',
'memory.md',
#'memory.md',
'metadataconfig.md',
'mmiotostream.md',
'multirequest.md',
Expand Down
7 changes: 3 additions & 4 deletions vhdmmio/config/behavior/memory.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
"""Submodule for `Memory` configurable."""

from ...configurable import configurable, Configurable, choice
from .registry import behavior, behavior_doc
#from .registry import behavior, behavior_doc

behavior_doc('Fields for interfacing with memories:')
#behavior_doc('Fields for interfacing with memories:')

@behavior(
'memory', 'infers a local memory inside the register file.', 1)
#@behavior('memory', 'infers a local memory inside the register file.', 1)
@configurable(name='`memory` behavior')
class Memory(Configurable):
"""This field behavior infers a local memory inside the register file.
Expand Down

0 comments on commit 33baa91

Please sign in to comment.