2013-04-25 35 views
2

組合電路設計問題。LED照明組合電路

A 
    ____ 
    | | 
F | | B 
    | | 
    ____ 
    | G | 
E | | C 
    | | 
    ____ 
    D 

Suppose this is a LED display. It would take input of 4 bit 
(0000)-(1111) and display the Hex of it. For example 
if (1100) come in it would display C by turning on AFED and turning off BCG. 

If (1010) comes in it would display A by turning on ABCEFG 
and turn off D. 

These display will all be Capital letters so there is no visual 
difference between 0 and D and 8 and B. 

Develop a truth table and an optimized expression using Karnaugh Maps. 

我不確定如何開始。對於真值表,我會使用(w,x,y,z)作爲輸入變量還是僅僅使用ABCDEFG變量,因爲它是打開和關閉的變量?

input (1010)-->A--> ABCEFG~D (~ stand for NOT) 
input (1011)-->B--> ABCDEFG 
input (1100)-->C--> ADEF~B~C~G 

所以我會爲所有的十六進制0-F做那麼會給我最小。然後使用卡諾圖來優化它?任何幫助將不勝感激!

回答

0

)網友你的燈位:

ABCDEFG,所以真值表將是:

    ABCDEFG 
input (1010)-->A-->1110110 

等。

你將有大表(16行)。 2)然後按照每個輸出光的wikipedia的樣品。

0

您需要執行以下操作之一:7段顯示中每個段的每個段。 此圖僅供參考。它不一定映射到問題中的任何部分。

cd=00 01 11 10 <-- where abcd = 0000 for 0 : put '1' if the light is on 
ab= 00 1 1 1 1     = 0001 for 1 : put '0' if it's off for 
ab= 01 1 1 1 0     = 0010 for 2 ...  the given segment 
ab= 11 0 1 1 1   
ab= 10 1 1 1 0     = 1111 for f 
      ^^^^ = d=1 region 
       ^^^^ = c==1 region 

兩個中間行表示「b == 1」區域,最後兩行是== 1區域。

從該圖中查找最大尺寸的矩形(尺寸爲[1,2或4] x [1,2或4]);可以重疊。中間的2x4區域被編碼爲'd'。最上面一行是'〜a〜b'。左上方的2x2正方形是'〜a〜c'。從第4行到第1行的左下方正方形包裝是'〜b〜c'。最後,覆蓋位置x = 4,y = 3的小2x1區域是'abc'。因此該函數將是'd +〜a〜b +〜a〜c +〜b〜c + abc'。如果沒有多餘的方塊(被其他方塊完全覆蓋),那麼這個公式應該是最優的規範形式。 (不包括異或操作)。重複7次以獲得真實數據!

無論您使用abcd還是dcba或acbd等,變量的任何選擇/置換都應給出相同的邏輯電路。