Skip to content

Commit bd11c5a

Browse files
committed
DE10xxxCramps: fix copy paste error, update to 2 encoders with pins and update firmware id
Signed-off-by: Michael Brown <producer@holotronic.dk>
1 parent c6b7c18 commit bd11c5a

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

HW/QuartusProjects/DE10_Nano_FB_Cramps/firmware_id.mif

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ config argument: DE10_Nano_FB_Cramps
44
size of encoded message: 118 0x76
55
text format representation:
66
---
7-
build_sha: "dd557de"
7+
build_sha: "cb0f517"
88
fpga_part_number: "altera socfpga"
99
connector {
1010
name: "GPIO0.P0"
@@ -23,7 +23,7 @@ board_name: "Terasic DE10-Nano"
2323
comment: "$BUILD_URL unset"
2424
---
2525

26-
wire format length=118 0a0764643535376465120e616c7465726120736f63667067611a0f0a084750494f302e503015180000001a0f0a084750494f302e503115180000001a0f0a084750494f302e5032151800000025000000002a115465726173696320444531302d4e616e6f3210244255494c445f55524c20756e736574
26+
wire format length=118 0a0763623066353137120e616c7465726120736f63667067611a0f0a084750494f302e503015180000001a0f0a084750494f302e503115180000001a0f0a084750494f302e5032151800000025000000002a115465726173696320444531302d4e616e6f3210244255494c445f55524c20756e736574
2727

2828
size of MIF struct including cookie and length field: 126
2929
%
@@ -38,9 +38,9 @@ DATA_RADIX=HEX;
3838
CONTENT BEGIN
3939
0000 : feedbabe;
4040
0001 : 00000076;
41-
0002 : 6464070a;
42-
0003 : 64373535;
43-
0004 : 610e1265;
41+
0002 : 6263070a;
42+
0003 : 31356630;
43+
0004 : 610e1237;
4444
0005 : 7265746c;
4545
0006 : 6f732061;
4646
0007 : 67706663;

HW/hm2/config/DE10_Nano_FB_Cramps/PIN_3x24_cap.vhd

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -154,12 +154,12 @@ package Pintypes is
154154
IOPortTag & x"00" & CAPSENSETag & CapSensePin1, -- I/O 38 GPIO_1 03 03 CapSense sense 1
155155
IOPortTag & x"00" & CAPSENSETag & CapSensePin2, -- I/O 39 GPIO_1 04 04 CapSense sense 2
156156
IOPortTag & x"00" & CAPSENSETag & CapSensePin3, -- I/O 40 GPIO_1 05 05 CapSense sense 3
157-
IOPortTag & x"00" & NullTag & NullPin, -- I/O 41 GPIO_1 06 06 just GPIO
158-
IOPortTag & x"00" & NullTag & NullPin, -- I/O 42 GPIO_1 07 07 just GPIO
159-
IOPortTag & x"00" & NullTag & NullPin, -- I/O 43 GPIO_1 08 08 just GPIO
160-
IOPortTag & x"00" & NullTag & NullPin, -- I/O 44 GPIO_1 09 09 just GPIO
161-
IOPortTag & x"00" & NullTag & NullPin, -- I/O 45 GPIO_1 10 10 just GPIO
162-
IOPortTag & x"00" & NullTag & NullPin, -- I/O 46 GPIO_1 11 13 just GPIO
157+
IOPortTag & x"00" & QCountTag & QCountIdxPin, -- I/O 41 GPIO_1 06 06 Encoder Z
158+
IOPortTag & x"00" & QCountTag & QCountQBPin, -- I/O 42 GPIO_1 07 07 Encoder B
159+
IOPortTag & x"00" & QCountTag & QCountQAPin, -- I/O 43 GPIO_1 08 08 Encoder A
160+
IOPortTag & x"01" & QCountTag & QCountIdxPin, -- I/O 44 GPIO_1 09 09 Encoder Z
161+
IOPortTag & x"01" & QCountTag & QCountQBPin, -- I/O 45 GPIO_1 10 10 Encoder B
162+
IOPortTag & x"01" & QCountTag & QCountQAPin, -- I/O 46 GPIO_1 11 13 Encoder A
163163
IOPortTag & x"00" & NullTag & NullPin, -- I/O 47 GPIO_1 12 14 just GPIO
164164
IOPortTag & x"00" & NullTag & NullPin, -- I/O 48 GPIO_1 13 15 just GPIO
165165
IOPortTag & x"00" & NullTag & NullPin, -- I/O 49 GPIO_1 14 16 just GPIO

0 commit comments

Comments
 (0)