aboutsummaryrefslogtreecommitdiff
path: root/notes
diff options
context:
space:
mode:
authorazidar2015-11-06 09:51:59 -0800
committerazidar2016-01-16 14:28:16 -0800
commitffa090c10d6210395e3f304e56008e2183a85698 (patch)
tree25fce98795c897f655a4e6dd2f2ebf866e9c3049 /notes
parent407200e46de9a97f8a88c210e3b0e7d6d38f307b (diff)
WIP
Diffstat (limited to 'notes')
-rw-r--r--notes/memory_v2.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/notes/memory_v2.txt b/notes/memory_v2.txt
index e6d752eb..dabbadb8 100644
--- a/notes/memory_v2.txt
+++ b/notes/memory_v2.txt
@@ -57,3 +57,16 @@ circuit top :
rdwr : {flip rdata : UInt<32>[4], ren : UInt<1>, wdata : UInt<32>[4], wen : UInt<1>, index : UInt<7>, clk : Clock, mask : UInt<1>[4]}[1]
}
+
+Changes to compiler:
+Resolve genders: is much easier because (1) don't need to infer ports, and (2) is no longer fixed-point algorithm
+Expand accessors: now makes an expression indexer
+Lowering: Need to special case memories
+Need to do cse early on, definitely before inline indexers
+Expand whens: need to special case memories and their subfields.. ugh.
+
+
+
+
+
+