diff options
Diffstat (limited to 'examples/up5k_rgb')
-rw-r--r-- | examples/up5k_rgb/Makefile | 12 | ||||
-rw-r--r-- | examples/up5k_rgb/rgb.v | 8 |
2 files changed, 10 insertions, 10 deletions
diff --git a/examples/up5k_rgb/Makefile b/examples/up5k_rgb/Makefile index 711ce5a..51c1f72 100644 --- a/examples/up5k_rgb/Makefile +++ b/examples/up5k_rgb/Makefile @@ -1,12 +1,12 @@ PROJ = rgb PIN_DEF = rgb.pcf DEVICE = up5k -# Relative paths for easier development without messing with installed version -ARACHNE = ../../../arachne-pnr/bin/arachne-pnr -ARACHNE_ARGS = -c ../../icebox/chipdb-5k.txt -ICEPACK = ../../icepack/icepack -ICETIME = ../../icetime/icetime -ICEPROG = ../../iceprog/iceprog + +ARACHNE = arachne-pnr +ARACHNE_ARGS = +ICEPACK = icepack +ICETIME = icetime +ICEPROG = iceprog all: $(PROJ).bin diff --git a/examples/up5k_rgb/rgb.v b/examples/up5k_rgb/rgb.v index 81920cb..fa29fba 100644 --- a/examples/up5k_rgb/rgb.v +++ b/examples/up5k_rgb/rgb.v @@ -10,7 +10,7 @@ SB_HFOSC inthosc ( .CLKHF(clk) ); -localparam counter_width = 30; +localparam counter_width = 32; reg [counter_width-1:0] ctr; @@ -73,9 +73,9 @@ SB_RGBA_DRV RGBA_DRIVER ( defparam RGBA_DRIVER.CURRENT_MODE = "0b1"; -defparam RGBA_DRIVER.RGB0_CURRENT = "0b000001"; -defparam RGBA_DRIVER.RGB1_CURRENT = "0b000011"; -defparam RGBA_DRIVER.RGB2_CURRENT = "0b000011"; +defparam RGBA_DRIVER.RGB0_CURRENT = "0b000111"; +defparam RGBA_DRIVER.RGB1_CURRENT = "0b000111"; +defparam RGBA_DRIVER.RGB2_CURRENT = "0b000111"; endmodule |