Starting from:

$30

Digital Circuit Design II Homework 2 Solved

 HW2: (ILOs: III)
  Points:20
Given the following ASM chart  



Write a complete VHDL code to implement the architecture using 3 processes.  (Use a positive edge clk and a low level asynchronous Reset)  

 

 

 

library IEEE; 

use IEEE.STD_LOGIC_1164.ALL; Entity Parallel_To_Serial is  

        port(      CLK, RESET, WR: in std_logic; 

                    Data : in std_logic_vector(6 downto 0) 

                 TXD : out std_logic); 

End Parallel_To_Serial; 

 architecture BEHAVIOR of Parallel_To_Serial is 

 

 

You have to submit two files: 

1.      A VHDL code to implement your ASM. 

2.      A testbench file to simulate and test your design. You should cover the following cases: 

Cases: 
Reset 
Data 
WR 
Duration 
Reset:  Activation 



5 clock cycles 
Reset: Deactivation 



3 clock cycles 
Parallel Load 

1010100 

2 clock cycles 
 

1010100 

15 clock cycles 
Parallel Load 

1011100 

2 clock cycles 
 

1011100 

15 clock cycles 
Parallel Load 

0000000 

2 clock cycles 
 

0000000 

15 clock cycles 
Parallel Load 

1111111 

2 clock cycles 
 

1111111 

15 clock cycles 
Reset:  Activation 


 
5 clock cycles 
 

More products