What is this block? 这块积木是什么?
A vending machine has three parts: panel, coil channels, control board. This block has the same three. 一台自动售货机分三部分:面板、货道、控制板。这块积木也是这三样。
It's like…就像……
A vending machine: you press the panel, one coil turns, a bottle drops. Whether it turns at all is the control board's call. 一台自动售货机:面板上按一下,里面的货道转一格,一瓶水掉下来。转不转,由里面的控制板说。
The CPU only talks through this panel CPU 只能从这块面板说话
The panel has three slots: one starts it, one says how much, one is read-only. Reading that one asks whether it is busy. 面板上有三格:一格按下就开始,一格写一次做多少,一格只能读。读那一格,是问它忙不忙。
Goods on the thick line, orders on the thin one 粗线走货,细虚线发令
Goods come in on the left, pass through both work blocks, leave on the right. The control board carries nothing; it only says when to move. 货从左边进来,穿过两个处理块,从右边出去。粗线是数据通路,细虚线是控制通路:只发令,不走货。
Why does each side raise a hand? 为什么两边都要举手?
The two sides run at different speeds, so the ready one waits with its hand up. 两边快慢不一样,先准备好的那边举着手等,货就不会丢。
It's like…就像……
The same machine: the coil says "one is ready", the bin says "I have room". Only then does the bottle drop. 还是那台售货机:货道说「这瓶好了」,取货口说「我这空着」。两句都出来,瓶子才掉。