看板 Electronics 關於我們 聯絡資訊
※ 引述《soonsin.bbs@bbs.mgt.ncu.edu.tw (窩耶)》之銘言: > process(clk) > begin > if clk'event and clk='1' then > D1<=D0;D0<=ext; > output<=((D0 and D1) or output) and (D0 or D1); > end if; > end process; > process(clk) > begin > if clk'event and clk='1' then > D1<=D0;D0<=ext; > pre_output<=output; > end if; > end process; > output<=((D0 and D1) or pre_output) and (D0 or D1); 建議你先了解什麼叫做 blocking 及 non-blocking 懂了以後你就知道這兩者之間有什麼差別了 > process(clk) > begin > if clk'event and clk='1' then > output<=A*B; > end if; > end process; > 感覺乘法會花不少時間說 一個clock算的完嗎????? A 和 B 各幾位元? clk 多快? 又, 你用哪個 FPGA? 除了這個 logic 以外, 其餘電路 fitting 出來 utilization 多少? -- 引言過多, BBS 系統真無聊. -.- -- ※ Origin: 楓橋驛站<bbs.cs.nthu.edu.tw> ◆ From: micro.ee.nthu.edu.tw