?? gates.si
字號:
Name Gates;
Partno CA0001;
Revision 04;
Date 9/12/89;
Designer G. Woolhiser;
Company Logical Devices, Inc.;
Location None;
Assembly None;
Device G16V8A;
/****************************************************************/
/* */
/* This is a example to demonstrate how CUPL */
/* compiles simple gates. */
/* */
/****************************************************************/
/*
* Order: define order, polarity, and output
* spacing of stimulus and response values
*/
Order: a, %2, b, %4, inva, %3, invb, %5, and, %8,
nand, %7, or, %8, nor, %7, xor, %8, xnor;
/*
* Vectors: define stimulus and response values, with header
* and intermediate messages for the simulator listing.
*
* Note: Don't Care state (X) on inputs is reflected in outputs
* where appropriate.
*/
Vectors:
$msg "";
$msg " Simple Gates Simulation";
$msg "";
$msg " inverters and nand or nor xor xnor";
$msg " a b !a !b a & b !(a & b) a # b !(a # b) a $ b !(a $ b)";
$msg " - - -- -- ----- -------- ----- -------- ----- --------";
00 HHLHLHLH
01 HLLHHLHL
10 LHLHHLHL
11 LLHLHLLH
1X LXXXHLXX
X1 XLXXHLXX
0X HXLHXXXX
X0 XHLHXXXX
XX XXXXXXXX
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -