Vajad kellegagi rääkida?
Küsi julgelt abi LasteAbi
Logi sisse
Sulge

"010111000101" - 1 õppematerjal

Aine kodutöö
11
doc

Aine kodutöö

entity kodutest is end kodutest; architecture bench of kodutest is signal x1, x2, x3, x4, y4, y7, y8, y9, y10: bit := '0'; component kodu port ( x1, x2, x3, x4: in bit; y4, y7, y8, y9, y10: out bit ); end component; constant x1_arr: bit_vector (0 to 11) := "000000111111"; -- määramatuspiirkond constant x2_arr: bit_vector (0 to 11) := "000011001111"; -- välja võetud constant x3_arr: bit_vector (0 to 11) := "001101010011"; constant x4_arr: bit_vector (0 to 11) := "010111000101"; begin process begin for i in x1_arr ' range loop x1 <= x1_arr(i); x2 <= x2_arr(i); x3 <= x3_arr(i); x4 <= x4_arr(i); wait for 60 ns; end loop; wait for 30 ns; wait; end process; u1: kodu port map (x1, x2, x3, x4, y4, y7, y8, y9, y10); end bench; Simulaatori tulemused vastavale koodile 1

Informaatika → Digiloogika
173 allalaadimist


Sellel veebilehel kasutatakse küpsiseid. Kasutamist jätkates nõustute küpsiste ja veebilehe üldtingimustega Nõustun