Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Input:A,B,C,D Output:W,X,Y,Z Equations that will represent our Braille printer.

ID: 2081013 • Letter: I

Question

Input:A,B,C,D

Output:W,X,Y,Z

Equations that will represent our Braille printer.

W=B+C+A'D+AD'

X=A'C'D'+BD'+CD+AD

Y=(B+D')(C'+D)

Z=(A+B+D')(B'+C)

Write a VHDL module describing the Braille printer. Use the same logic expressions (in terms of AND, OR, and NOT gates), same input and output names.

entity BraillePrinter is

Port ( A : in STD_LOGIC;

   B : in STD_LOGIC;

   C : in STD_LOGIC;

   D : in STD_LOGIC;

   X : out STD_LOGIC;

   W : out STD_LOGIC;

   Y : out STD_LOGIC;

   Z : out STD_LOGIC);

end Example;

architecture Behavioral of Example is

begin

-- Your VDHL Code Here

end Behavioral;

Explanation / Answer

entity BraillePrinter is

Port ( A : in STD_LOGIC;

   B : in STD_LOGIC;

   C : in STD_LOGIC;

   D : in STD_LOGIC;

   X : out STD_LOGIC;

   W : out STD_LOGIC;

   Y : out STD_LOGIC;

   Z : out STD_LOGIC);

end Example;

architecture Behavioral of Example is

begin

W<= (B OR C OR (A XOR D));

X<= ((NOT A) AND (NOT C) AND (NOT D)) OR ( B AND (NOT D)) OR (C AND D) OR (A AND D);

Y= (B OR (NOT D)) AND ((NOT C) OR D);

Z<= (A OR B OR (NOT D)) AND ((NOT B) OR C);

end Behavioral;