Starting from:

$25

ECE581 - Project 1  -Solved

Problem 1 (by hand): Design a sequential circuit S1 with the following requirements

a)  The combinational logic part for the next state function should contain at least 3 NAND gates, one NXOR gate and 2 OR gates.  

b)  The number of the flip-flops should be at least 4.  

c)  The sequential circuit should have at least an output.  

d)  Make sure that your design be different from those used by other students. If your design is identical to a design used by other students, you will be asked to revise your design and redo the work.  

Instructions:  

1)  Draw your sequential circuit S1.

2)  Create the next state function table for S1.

3)  Draw the state transition graph of S1 including all the POSSIBLE states.  

4)  Figures should be plotted by using a professional software tool. Scanned or cut/paste hand drawn figures and writing are not acceptable.

 

Problem 2: Given an input of a 9-bit Boolean vector M, write a SystemVerilog (SV) model for the detector specified as follows. If the number of the logic high bits of M equals the first digital of the PSU ID number of one member of your group, the detector will give logic high, otherwise low.  

2.1)  Write a SV algorithmic model (always_comb) of the detector having a delay of 10ns.  

2.2)  Write a SV dataflow model (continuous assignments) of the detector having a delay of 10ns.  

 

Using the same testbench to simulate both designs. Your testbench should cover 512 combinations of the 9bit vector, list all matched result in a log file with "#RUN_TIME, VECTOR STRING, MATCHED"

 

Problem 3: Write an SV behavioral model of a 2n to n priority encoder.

 

Problem 4: Write an SV behavioral model for a 16-bit carry look ahead adder.

 

Problem 5: Write an SV model for an 8-bit Wallace tree multiplier.

 

Problem 6: Study the Hamming code and write an SV model for both encoder and decoder.  

 

Problem 7: 1) Write an SV model of a circuit whose 32-bit output is formed by shifting its 32-bit input three positions to the right and filling the vacant positions with the bit that was in the MSB before the shift occurred (shift arithmetic right). 2) Write an SV model of a circuit whose 32-bit output is formed by shifting its 32-bit input three positions to the left and filling the vacant positions with 0 (shift logical left).  

 

Problem 8: Write an SV model for a combinational circuit with three inputs and one output. The output is 1 when the binary value of the inputs is less than 3. The output is 0 otherwise.

 



 

More products