Skip to content

Make Rx synchronous #13

@EvilLord666

Description

@EvilLord666

As were suggested in commentaries about this post we should use rxd as follows:

logic [2:0] rxd;

// synchronize to the incoming RX data line using a 3-bit shift register
always_ff @(posedge clk) begin
  rxd <= {rxd[1:0], RX};
end

// use rxd[2] instead of RX when shifting in data bits

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions