Board logo

标题: 达姆Information and Communication Engineering 的试题,欢迎解答。 [打印本页]

作者: benq51c    时间: 2006-5-24 13:29     标题: 达姆Information and Communication Engineering 的试题,欢迎解答。

The following datapath is given:

[ 本帖最后由 benq51c 于 2006-5-24 14:30 编辑 ]

图片附件: datapath.gif (2006-5-24 13:29, 11.35 KB) / 下载次数 0
http://rs238848.rs.hosteurope.de/bbs/attachment.php?aid=200676&k=90bb692f1e7f68c37ff69882be927d26&t=1732791785&sid=Fy8oOf


作者: benq51c    时间: 2006-5-24 13:30

All the connections are 32-bit vectors, except for the control signals and the GT.
A control unit should be implemented and connected to the datapath as follows:

图片附件: control.gif (2006-5-24 13:30, 6.06 KB) / 下载次数 0
http://rs238848.rs.hosteurope.de/bbs/attachment.php?aid=200679&k=0b9fb7842cd5fa9cd53f537eb1c6f05a&t=1732791785&sid=Fy8oOf


作者: benq51c    时间: 2006-5-24 13:31

The datapath outputs r1, r2 and r3 are directly connected to the respective register outputs, and were ommited in Figure 1 for the sake of simplicity.
In START=0 the automat is in wait state. On START=1 the three 32-bit words A, B and C are input through IN, within the three following clock cycles. The procedure is shown in Figure 3.

图片附件: waveform.gif (2006-5-24 13:31, 3.77 KB) / 下载次数 0
http://rs238848.rs.hosteurope.de/bbs/attachment.php?aid=200680&k=5a3ec7bfce56b94bf0cbe4fe8f8a52aa&t=1732791785&sid=Fy8oOf


作者: benq51c    时间: 2006-5-24 13:31

After the data input, the following results should be stored in the registers using the lowest possible number of clock cycles:

               if A>=B                                               if A<B
r1             A+C                                                     A+B
r2            A+B                                                      B+C
r3                the bigger number among A, B and C


For example, if C>B>A, the results would be:

r1      A+B
r2      B+C
r3      C


The control unit notifies that the correct results are loaded in the registers by setting the END signal to 1 during one clock cycle, and then back to 0.

(A) Show how many different addition operations can be performed in one clock cycle. Show also for each addition, which different conditions can be tested in a single clock cycle.

(B) Develop a statechart (Mealy Automat) for a control unit which - working together with the given datapath - guarantee the desired behaviour. Show also the necessary register transfers in the transitions. Use in your statechart only the registers r1, r2 and r3, the input vector IN and the signals START and END.
Notation Example:
r2>r1 / r1 <- r1 + r2

[ 本帖最后由 benq51c 于 2006-5-24 14:33 编辑 ]
作者: STROM    时间: 2006-5-24 13:36

还是英文的......




欢迎光临 人在德国 社区 (http://rs238848.rs.hosteurope.de/bbs/) Powered by Discuz! 7.2