summaryrefslogtreecommitdiff
path: root/README.txt
diff options
context:
space:
mode:
Diffstat (limited to 'README.txt')
-rw-r--r--README.txt13
1 files changed, 12 insertions, 1 deletions
diff --git a/README.txt b/README.txt
index 18c6ece..0865867 100644
--- a/README.txt
+++ b/README.txt
@@ -1,3 +1,10 @@
+This is a collection of Verilog files.
+Written as I'm learning about the language and FPGAs.
+
+Contents:
+- This directory
+- nandgame: Implementation of the nandgame.com CPU
+
Learnings:
- Anything that needs to "store" a state must be a reg?
@@ -18,10 +25,14 @@ Questions:
- Does yosys and other tools "automatically" determine the
"perfect" wire/register (bus) width if I just specify e.g.
wire BLA = 1374;
- ?
+ - Nope, that's a single bit, it will be truncated
- The book tasked me with writing a serial-to-parallel and parallel-to-serial converter.
But I think I wrote it "wrong"?
If I used this in the real world, and chained both components together,
things would go wrong. as the output is flipped at the rising clock
edge - violating timings and leading to unpredictable behavior?
Or not?
+ - nope, synthesis tools "take care of and check" timing.
+ It "somehow just works".
+ Or rather, stuff is delayed by one clock cycle, e.g.
+ when chaining flip-flops together.