佳礼资讯网

 找回密码
 注册

ADVERTISEMENT

查看: 1712|回复: 18

logic circuit问题..要帖是开错地方,版主请帮忙移一下。。

[复制链接]
发表于 12-11-2010 01:07 PM | 显示全部楼层 |阅读模式
本帖最后由 0164657465 于 12-11-2010 01:24 PM 编辑

我有个project要弄个logic circuit , 能显示0-99的号码。。我用Karnaugh Map Minimizer找SOP( SUM OF PRODUCT) solution,画出照片里的logic circuit , 要display 0-4 , 6-9没问题,但要display "5" ,会少一划(segment E)..高手请指教下。。
回复

使用道具 举报


ADVERTISEMENT

发表于 16-11-2010 06:33 PM | 显示全部楼层
本帖最后由 puangenlun 于 16-11-2010 06:38 PM 编辑

假設你的 ABCD分別對應我的S4321

那么

a=not((s2 xor s4) and (s1 nor s3))
做反了,所以前面加not
回复

使用道具 举报

发表于 16-11-2010 06:42 PM | 显示全部楼层
b=not(((not s1) and s2) and (s3 xor s4))

又反了,所以前面有not
回复

使用道具 举报

发表于 16-11-2010 06:52 PM | 显示全部楼层
c=not((s1 nor s2) and ((not s3) nor s4))

有時候用not比較好做。
回复

使用道具 举报

发表于 16-11-2010 07:06 PM | 显示全部楼层
d=(((((not s1) and s2) and s3) and s4) nor (not a))

http://www.neuroproductions.be/logic-lab/index.php?id=1855
回复

使用道具 举报

发表于 16-11-2010 08:19 PM | 显示全部楼层
e=((not s4) and (((s1 xor s3) and (not s2)) or ((s2 xnor s3) and (not s1)))
回复

使用道具 举报

Follow Us
 楼主| 发表于 16-11-2010 08:23 PM | 显示全部楼层
假設你的 ABCD分別對應我的S4321

那么

a=not((s2 xor s4) and (s1 nor s3))
做反了,所以前面加not
puangenlun 发表于 16-11-2010 06:33 PM


我的四个INPUT , a b c d 前面都加NOT?
回复

使用道具 举报

发表于 16-11-2010 08:26 PM | 显示全部楼层
f=not ((((s3 xor s4) and (not s2)) or (s3 and s4)) and (not s1))
回复

使用道具 举报


ADVERTISEMENT

发表于 16-11-2010 08:28 PM | 显示全部楼层
回复

使用道具 举报

发表于 16-11-2010 08:34 PM | 显示全部楼层
本帖最后由 puangenlun 于 16-11-2010 08:38 PM 编辑

g=not(((s1 nor s2) and (not s3)) or (((s2 and s3) and s4) and (not s1)))
回复

使用道具 举报

发表于 16-11-2010 08:35 PM | 显示全部楼层
答案應該還可以再化簡的,自己來吧!
回复

使用道具 举报

发表于 16-11-2010 08:37 PM | 显示全部楼层
本帖最后由 puangenlun 于 16-11-2010 08:40 PM 编辑

回复 7# 0164657465


   不是的,我是指我自己做反了,所以前面才有not。
回复

使用道具 举报

发表于 16-11-2010 08:39 PM | 显示全部楼层
回复

使用道具 举报

 楼主| 发表于 16-11-2010 08:49 PM | 显示全部楼层
puangenlun 发表于 16-11-2010 08:39 PM



    我没自己用K-map simplify equation , 我用K map minimizer ( software ) 来弄,但出来的equation/solution跟用k map画出来的,有出入,我会再试看。
回复

使用道具 举报

发表于 16-11-2010 09:52 PM | 显示全部楼层
沒有關系,只要理論上是對的,那么再檢查幾遍就會發現錯誤的。
回复

使用道具 举报

 楼主| 发表于 17-11-2010 11:55 AM | 显示全部楼层
沒有關系,只要理論上是對的,那么再檢查幾遍就會發現錯誤的。
puangenlun 发表于 16-11-2010 09:52 PM



    我查了了几次,看不出错那里 = = (新手)
回复

使用道具 举报


ADVERTISEMENT

发表于 18-11-2010 11:41 AM | 显示全部楼层
我用Karnaugh Map Minimizer計算了一下,結果如下

g=|BC+B|C+B|D+A=(A+B+C)(|B+|C+|D)

比較我的結果,汗顏。

現在我才明白原來小小的一個7 segment display這么有學問

以前學的logic gate題目很無聊
做這個倒是覺得很有意義。
回复

使用道具 举报

 楼主| 发表于 18-11-2010 05:36 PM | 显示全部楼层
我用Karnaugh Map Minimizer計算了一下,結果如下

g=|BC+B|C+B|D+A=(A+B+C)(|B+|C+|D)

比較我的結果, ...
puangenlun 发表于 18-11-2010 11:41 AM



   其实我是大学生。。我之前没什么做过logic circuit。。你真好学^_^
回复

使用道具 举报

发表于 18-11-2010 07:32 PM | 显示全部楼层
其實我也沒有正式學過logic circuit
我學的只是那些and or not等等

Karnaugh Map看起來很難
我沒有心學 所以用 minimizer
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

 

ADVERTISEMENT



ADVERTISEMENT



ADVERTISEMENT

ADVERTISEMENT


版权所有 © 1996-2023 Cari Internet Sdn Bhd (483575-W)|IPSERVERONE 提供云主机|广告刊登|关于我们|私隐权|免控|投诉|联络|脸书|佳礼资讯网

GMT+8, 20-4-2024 06:25 PM , Processed in 0.064418 second(s), 23 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表