- A Draw The Waveforms Of Signal Y And Z After The Execution Of The Following Vhdl Statements The Waveform For Signal X 1 (74.18 KiB) Viewed 24 times
a. Draw the waveforms of signal Y and Z after the execution of the following VHDL statements. The waveform for signal X
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
a. Draw the waveforms of signal Y and Z after the execution of the following VHDL statements. The waveform for signal X
a. Draw the waveforms of signal Y and Z after the execution of the following VHDL statements. The waveform for signal X is shown in Figure 1. (8 Marks) Y<= transport X after 5ns; Z <= reject 5ns inertial not X after 10ns; X 0 5 10 15 20 25 30 35 ns Figure 1 b. Consider the below object declarations. signal sig1: std_logic_vector (7 downto 0):="01010011"; signal sig2, sig3, sig4: std_logic_vector(7 downto 0); Signal P: integer:=-10; Signal Q: integer:= 4; Signal x, y, z: integer range -10 to 10; Determine the output after initial execution of following codes. Show each step clearly. sig2 <= sig1 sra -2; sig3 <= sig1 rol -2; sig4 <= sig2 nand sig3; ii. x<= p mod q; y<= p rem q; Z<= x + y; (6 Marks) (6 Marks)