diff options
author | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2021-03-09 11:45:19 +0100 |
---|---|---|
committer | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2021-03-09 11:55:37 +0100 |
commit | 14fc9e0dd6b25f1f7a9d527ea1ca4da020727eb4 (patch) | |
tree | a7644a827abf8c69bc5f95b6735a9d396c8371a9 | |
parent | 9ae0c28a434a0af2ffe6f316fc9e3a0935205f0e (diff) |
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | README | 18 | ||||
-rw-r--r-- | blink_blue.v (renamed from blink.v) | 4 |
3 files changed, 20 insertions, 4 deletions
@@ -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 @@ -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 @@ -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) |