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

看板Grad-ProbAsk作者 (Nick)時間12年前 (2014/01/20 22:55), 編輯推噓4(4011)
留言15則, 4人參與, 最新討論串1/2 (看更多)
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 不用算? 跟室友討論不出結果,所以上來請教板友,麻煩了 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 36.231.100.151

01/20 23:08, , 1F
是990沒錯,昨天有問張凡,他說答案錯了
01/20 23:08, 1F

01/21 00:41, , 2F
借問一下 這題應該是有用到的component都要算進去 那
01/21 00:41, 2F

01/21 00:46, , 3F
為什麼pcwrite的mux不用算 我是寫四個mux…
01/21 00:46, 3F

01/21 01:08, , 4F
你是指PCsrc嗎?可能是只單純問lw datapath 就不算了
01/21 01:08, 4F

01/21 01:11, , 5F
然後前面mux不加上去不是因為後面才用到 一開始解碼目的
01/21 01:11, 5F

01/21 01:12, , 6F
位址就會經過MUX到該到的地方 因為他不會造成最長latency
01/21 01:12, 6F

01/21 01:22, , 7F
嗯 是pcsrc 如果答案是990 不就連不是critical path經
01/21 01:22, 7F

01/21 01:23, , 8F
因為有用到的元件都會消耗功率 跟算最長cycletime不同
01/21 01:23, 8F

01/21 01:27, , 9F
過的也component也算進了 所以pcsrc也會經過 覺得不
01/21 01:27, 9F

01/21 01:27, , 10F
太合理
01/21 01:27, 10F

01/21 01:31, , 11F
嗯 我是在說原po的第二個問題功率的 你可能誤解我在
01/21 01:31, 11F

01/21 01:31, , 12F
說第一題
01/21 01:31, 12F

01/25 15:32, , 13F
會因為mux選0而不消耗功率嗎?
01/25 15:32, 13F

01/25 15:33, , 14F
後面因為選1而有消耗功率
01/25 15:33, 14F

01/26 01:15, , 15F
選0選1都要使用mux吧 都要耗功率阿
01/26 01:15, 15F
文章代碼(AID): #1ItJZ4Rf (Grad-ProbAsk)
文章代碼(AID): #1ItJZ4Rf (Grad-ProbAsk)