Skip to content

Commit 551044e

Browse files
committed
feat: chang uart hex format to uppercase letter
1 parent 58110b8 commit 551044e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

gowin/src/print.v

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ assign hex_lib[4'h6] = 8'h36;
3232
assign hex_lib[4'h7] = 8'h37;
3333
assign hex_lib[4'h8] = 8'h38;
3434
assign hex_lib[4'h9] = 8'h39;
35-
assign hex_lib[4'hA] = 8'h61;
36-
assign hex_lib[4'hB] = 8'h62;
37-
assign hex_lib[4'hC] = 8'h63;
38-
assign hex_lib[4'hD] = 8'h64;
39-
assign hex_lib[4'hE] = 8'h65;
40-
assign hex_lib[4'hF] = 8'h66;
35+
assign hex_lib[4'hA] = 8'h41;
36+
assign hex_lib[4'hB] = 8'h42;
37+
assign hex_lib[4'hC] = 8'h43;
38+
assign hex_lib[4'hD] = 8'h44;
39+
assign hex_lib[4'hE] = 8'h45;
40+
assign hex_lib[4'hF] = 8'h46;
4141

4242
//always block to handle the print task
4343
always @(posedge print_clk) begin

0 commit comments

Comments
 (0)