changes in vhdl file and add LUT.jpg file
This commit is contained in:
BIN
Binary file not shown.
|
After Width: | Height: | Size: 287 KiB |
+10
-28
@@ -1,20 +1,14 @@
|
||||
-----------------------------
|
||||
-- Author
|
||||
-- Date
|
||||
-- Project name
|
||||
-- Module name
|
||||
--
|
||||
-- Detailed module description
|
||||
--
|
||||
--
|
||||
--
|
||||
--
|
||||
--
|
||||
-- Imants Pulkstenis
|
||||
-- 10.02.2020
|
||||
-- RTR532 PS1
|
||||
-- PS1
|
||||
--
|
||||
-- Task 2 for Problem set #1 – My first VHDL code
|
||||
--
|
||||
-- Revision:
|
||||
-- A - initial design
|
||||
-- B -
|
||||
--
|
||||
--
|
||||
-----------------------------
|
||||
|
||||
@@ -43,28 +37,16 @@ architecture behavioral of ps01q is
|
||||
signal SIG_INTERNAL : std_logic;
|
||||
|
||||
|
||||
begin -- jums jaalabo tikai taalaakais.
|
||||
|
||||
begin
|
||||
|
||||
--gate one
|
||||
SIG_INTERNAL <= A and B;
|
||||
|
||||
SIG_INTERNAL <= A xor B;
|
||||
|
||||
--gate two
|
||||
Y2 <= C and SIG_INTERNAL;
|
||||
|
||||
Y2 <= C xnor SIG_INTERNAL;
|
||||
|
||||
--gate three
|
||||
Y1 <= A and B;
|
||||
|
||||
|
||||
--logic gate izsauksanas keywordi:
|
||||
-- not
|
||||
-- and, nand,
|
||||
-- or, xor, nor, xnor
|
||||
|
||||
|
||||
|
||||
Y1 <= A nor B; -- in assigment gate three is not ?????
|
||||
|
||||
|
||||
end behavioral;
|
||||
|
||||
Reference in New Issue
Block a user