阅读:3071回复:15
请教PROTEL中用CUPL对GAL编程的高手,帮一个看这个怎么编
有G16V8一块,1脚定义为片选,11脚接地,2脚到9脚定义为D0到D7位数据口,要使19脚送08时变为高电平,送80或77时变为低电平,其它送数字保持不变,选给各位大侠磕头了!mail为XUKAIMING@CMMAIL .COM
|
|
沙发#
发布于:2002-05-25 08:08
1脚定义为片选,高
|
|
|
板凳#
发布于:2002-05-25 08:49
1脚定义为片选,按高
|
|
|
地板#
发布于:2002-05-26 16:47
不管高电平低电平,都一样来一个,OE是低有效
|
|
地下室#
发布于:2002-05-27 08:02
:D :D 那我的程序正好,隗快去式一式吧,
|
|
|
5楼#
发布于:2002-05-27 10:00
第一脚应定为CLK,11脚应定为OE
|
|
6楼#
发布于:2002-05-27 19:28
呃 |
|
|
7楼#
发布于:2002-05-27 19:28
呃 |
|
|
8楼#
发布于:2002-05-27 23:16
你别臭我,我知道1脚是锁存信号,没错啊,只是不知极性可否编程(在用干时序逻辑电路时,我的PROTEL用时编绎老是错的,不知是不是盗版的原因啊(产生错误码的JED文件)
|
|
9楼#
发布于:2002-05-27 23:47
呃
|
|
10楼#
发布于:2002-06-02 20:35
你应该查一下编译前是否选对了型号,在protel里,根据16v8的不同用法,其配置参数应选不同的后缀
|
|
11楼#
发布于:2002-06-02 21:16
有G16V8一块,1脚定义为片选,11脚接地,2脚到9脚定义为D0到D7位数据口,要使19脚送08时变为高电平,送80或77时变为低电平,其它送数字保持不变,
\"19\"=08&\"1\" no\"19\'=80&\'1\'+77&\'1\' |
|
12楼#
发布于:2002-06-03 23:42
你们最好给我答案(就是写出源程序)然后我自已会分析,我已经给了你们分,请多多指教!
|
|
13楼#
发布于:2002-06-05 23:45
PIN 11 = NetU1_I;
/* Part = (U1) */ PIN 2 = NetU3_I0; /* Part = (U3) */ PIN 3 = NetU3_I1; /* Part = (U3) */ PIN 4 = NetU3_I2; /* Part = (U3) */ PIN 5 = NetU3_I3; /* Part = (U3) */ PIN 6 = NetU3_I4; /* Part = (U3) */ PIN 7 = NetU3_I5; /* Part = (U3) */ PIN 8 = NetU3_I6; /* Part = (U3) */ PIN 9 = NetU3_I7; /* Part = (U3) */ PIN 1 = NetU4_I; /* Part = (U4) */ PIN 19 = NetU5_O; /* Part = (U5) */ /*************************************************************************************/ /*************************************************************************************/ /* Logic Equations */ /*************************************************************************************/ NetU2_O = NetU12_O # NetU13_O; /* Part = (U2) */ NetU10_O = NetU11_O # NetU16_O; /* Part = (U10) */ NetU11_O = NetU15_O0 & NetU15_O1 & NetU15_O2 & NetU3_I3 & NetU15_O4 & NetU15_O5 & NetU15_O6 & NetU15_O7; /* Part = (U11) */ NetU12_O = NetU15_O0 & NetU15_O1 & NetU15_O2 & NetU15_O3 & NetU15_O5 & NetU15_O6 & NetU15_O7 & NetU3_I7; /* Part = (U12) */ NetU13_O = NetU3_I0 & NetU3_I1 & NetU3_I2 & NetU15_O3 & NetU3_I4 & NetU3_I5 & NetU3_I6 & NetU15_O7; /* Part = (U13) */ NetU15_O0 = !NetU3_I0; /* Part = (U15) */ NetU15_O1 = !NetU3_I1; /* Part = (U15) */ NetU15_O2 = !NetU3_I2; /* Part = (U15) */ NetU15_O3 = !NetU3_I3; /* Part = (U15) */ NetU15_O4 = !NetU3_I4; /* Part = (U15) */ NetU15_O5 = !NetU3_I5; /* Part = (U15) */ NetU15_O6 = !NetU3_I6; /* Part = (U15) */ NetU15_O7 = !NetU3_I7; /* Part = (U15) */ NetU16_O = !NetU2_O; /* Part = (U16) */ NetU17_O = NetU4_I & NetU11_O & NetU2_O; /* Part = (U17) */ NetU5_O. d = NetU10_O; /* Part = (U18) */ NetU5_O. ck = NetU17_O; /* Part = (U18) */ NetU5_O. oe = NetU1_I; /* Part = (U19) */ /*************************************************************************************/ |
|
14楼#
发布于:2002-06-05 23:46
第一脚应定为CLK,11脚应定为OE |
|
15楼#
发布于:2002-06-06 20:51
如何给分啊,为什么一进来就说我没登录,明明已经登录了的,
|
|