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
Geehrter Beitragender II
1.716Aufrufe

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 Antworten
Altera_Forum
Geehrter Beitragender II
807Aufrufe

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
Antworten