aboutsummaryrefslogtreecommitdiff
path: root/notes
diff options
context:
space:
mode:
authorazidar2015-05-05 17:37:27 -0700
committerazidar2015-05-05 17:37:27 -0700
commit791334cced721789fad180b6479cfa783963032f (patch)
tree057c3bf7bbd4e2a37daa5cdaec77a17d479108d9 /notes
parent5b23a9a645db190cea69f30aa1cd370c257fe774 (diff)
Added a bunch of tests. In the middle of implementing check kinds and check types. Does not compile
Diffstat (limited to 'notes')
-rw-r--r--notes/architecture.05.05.15.txt4
-rw-r--r--notes/chisel.05.04.15.txt28
2 files changed, 32 insertions, 0 deletions
diff --git a/notes/architecture.05.05.15.txt b/notes/architecture.05.05.15.txt
new file mode 100644
index 00000000..b66d663d
--- /dev/null
+++ b/notes/architecture.05.05.15.txt
@@ -0,0 +1,4 @@
+Omar/Ofar? wrote genesis and is Dave's boss
+Big problem is how to integrate different verilog, and put them all together to make it work
+ Can chisel help?
+Different clock domains? L2 should be in a different domain
diff --git a/notes/chisel.05.04.15.txt b/notes/chisel.05.04.15.txt
new file mode 100644
index 00000000..34ac637f
--- /dev/null
+++ b/notes/chisel.05.04.15.txt
@@ -0,0 +1,28 @@
+=========== FIRRTL PASSES ==============
+
+Parser : Parses text file and provides some error checking.
+ i: Parses the text file into an in-memory representation of the FIRRTL graph (tree).
+ +: Incorrect syntax correctly crashes the parser with an error message.
+ -: Error messages could be improved
+High Form Check : Ensures file has correct high firrtl form.
+ i: Ensures that initial file upholds various non-syntactic invariants
+ +: Some have been implemented. Current invariants not checked will likely crash the compiler in a later stage.
+ -: More to implemented (grunt work).
+Temp Elimination : Inline poorly-named single-assignment values.
+ ;Allows betterTo make the Chisel frontend simpler, we emit no nested expressions, and generate a lot of temps with non-intuitive names.
+Working IR : Replaces some IR nodes with working IR nodes with useful fields
+Make Explicit Reset : If not declared, reset is added to every module
+Resolve Kinds : Populates WRefs with the 'kind of reference'
+Infer Types : All type fields are inferred
+Type Check : All types are checked
+ -: Not implemented
+Resolve Genders : Genders of WRef and WAccessor is filled in
+Expand Accessors : Accessors to non-memory vectors are expanded to ConnectFromIndexed and ConnectToIndexed
+Lower To Ground : All types are lowered to ground types by expanding all Indexes and Subfields that are not instances
+Expand Indexed Connects : All ConnectFromIndexed and ConnectToIndexed are expanded to whens
+Expand Whens : Basic interpreter to calculate single assignment with muxes.
+Infer Widths : Width inferences
+Inline Instances
+Split Expressions : All nested expressions are expanded to single-assignment nodes with a relative name
+Real IR : All working IR nodes are removed
+To Flo : Flo is emitted