Entity: oh_ser2par

Diagram

PW SW CW clk [SW-1:0] din lsbfirst shift [PW-1:0] dout

Description

#############################################################################

Purpose: Serial to Parallel Converter

#############################################################################

Author: Andreas Olofsson

License: MIT (see LICENSE file in OH! repository) #

#############################################################################

Generics

Generic name Type Value Description
PW 64 parallel packet width
SW 1 serial packet width
CW $clog2(PW/SW) serialization factor (for counter)

Ports

Port name Direction Type Description
clk input sampling clock
din input [SW-1:0] serial data
dout output [PW-1:0] parallel data
lsbfirst input lsb first order
shift input shift the shifter

Signals

Name Type Description
count reg [CW-1:0]
shiftdata wire [PW-1:0]

Processes

Type: always