diff options
| author | Schuyler Eldridge | 2021-08-05 17:29:42 -0400 |
|---|---|---|
| committer | GitHub | 2021-08-05 21:29:42 +0000 |
| commit | 8abf3085e3efb2b6dd3e123f13577b367d3f2695 (patch) | |
| tree | 8a0d3841c28f10f586a92352e0c2ddd194e6e6d2 /spec/spec.pdf | |
| parent | 747b37471892c98f05b083c815c74d1c24edd416 (diff) | |
Fix Specification Memory Port Types (#2319)
Correct incorrect type specified for memories in the FIRRTL
specification. This is important because the memory type determines
what is a legal bundle to try to connect to a memory port.
I based this off of FIRRTL accepting the following circuit:
circuit MemOrder:
module MemOrder:
input r: {addr : UInt<3>, en : UInt<1>, clk : Clock, flip data : UInt<1>}
input w: {addr : UInt<3>, en : UInt<1>, clk : Clock, data : UInt<1>, mask : UInt<1>}
input rw: {addr : UInt<3>, en : UInt<1>, clk : Clock, flip rdata : UInt<1>, wmode : UInt<1>, wdata : UInt<1>, wmask : UInt<1>}
mem memory:
data-type => UInt<1>
depth => 8
reader => r
writer => w
readwriter => rw
read-latency => 1
write-latency => 1
read-under-write => undefined
memory.r <= r
memory.w <= w
memory.rw <= rw
Signed-off-by: Schuyler Eldridge <schuyler.eldridge@sifive.com>
Diffstat (limited to 'spec/spec.pdf')
| -rw-r--r-- | spec/spec.pdf | bin | 339523 -> 339566 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/spec/spec.pdf b/spec/spec.pdf Binary files differindex b92c62e3..2eaac920 100644 --- a/spec/spec.pdf +++ b/spec/spec.pdf |
