aboutsummaryrefslogtreecommitdiff
path: root/notes
diff options
context:
space:
mode:
authorazidar2015-03-11 20:21:08 -0700
committerazidar2015-03-11 20:21:08 -0700
commitdbd3a844953fb8630f8b2ca5706c764533b661b0 (patch)
treeee62f7a1ade1f15b2ca4069b7705ac44a4ba7a2e /notes
parent70e1a41b15632afd969fff7ed6100eba0be78297 (diff)
Finished expand accessors pass. Fixed bug in resolve-gender. Added tests, all pass. Minimal removal of letrec to get WritePort to work correctly - a more thorough removeal is still needed
Diffstat (limited to 'notes')
-rw-r--r--notes/notes.03.10.15.txt33
1 files changed, 33 insertions, 0 deletions
diff --git a/notes/notes.03.10.15.txt b/notes/notes.03.10.15.txt
new file mode 100644
index 00000000..dee8a537
--- /dev/null
+++ b/notes/notes.03.10.15.txt
@@ -0,0 +1,33 @@
+Lower to ground types
+
+simple declarations:
+ wire w : UInt[3]
+ ==>
+ wire temp1 : UInt
+ wire temp2 : UInt
+ wire temp3 : UInt
+
+ reg r : UInt[3] ;TODO
+
+bundle declarations:
+ wire w : {male data:SInt, female ready:UInt}
+ wire temp1 : SInt
+ wire temp2 : UInt
+
+other
+ wire w : {male data : SInt[3], female ready : UInt}
+ wire temp1 : SInt
+ wire temp2 : SInt
+ wire temp3 : SInt
+ wire temp4 : UInt
+
+ports:
+ input a : {m: data, m:valid, f:rdy}
+ ==>
+ input a1
+ input a2
+ output a3
+
+mem m : {m,
+
+key function: expand-exp(e:Expression) -> List<[Expression,Gender]>