URL
https://opencores.org/ocsvn/idea/idea/trunk
Subversion Repositories idea
[/] [idea/] [trunk/] [behavioral/] [idea_machine/] [fulladder_bopo.vbe] - Rev 9
Compare with Previous | Blame | View Log
-- VHDL data flow description generated from `fulladder_bopo`
-- date : Sat Sep 8 00:29:32 2001
-- Entity Declaration
ENTITY fulladder_bopo IS
PORT (
a : in BIT; -- a
b : in BIT; -- b
cin : in BIT; -- cin
cout : out BIT; -- cout
sout : out BIT; -- sout
vdd : in BIT; -- vdd
vss : in BIT -- vss
);
END fulladder_bopo;
-- Architecture Declaration
ARCHITECTURE behaviour_data_flow OF fulladder_bopo IS
BEGIN
ASSERT ((vdd and not (vss)) = '1')
REPORT "power supply is missing on fulladder"
SEVERITY WARNING;
sout <= (a xor b xor cin);
cout <= ((a and b) or (cin and (a or b)));
END;