23 lines
414 B
Plaintext
23 lines
414 B
Plaintext
ENTITY rf2_inmux_mem IS
|
|
PORT (
|
|
datain0 : in BIT;
|
|
datain1 : in BIT;
|
|
sel0 : in BIT;
|
|
sel1 : in BIT;
|
|
dinx : out BIT;
|
|
vdd : in BIT;
|
|
vss : in BIT
|
|
);
|
|
END rf2_inmux_mem;
|
|
|
|
ARCHITECTURE VBE OF rf2_inmux_mem IS
|
|
|
|
BEGIN
|
|
ASSERT (vdd and not (vss))
|
|
REPORT "power supply is missing on rf2_inmux_mem"
|
|
SEVERITY WARNING;
|
|
|
|
dinx <= (sel0 and datain0) or (sel1 and datain1);
|
|
|
|
END;
|