


































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
These are the Lecture Slides of Computer Science which includes Bit Adder, Code, Vector, Bcdcarryout, Architecture Behavioral, Component, Signal, Waveform, Logic etc. Key important points are: Type Associated, Data Types, Type Associated, Set of Operation, Values, Object, Bit, Boolean, Character, Integer
Typology: Slides
1 / 42
This page cannot be seen from the preview
Don't miss anything!



































Architecture test of test is
Begin
Process (x) Variable a: integer; Begin a := 1; --ok a := -1 ; -- ok a := 1.0; -- error End process;
End test;
TYPE fourval IS (โxโ, โ0โ, โ1โ, โzโ); TYPE color IS (red,yellow, blue,green,orange);
Type std_logic is (
โUโ, -- uninititalized โXโ, -- forcing unknown โ0โ, -- forcing 0 โ1โ, -- forcing 1 โZโ, --high impedence โWโ, --weak unknown โLโ, --weak 0 โHโ, -- weak 1 โ-โ); -- donโt care
Architecture test_ar of mp is
Type color is range in (yellow,red);
Begin
process (test) begin case test is when red => a := data; end case; end process;
End test_ar; Docsity.com
Package example is
type current is range 0 to 10000000000 units na; ua = 1000 na; -- nano amp ma = 1000 ua; -- micro amp a = 1000 ma; End units; type load_factor is (small, med, big);
End example;
Architecture delay-cal of delay is
Begin
delay <= 10 ns when (load = small) else 20 ns when (load = med) else 30 ns when (load = big) else 40 ns; out-current <= 1000 ua when (load= small) else 1 ma when (load = med) else 100 ua;
End delay-cal;