Skip to content

Commit e9e01f2

Browse files
authored
Merge pull request #33 from terrillmoore/issue32
Fix device descriptor expectation
2 parents 858d1a9 + 93aa8db commit e9e01f2

File tree

1 file changed

+6
-7
lines changed
  • tests/win10_enumeration_test

1 file changed

+6
-7
lines changed

tests/win10_enumeration_test/test.v

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
send_usb_port_reset();
55
#1000000;
66

7-
87
///////////////////////////////////
98
// setup stage
109
send_usb_setup(0, 0);
@@ -14,8 +13,8 @@
1413
// data stage
1514
send_usb_in(0, 0);
1615
expect_usb_data1(
17-
{8'h01, 8'h00, 8'h00, 8'h00, 8'h00, 8'h00, 8'h21, 8'h00, 8'h12,
18-
8'h09, 8'h20, 8'h00, 8'h00, 8'h02, 8'h02, 8'h00, 8'h01, 8'h12}, 18 * 8);
16+
{8'h01, 8'h00, 8'h00, 8'h00, 8'h00, 8'h00, 8'h61, 8'h30, 8'h1d,
17+
8'h50, 8'h20, 8'h00, 8'h00, 8'h02, 8'h02, 8'h00, 8'h01, 8'h12}, 18 * 8);
1918
send_usb_ack();
2019

2120
// status stage
@@ -45,8 +44,8 @@
4544
// data stage
4645
send_usb_in(30, 0);
4746
expect_usb_data1(
48-
{8'h01, 8'h00, 8'h00, 8'h00, 8'h00, 8'h00, 8'h21, 8'h00, 8'h12,
49-
8'h09, 8'h20, 8'h00, 8'h00, 8'h02, 8'h02, 8'h00, 8'h01, 8'h12}, 18 * 8);
47+
{8'h01, 8'h00, 8'h00, 8'h00, 8'h00, 8'h00, 8'h61, 8'h30, 8'h1d,
48+
8'h50, 8'h20, 8'h00, 8'h00, 8'h02, 8'h02, 8'h00, 8'h01, 8'h12}, 18 * 8);
5049
send_usb_ack();
5150

5251
// status stage
@@ -117,8 +116,8 @@
117116
// data stage
118117
send_usb_in(30, 0);
119118
expect_usb_data1(
120-
{8'h01, 8'h00, 8'h00, 8'h00, 8'h00, 8'h00, 8'h21, 8'h00, 8'h12,
121-
8'h09, 8'h20, 8'h00, 8'h00, 8'h02, 8'h02, 8'h00, 8'h01, 8'h12}, 18 * 8);
119+
{8'h01, 8'h00, 8'h00, 8'h00, 8'h00, 8'h00, 8'h61, 8'h30, 8'h1d,
120+
8'h50, 8'h20, 8'h00, 8'h00, 8'h02, 8'h02, 8'h00, 8'h01, 8'h12}, 18 * 8);
122121
send_usb_ack();
123122

124123
// status stage

0 commit comments

Comments
 (0)