Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)

PISO and SIPO

Altera_Forum
Honored Contributor II
1,705 Views

Hello, 

 

I need to implement parallel-to-serial and serial-to-parallel blocks. 

Is there any megawizard/function that does this in the Quartus?  

and if not, how can I do it efficiently using verilog? 

 

Thank you.
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
796 Views

Hello, 

 

you can use the LPM_SHIFTREG Megafunction or elementary HDL contsructs like this 

 

always @(posedge clk) begin sr <= { sr, si}; // left shift, serial input end 

 

Regards, 

Frank
0 Kudos
Reply