Skip to content

Commit dbd83cb

Browse files
committed
Fix Alhambra-II 01 LEDs buttons example
1 parent 6cd40d3 commit dbd83cb

File tree

4 files changed

+21
-39
lines changed

4 files changed

+21
-39
lines changed

apio/managers/scons.py

+1
Original file line numberDiff line numberDiff line change
@@ -946,3 +946,4 @@ def _run(
946946

947947
# -- Return the exit code
948948
return result.exit_code
949+
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,10 @@
1-
[*]
2-
[*] GTKWave Analyzer v3.3.103 (w)1999-2019 BSI
3-
[*] Thu Apr 28 10:19:00 2022
4-
[*]
5-
[dumpfile] "/home/obijuan/Develop/FPGAwars/apio/test-examples/alhambra-ii/01-LEDs-buttons/01-LEDs-buttons_tb.vcd"
6-
[dumpfile_mtime] "Thu Apr 28 10:16:09 2022"
7-
[dumpfile_size] 10049
8-
[savefile] "/home/obijuan/Develop/FPGAwars/apio/test-examples/alhambra-ii/01-LEDs-buttons/01-LEDs-buttons_tb.gtkw"
9-
[timestart] 0
10-
[size] 1000 600
11-
[pos] 793 49
12-
*-15.134570 28900 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1
13-
[sst_width] 233
14-
[signals_width] 158
15-
[sst_expanded] 1
16-
[sst_vpaned_height] 144
17-
@22
1+
[*] Code generated by Icestudio 0.13.2w202501111101
2+
[*] Sat, 11 Jan 2025 22:36:32 GMT
3+
4+
main_tb.Button
5+
main_tb.Button
6+
main_tb.LED
7+
main_tb.LED
188
main_tb.LEDs[3:0]
19-
@28
20-
main_tb.Button1
21-
main_tb.Button2
22-
main_tb.LED7
23-
main_tb.LED6
24-
@29
25-
main_tb.LED5
26-
@28
27-
main_tb.LED4
28-
[pattern_trace] 1
29-
[pattern_trace] 0
9+
main_tb.LED
10+
main_tb.LED

test-examples/ice40/alhambra-ii/icestudio-leds-buttons/main.pcf

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Code generated by Icestudio 0.8.1w202112280812
1+
# Code generated by Icestudio 0.13.2w202501111101
22

33
set_io v7b511e 37
44
set_io v17b894 34

test-examples/ice40/alhambra-ii/icestudio-leds-buttons/main.v

+10-10
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Code generated by Icestudio 0.8.1w202112280812
1+
// Code generated by Icestudio 0.13.2w202501111101
22

33
`default_nettype none
44

@@ -22,10 +22,10 @@ module main #(
2222
wire w2;
2323
wire w3;
2424
wire w4;
25-
wire [0:3] w5;
25+
wire [3:0] w5;
2626
wire w6;
27-
wire [0:3] w8;
28-
wire [0:3] w9;
27+
wire [3:0] w8;
28+
wire [3:0] w9;
2929
assign v7b511e = w0;
3030
assign v6898ff = w1;
3131
assign w2 = v17b894;
@@ -150,7 +150,7 @@ module v9b9118 #(
150150
output [3:0] v1ef182
151151
);
152152
localparam p0 = vc5c8ea;
153-
wire [0:3] w1;
153+
wire [3:0] w1;
154154
assign v1ef182 = w1;
155155
v9b9118_v465065 #(
156156
.VALUE(p0)
@@ -182,10 +182,10 @@ module v952eda (
182182
wire w0;
183183
wire w1;
184184
wire w2;
185-
wire [0:3] w3;
185+
wire [3:0] w3;
186186
wire w4;
187-
wire [0:3] w5;
188-
wire [0:3] w6;
187+
wire [3:0] w5;
188+
wire [3:0] w6;
189189
wire w7;
190190
wire w8;
191191
wire w9;
@@ -395,7 +395,7 @@ module v84f0a1 (
395395
wire w1;
396396
wire w2;
397397
wire w3;
398-
wire [0:3] w4;
398+
wire [3:0] w4;
399399
assign w0 = vee8a83;
400400
assign w1 = v03aaf0;
401401
assign w2 = vf8041d;
@@ -438,7 +438,7 @@ module vc4f23a (
438438
wire w1;
439439
wire w2;
440440
wire w3;
441-
wire [0:3] w4;
441+
wire [3:0] w4;
442442
assign v3f8943 = w0;
443443
assign v64d863 = w1;
444444
assign vda577d = w2;

0 commit comments

Comments
 (0)