top-down 源代码
自顶向下(top-down)的分析算法通过在最左推导中描述出各个步骤来分析记号串输入。将大型的数字电路设计分割成大小不一的小模块来实现特定的功能,最后通过由顶层模块调用子模块来实现整体功能,这就是Top-Down的设计思想。
#!/bin/tcsh # # ini-lun1-down # # vi: set autoindent tabstop=4 shiftwidth=4 : # # bring down just lun 1, not the connection or ses…
#!/bin/tcsh # # target-down-sample # echo "delfile targetid=1 lun=4" # echo > /proc/scsi_target/scsi_target "delfile targetid=1 lu…
#!/bin/tcsh # # ini-conn1-down # # vi: set autoindent tabstop=4 shiftwidth=4 : # # bring down the first connection in a session # …
#!/bin/tcsh # # ini-lun0-down # # vi: set autoindent tabstop=4 shiftwidth=4 : # # bring down just lun 0, not the connection or ses…
#!/bin/tcsh # # ini-conn2-down # # vi: set autoindent tabstop=4 shiftwidth=4 : # # bring down second connection in a session # ./i…