Re: [理工] 計組 Datapath 求 min. cycle time

看板Grad-ProbAsk作者 (wei)時間10年前 (2014/01/26 19:55), 編輯推噓4(404)
留言8則, 4人參與, 最新討論串2/2 (看更多)
※ 引述《n810516 (Nick)》之銘言: : Assume that logic blocks needed to implement the datapath have the following : latencies: (Delay for other components are ignored.) : I-Mem Add Mux ALU Regs D-Mem Sign-extend Shift-left-2 : 400ps 100ps 40ps 120ps 200ps 350ps 20ps 10ps : 答案是 1310 = 400 + 200 + 120 + 350 + 40 + 200 : 這題 Regs 前面的 Mux 不需要算進去可以理解,因為後面才會用到 : 但下面這題 : Assume the following table shows energy consumption for some components. : You can assume that the other components of the datapah spend a negligible : amount of energy. How much energy is spent to execute an lw instruction in : a single-cycle design. : I-Mem Mux ALU Regs D-Mem Sign-extend : 200pJ 30pJ 100pJ 150pJ 250pJ 50pJ : 我算 990 = 200 + 30 + 150 + 50 + 30 + 100 + 250 + 30 + 150 : 解答 960 = 200 + 150 + 50 + 30 + 100 + 250 + 30 + 150 : 想問為什麼 Regs 前面的 Mux 不用算? : 跟室友討論不出結果,所以上來請教板友,麻煩了 雖然回文已經有人說張凡答案改給990 但我還是不能同意為什麼沒把pcsrc的mux消耗的功率算進去 我算1020…求大大解惑 手機排版抱歉 -- Sent from my Android -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 114.33.50.151

01/28 09:43, , 1F
算了就重複計算了阿
01/28 09:43, 1F

01/28 09:46, , 2F
求lw你走pcsrc幹麻
01/28 09:46, 2F

01/28 10:06, , 3F
因為還要pc+4啊,不管要不要branch上面那個mux顯然都要
01/28 10:06, 3F

01/28 10:06, , 4F
走過,我是覺得要在算那個。
01/28 10:06, 4F

01/28 10:31, , 5F
同樣30,下面mux同時也有執行,除了sw要加pcsrc那個mux
01/28 10:31, 5F

01/28 21:38, , 6F
請問這題有圖嗎 XD
01/28 21:38, 6F

01/29 11:00, , 7F
沒有重複計算 pcsrc,memtoreg,regdst,alusrc這四個。
01/29 11:00, 7F

01/29 11:00, , 8F
我是覺得要附圖,因為同學連jump的mux也加進去了XD
01/29 11:00, 8F
文章代碼(AID): #1IvFUVQF (Grad-ProbAsk)
文章代碼(AID): #1IvFUVQF (Grad-ProbAsk)