diff options
Diffstat (limited to 'notes')
| -rw-r--r-- | notes/memory_v2.txt | 13 |
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. + + + + + + |
