UFP 发表于 2010-6-28 00:14:33

请教串并并串转换原理

本帖最后由 fpgaw 于 2010-7-3 20:38 编辑

请教串并并串转换原理

encounter 发表于 2010-6-28 01:06:25

搞个移位寄存器就可以了啊

ATA 发表于 2010-6-28 01:40:33

嗯,说得对!!

CHA 发表于 2010-6-28 02:33:20

移位寄存器!

usb 发表于 2010-6-28 03:50:18

看看UART

interi 发表于 2010-6-28 05:19:44

这个移位寄存器也要自己实现,<br>
如8位<br>
这样实现可以么?<br>
reg&nbsp; &nbsp;&nbsp;&nbsp;temp;<br>
output&nbsp; &nbsp; sdout;<br>
input clk;<br>
integer&nbsp; &nbsp; &nbsp; &nbsp; i;<br>
<br>
always @(negedge clk)<br>
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;begin<br>
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;i=i+1;<br>
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;sdout=temp;<br>
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;end

CCIE 发表于 2010-6-28 07:00:46

移位寄存器,最简单

VVC 发表于 2010-6-28 08:11:25

原帖由 xingyuline 于 2006-6-27 21:07 发表<br>
integer&nbsp; &nbsp; &nbsp; &nbsp; i;<br>
<br>
always @(negedge clk)<br>
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;begin<br>
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;i=i+1;<br>
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;sdout=temp;<br>
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;end 你是要用FOR循环吧?不完整。

CHAN 发表于 2010-6-28 09:36:19

嗯啊.<br>
还是移位寄存器方便<br>
大家怎么不说具体点,我刚开始学不晓得嘛<br>
其实就是<br>
{seg,sdout}=seg;<br>
就实现了

longtime 发表于 2010-6-28 11:20:25

要个移位寄存器,并入串出,或者串入并出的,但是要注意时序的搭配;<br>
这是很基本的VHDL的四大基本之一..
页: [1] 2 3
查看完整版本: 请教串并并串转换原理