Skip to content

Commit cc98c62

Browse files
ThomasLeykimphil
authored andcommitted
DEM UART: Send events to configured destination
1 parent 9f0117e commit cc98c62

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

modules/dem_uart/common/osd_dem_uart.sv

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ module osd_dem_uart
4949

5050
osd_regaccess_layer
5151
#(.MOD_VENDOR(16'h1), .MOD_TYPE(16'h5), .MOD_VERSION(16'h0),
52-
.MAX_REG_SIZE(16), .CAN_STALL(1))
52+
.MAX_REG_SIZE(16), .CAN_STALL(1), .MOD_EVENT_DEST_DEFAULT(16'h0))
5353
u_regaccess(.clk (clk), .rst (rst), .id (id),
5454
.debug_in (debug_in),
5555
.debug_in_ready (debug_in_ready),
@@ -129,7 +129,7 @@ module osd_dem_uart
129129
end
130130
end
131131
endcase
132-
end // else: !if(rst)
132+
end
133133
end
134134

135135
always_comb begin
@@ -144,7 +144,7 @@ module osd_dem_uart
144144
end
145145
STATE_HDR_DEST: begin
146146
c_uart_out.valid = 1;
147-
c_uart_out.data = 0; // event_dest
147+
c_uart_out.data = event_dest;
148148
end
149149
STATE_HDR_SRC: begin
150150
c_uart_out.valid = 1;

0 commit comments

Comments
 (0)