

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!


Project Assignment #
Note that all three architectures will use the same entity. Instantiate all three architectures into the testbench for simulation. In this way you can easily verify that the output from all three architectures is the same. Note that the output of each âarchitectureâ is a different signal (Za,Coa,Zb,Cob,Zc,Coc). Make sure to list these three output signals as shown below. The easy way to do this is to use the â.doâ files. These files contain commands for the simulator that will set up the list and wave windows as desired. Start the simulator (vsim) and load the âps3_tbâ for simulation. Make sure to use ânsâ. Also, in the simulator_options set the âdefault radixâ to hexademical. Then use the â main â simulator window to bring up waveform and list windows (Viewď List and Viewď Wave). Do not bring these windows up from the âsignalsâ window. When they come up they will be blank. Once these windows are open, go to each in turn and use the âLoad Formatâ option on the File pulldown to load the setup. Use the ps3_wave.do file for the Wave window and the ps3_list.do file for the List window. Now you run your simulation.
a) copy of the complete VHDL source i.e. (for all three architectures and testbench).
b) copy of VHDL code for generic unit, and single bit slice.
c) copy of a complete waveform on 1 page.!!!!! The simulation needs to run for 17000 ns to be complete. The easy way to do this is to enter the command
run 17000 ns in the main command window
d) copy of a file listing the results of the simulation as set up by the .do files.
ns delta oper pval kval rval a b cin za zb zc coa cob coc 0 +0 OP_A C F C 00 00 0 00 00 00 0 0 0 0 +1 OP_A C F C 00 00 0 00 00 00 0 0 0
You can save the listing out to a text file and then print it. You can view the waveform file in LINUX and then choose to print it.
Note: The values in the table above are not the correct results.. The listing file and waveform also have an error signal that should not have any spikes on it. If your waveform has spikes on these signals, your model has an error. If your simulation has error you do not earn full credit. Whenever the error line spikes, the output does not agree with what is expected.