








Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!









(estimated time: 2 minutes)
What is the best part of the course?
What one thing could be done to most improve the course for the remainder of the term?
(estimated time: 15 minutes)
For each pair of VHDL programs in Q1a and Q1b, answer whether the signal z has the same behaviour in both programs.
NOTES:
Program 1 c <= not a; z <= b and c;
Program 2 process (a,b) begin z <= b and not a; end process;
Yes No z has the same simulation cycle behaviour
Yes No z has the same simulation round behaviour
The lines of code that are different in the two programs are denoted with underline.
Program 1 process begin clk <= ’0’; wait for 5 ns; clk <= ’1’; wait for 5 ns; end process;
process begin wait until rising_edge(clk); z <= a; end process;
Program 2 process begin clk <= ’0’; wait for 5 ns; clk <= ’1’; wait for 5 ns; end process; process begin wait for 5 ns; z <= a; end process;
Yes No z has the same simulation cycle behaviour
Yes No z has the same simulation round behaviour
Total number of cells used:
(estimated time: 18 minutes)
Design the hardware for the state-machine shown below.
NOTES:
i_v=’0’ i_v=’1’
m = p + r
b=’0’ b=’1’ p’ = m × 4
z = p
b=’0’^ b=’1’
default: o_v = ’0’
o_v = ’1’
p’ = a r’ = 0
r’ = m × 2
Based on the ECE-327 guidelines, show your encoding for each state,
Draw a schematic for the next-state circuitry.
Write an expression for each control signal (mux-select or chip-enable) in the next-state circuitry.
Draw a schematic for the datapath circuitry.
Write an expression for each control signal (mux-select or chip-enable) in the datapath circuitry.
Analysis:
Latency: Clock period:
Number of muls: Number of adds: Number of regs: Number of input ports: Number of output ports:
This page is for scratch work for any question.