summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--README18
-rw-r--r--blink_blue.v (renamed from blink.v)4
3 files changed, 20 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index b8569b5..4410624 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-PACKAGE ?= blink
+PACKAGE ?= blink_blue
TOP ?= $(PACKAGE)
# Currently GIT_VERSION is unusd and there are no tags, so skip calculating it
diff --git a/README b/README
new file mode 100644
index 0000000..a61f8d5
--- /dev/null
+++ b/README
@@ -0,0 +1,18 @@
+This is a verilog test that makes the FOMU blink blue.
+
+Its main goal here is to test the symbiflow toolchain with two different blink
+firmwares, one is the reference verilog-blink from the FOMU workshop
+project[1], and this one has been modified from that project to only blink
+blue.
+
+Blue was chosen as:
+- The default verilog-blink blinks all the colors sequencially, so if we do
+ something similar, it wound't be easy to distinguish between both.
+- The stock bootloader blinks green, so green needs to be avoided to
+ distinguish both states.
+- In several cultures (but not in all of them), red is commonly used to
+ indicate some error conditions, so we avoided it as well.
+
+References:
+-----------
+[1]git://github.com/im-tomu/fomu-workshop.git
diff --git a/blink.v b/blink_blue.v
index 2545edf..afa7588 100644
--- a/blink.v
+++ b/blink_blue.v
@@ -48,7 +48,7 @@
`endif
`endif
-module blink (
+module blink_blue (
output rgb0, // SB_RGBA_DRV external pins
output rgb1,
output rgb2,
@@ -96,8 +96,6 @@ module blink (
.CURREN(1'b1),
.RGBLEDEN(1'b1),
.`BLUEPWM(counter[26]), // Blue
- .`REDPWM(counter[27]), // Red
- .`GREENPWM(counter[28]), // Green
.RGB0(rgb0),
.RGB1(rgb1),
.RGB2(rgb2)