【发布时间】:2012-09-25 21:01:39
【问题描述】:
我目前正试图理解与比赛条件相关的两件事。
问题 1:
我收到了以下问题:
We consider the digital circuit and the value of its inputs a,
and b as given below. For all logic gates, we assume that
there is a gate delay of exactly one time unit (i.e. the gate
delay equals the time between two dotted lines in the
diagram). Give the values of c, d, e, f in the digital circuit for
every point of time between 0 and 8.
而给出的答案如下:
这究竟是如何实现的?这是我目前的想法:
- c 从 1 开始,因为 a 从 0 开始
- d 从 0 开始,因为 b 从 1 开始
- 当时间等于 2 时,a 变为 1...c 切换到 0 的传播延迟为 1,因此它在 3 次变为 0单位
- 同样的逻辑适用于 d
- e 和 f 应该是常数 1 或 0,但似乎受到某些东西的影响。
这里到底发生了什么?它是否与布尔函数或某些东西有关。如果有呢?
问题 2:
有没有人有一种简单的方法或逻辑方法来产生一个简单的电路(使用 XOR、AND、OR、NOT、NAND 布尔函数:
- 静态竞争条件 - 当值是常量时
- 动态竞争条件 - 当值预期发生变化时
提前非常感谢!
【问题讨论】:
-
@Hans haha 这是计算机科学考试的修订版
标签: race-condition circuit digital-logic circuit-diagram