This preview shows page 1. Sign up to view the full content.
Unformatted text preview: Loc ate and s elec t the RF c omponent in the datapath.
Loc ate the ram s ignal in the s ignal window and add it to y our waveform.
Clic k on the "+ " s ign to left of the "ram" s ignal on the waveform to s ee eac h regis ter's
c ontents individually .
Dec 07 Hao Jin says: I ty ped in "do s tart.do" in ModelSim but the ModelSim s ay s that "# Cannot open mac ro file: s tart.do", W hat s hall I
do? W enjia Zhou says: Dec 07 Chec k y our path. Do y ou have this file under y our c urrent folder? Hao Jin says: Dec 07 I'm not s ure ac tually ...W here s hall I find it? W enjia Zhou says: Dec 07 Pos t all y our error mes s age. Hao Jin says: Dec 07 "# Cannot open mac ro file: s tart.do" Hao Jin says: Dec 07 I found the file s tart.do under the lab7_lib/work direc tory Hao Jin says: Dec 07 I've c opied the c ontents and made a new s tart.do in ModelSim, s o the problem is now fix ed, Thank s ~ Intae Moon says: Dec 07 Do y ou want us to write down mac hine c odes in the ram to initializ e the regis ters to 0 before writing down mac hine
c odes for the negation? Or, is it ok ay to jump right to the negation s inc e all regis ters already have been initializ ed? W enjia Zhou says: Dec 07 I'm not s ure if I unders tand y our ques tion c orrec tly .
Initializ e the Regis ter value in y our mac hine c ode when y ou tes t the negation, jus t as what y ou did in previous
And, to c hec k negation, I think ...tes ting with 0 won't give y ou muc h valuable output. Intae Moon says: Dec 07 I meant to as k s hould I als o write down mac hine c odes that s et values in regis ters to 0 before non-z ero
values are loaded into thos e regis ters . But, I figured it wouldn't matter s inc e non-z ero values will jus t
overwrite previous ly s tored values in regis ters . Johnathon Karcz says: Dec 07 I am having an is s ue when running my s imulation. I followed the ins truc tions , and when I run the s imulation after
mak ing the firs t c hange to the ADD ins truc tion, I get the s ame res ult as if i made no c hanges . I then proc eeded to
View Full Document
This document was uploaded on 03/22/2014.
- Fall '14