99爱在线视频这里只有精品_窝窝午夜看片成人精品_日韩精品久久久毛片一区二区_亚洲一区二区久久

合肥生活安徽新聞合肥交通合肥房產生活服務合肥教育合肥招聘合肥旅游文化藝術合肥美食合肥地圖合肥社保合肥醫院企業服務合肥法律

EBU6335代寫、Java,c/c++程序語言代做

時間:2024-03-02  來源:合肥網hfw.cc  作者:hfw.cc 我要糾錯



EBU6335 2022/23
Question 1
a) Describe entry in the context of digital system design. Also explain how VHDL is used in the entry
process.
[5 marks]
b) The following is an incomplete VHDL model the so-called Or-And-Invert (OAI) gate (Boolean function Y = (A + B) · C), possibly with some syntax errors.
[8 marks]
entity OAI21 is
port (
A B C: in std_logic
Y: out std_logic
)
end
architecture is
Y = ~(A + B * C)
end architecture
i) Copy, correct and complete the VHDL code.
(5 marks)
ii) Suggest the output of the gate if inputs are A = 0, B = C = 1.
(3 marks)
c) In a signed binary addition S = A + B, it is known that A > 0 and B < 0.
[10 marks]
i) Explain whether there will be a carry in such an addition or not.
(3 marks)
ii) How is signed number represented?
(2 marks)
iii) Suppose the following full adder block FA is given as a component, write the VHDL architecture (no
need to provide the entity) for a 48-bit binary subtractor that takes A and B and gives S. You can
ignore carry in and out for your answer.
entity FA is
port (X, Y, Cin : in std_logic;
S, Cout : out std_logic);
end FA;
(5 marks)
Page 2 of 8
EBU6335 2022/23
Question 2
a) Explain briefly how a D flip-flop can be constructed using D latch(es).
[4 marks]
b) Figure 1 shows a sequential block constructed by a 2-to-1 multiplexer (MUX) and a positive-edge
trigged D flip-flop. This can be used to build a shift register.
[11 marks]
Figure 1: Sequential Block built by a MUX and a Flip-flop
i) If it is given that inverter has an area of 2 units and any 2-input logic gate has an area of 3 units,
estimate the area of the block.
(3 marks)
ii) Design and construct a 4-bit left shift register (i.e. towards MSB) using the block in Figure 1:
input(s): shift in bit X, shift control Shif t (active-high)
output(s): counter outputs Y = (MSB)Y3Y2Y1Y0(LSB)
Illustrate your design using a diagram (with proper annotations)
(5 marks)
iii) Is your design in ii) synchronous? Explain why.
(3 marks)
c) You are asked to design an add-2 synchronous counter that counts in 0, 2, 4,... numerically.
[8 marks]
i) Discuss a general strategy to design a synchronous counter
(4 marks)
ii) Write the VHDL architecture for the required add-2 synchronous counter with an asynchronous reset,
based on the following entity.
Your answer should use NO components.
entity SyncCountBy2 is
port (RST: in std_logic; -- asynchronous reset
CLK: in std_logic; -- clock signal
Q: out std_logic_vector(7 downto 0));
end SyncCountBy2;
(4 marks)
Page 3 of 8
EBU6335 2022/23
Question 3
a) A mealy finite state machine is used to automate a vending machine. The machine dispenses a bottle
of water after ≥ (greater than or equal to) 1 Yuan (=10 Jiao) is deposited. There is a single slot
through which to insert Yuan and Jiao. One cannot insert Yuan and Jiao at the same time. One
cannot insert any other coins or notes. The machine does not issue change. Figure 2 shows the state
transition diagram for the system.
[10 marks]
Figure 2: State transition diagram for a vending machine which dispenses bottles of water
i) State one difference between a synchronous state machine and an asynchronous state machine?
(1 marks)
ii) How many flip-flops in minimum are required to implement this state machine?
(1 marks)
iii) Part of the VHDL code used to implement the state machine is given below. Complete the code.
(8 marks)
entity mealy is
Port ( clk, rst : in STD_LOGIC;
1_Yuan, 5_Jiao : in STD_LOGIC;
dispense_water : out STD_LOGIC);
end mealy;
architecture Behavioral of mealy is
type state is (st0, st1);
signal present_state , next_state: state;
begin
syncronous_process: process (clk)
begin
if rising_edge(clk) then
if (rst = '1') then
present_state <= st0;
else
present_state <= next_state;
end if;
end if;
end process;
next_state_and_output_decoder: process(present_state , din)
begin
dispense_water <= '0';
next_state <= present_state;
case (present_state) is
-- your answers begin here
Page 4 of 8
EBU6335 2022/23
-- ...
-- ...
end case;
end process;
end Behavioral;
b) Consider the incomplete first-in first-out (FIFO) buffer shown in Figure 3. The 4-bit up counter is included to generate full and empty control signals. Prepare the VHDL architecture without any component
for the part circled in red.
[7 marks]
Figure 3: Block diagram for a First-in first-out buffer
c) Consider the DRAM cell, shown in Figure 4.
Figure 4: DRAM cell
The following sequence of events occurs. Explain whether this will lead to a ‘1’ being stored in the
cell. If not please explain what changes/additions are required and why.
[3 marks]
Step 1: The row input is set to 5V to represent the ‘1’ that will be written to the cell.
Step 2: Next the transistor must be turned on by setting the row input to 5V.
Step 3: The voltage on the capacitor will then increase until it reaches 5V.
Step 4: The transistor must remain turned on in order to trap the stored charge.
Page 5 of 8
EBU6335 2022/23
d) Figure 5 shows a number of tristate logic gates connected to a common bus line. Copy the diagram
and add the missing inputs and outputs to the points labelled A, B, C on the diagram.
[3 marks]
Figure 5: Tristate logic circuit
Page 6 of 8
EBU6335 2022/23
Question 4
a) The following algorithm is used to compare two 5-bit binary numbers and count the number of
corresponding bits that differ between them.
[13 marks]
i=0
Number_of_Bits = 5
while (i < Number_of_Bits) {
i=i+1
if (Binary_Number_1(i) =/ Binary_Number_2(i)){
j=j+1
}
}
output = j;
You are given a datapath as shown in Figure 6. The control signals are circled with their respective
bit positions in the control word, e.g. LD for R0 is bit 1 of the control word. RX.0 denotes the bit 0
(LSB) of the value stored in register RX and the shifter shifts value exactly 1 bit to the left (towards
LSB).
Figure 6: A Datapath with 5 registers
i) Based on the datapath shown in Figure 6, express the algorithm in RTL/RTN. You should generate
a done signal when the algorithm finishes.
(7 marks)
ii) Derive the control words (13; 12; ... ; 1; 0) for your algorithm.
(6 marks)
b) Consider the following number 5.37510. Express this number using a 10-bit binary number having
same number of bits for the integer and fractional parts.
[4 marks]
c) We wish to form the following product: 710 ×310. Let M = 710 and Q = 310. Use Booth’s Algorithm
to calculate the result. Show all workings.
[6 marks]
Page 7 of 8
EBU6335 2022/23
Question 5
ASCII code is a character encoding using exactly eight bits. In digital communications for ASCII code,
a start bit S (1→ 0) and a stop bit P (0→ 1) are attached to the beginning and the end of the character bit
stream respectively. For example, character A is encoded and transmitted as S01000001P.
You are now required to build a digital system for communications for 8-bit ASCII code.
Based on your design experience from the course project, discuss your approach in (i) designing an asynchronous ASCII code transmitter and receiver, and (ii) modelling and implementing the system.
[8 marks]
While your answer can be expressed in various formats (e.g. text, flow chart, block diagram) in your own
choice, that should cover BOTH aspects of the system, as explained above.
請加QQ:99515681  郵箱:99515681@qq.com   WX:codehelp 

掃一掃在手機打開當前頁
  • 上一篇:代寫股票指標 代編股票公式
  • 下一篇:COMP9021代做、Python程序語言代寫
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    出評 開團工具
    出評 開團工具
    挖掘機濾芯提升發動機性能
    挖掘機濾芯提升發動機性能
    海信羅馬假日洗衣機亮相AWE  復古美學與現代科技完美結合
    海信羅馬假日洗衣機亮相AWE 復古美學與現代
    合肥機場巴士4號線
    合肥機場巴士4號線
    合肥機場巴士3號線
    合肥機場巴士3號線
    合肥機場巴士2號線
    合肥機場巴士2號線
    合肥機場巴士1號線
    合肥機場巴士1號線
  • 短信驗證碼 豆包 幣安下載 AI生圖 目錄網

    關于我們 | 打賞支持 | 廣告服務 | 聯系我們 | 網站地圖 | 免責聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 hfw.cc Inc. All Rights Reserved. 合肥網 版權所有
    ICP備06013414號-3 公安備 42010502001045

    99爱在线视频这里只有精品_窝窝午夜看片成人精品_日韩精品久久久毛片一区二区_亚洲一区二区久久

          亚洲欧美综合精品久久成人| 欧美电影打屁股sp| 午夜视频一区二区| 午夜精品久久久久影视| 久久精品成人一区二区三区蜜臀| 久久久精品一品道一区| 欧美福利电影在线观看| 国产精品成av人在线视午夜片| 国产日本欧美一区二区| 一区国产精品| 一区二区三区**美女毛片| 亚洲综合日本| 玖玖精品视频| 国产精品每日更新| 国内精品久久久久久| 亚洲美女啪啪| 久久本道综合色狠狠五月| 欧美黄色影院| 国产在线视频欧美| 一区二区三区精品在线| 久久米奇亚洲| 国产精品资源在线观看| 亚洲精品精选| 久久久蜜桃精品| 国产精品日韩一区二区三区| 一区二区自拍| 欧美一区视频在线| 欧美日韩一区二区国产| 国产亚洲欧美一级| 亚洲精品社区| 久久久久久黄| 国产精品一区二区你懂得| 亚洲国产天堂久久综合网| 午夜精品福利一区二区蜜股av| 欧美大片免费观看| 在线播放中文一区| 欧美中文在线观看| 国产精品日本精品| 一区二区国产日产| 欧美激情国产日韩| 亚洲国产欧美国产综合一区 | 欧美aa在线视频| 国语自产精品视频在线看一大j8 | 久久资源av| 国产精品亚洲美女av网站| 99精品热视频| 欧美激情影音先锋| 亚洲日本中文字幕免费在线不卡| 久久精品动漫| 狠狠色综合网站久久久久久久| 亚洲综合精品自拍| 国产精品视频一| 亚洲欧美福利一区二区| 国产精品久久久久久久久借妻| 亚洲日本电影| 欧美日韩国产精品成人| 亚洲精品乱码久久久久久日本蜜臀| 久久这里有精品视频| 激情视频亚洲| 久热精品视频在线| 亚洲国产裸拍裸体视频在线观看乱了中文 | 亚洲人成在线观看网站高清| 暖暖成人免费视频| 亚洲美女中文字幕| 欧美日韩一级片在线观看| 亚洲性xxxx| 国产精品外国| 久久精选视频| 亚洲国产欧美久久| 欧美日韩国产一级| 亚洲午夜极品| 国产一级久久| 欧美激情五月| 亚洲在线电影| 激情欧美一区| 欧美日韩亚洲三区| 性久久久久久久| 亚洲承认在线| 欧美亚一区二区| 久久成年人视频| 亚洲人成77777在线观看网| 欧美四级在线观看| 久久精品综合| 日韩天堂在线观看| 国产欧美日韩亚洲精品| 另类专区欧美制服同性| 一区二区日韩| 黑人一区二区三区四区五区| 欧美精品一卡| 久久成人国产| 亚洲特级毛片| 黄色成人在线| 欧美激情1区2区| 亚洲砖区区免费| 91久久国产综合久久蜜月精品 | 国产精品ⅴa在线观看h| 久久久蜜桃精品| 在线午夜精品| 亚洲国产高清在线| 国产精品中文字幕欧美| 欧美福利电影在线观看| 欧美在线播放高清精品| 亚洲毛片网站| 亚洲国产99| 国产一区久久| 国产精品免费网站在线观看| 欧美成人高清视频| 久久久久久一区| 亚洲欧美日韩中文播放| 洋洋av久久久久久久一区| 在线日韩视频| 激情亚洲成人| 韩国成人福利片在线播放| 国产精品久久久久久影院8一贰佰| 久久在线免费| 久久精品一本| 久久se精品一区精品二区| 亚洲欧美国产高清va在线播| 99国内精品久久| 亚洲清纯自拍| 亚洲九九精品| 亚洲日本欧美| 日韩午夜av| 日韩午夜三级在线| 夜夜爽夜夜爽精品视频| 日韩五码在线| 99re6热只有精品免费观看| 亚洲啪啪91| 亚洲日本视频| 99riav1国产精品视频| 日韩一级视频免费观看在线| 亚洲精品午夜| 久久久www免费人成黑人精品| 香蕉久久国产| 久久精品女人| 麻豆av福利av久久av| 久久久精品国产免大香伊| 久久国产精品高清| 久久夜色精品一区| 欧美99久久| 欧美日韩日日夜夜| 国产精品国内视频| 国产偷国产偷精品高清尤物| 国产日韩一区二区| 国内自拍一区| 亚洲人妖在线| 在线视频欧美一区| 欧美一区二区高清| 久热这里只精品99re8久| 欧美国产日韩免费| 国产精品乱人伦一区二区| 国产欧美日韩一区二区三区| 国产婷婷成人久久av免费高清 | 狠狠久久亚洲欧美专区| 亚洲黄色小视频| 中文欧美字幕免费| 久久九九热免费视频| 欧美大片在线观看| 国产精品日韩二区| 亚洲第一二三四五区| 亚洲精品资源| 欧美中文字幕在线播放| 免费久久久一本精品久久区| 欧美日韩国产综合一区二区| 国产麻豆午夜三级精品| 亚洲国产精品日韩| 欧美一区二区精美| 欧美国产国产综合| 国产午夜精品麻豆| 一二三四社区欧美黄| 久久精品亚洲一区| 欧美日韩在线亚洲一区蜜芽 | 亚洲欧美日本视频在线观看| 久久av老司机精品网站导航| 免费在线欧美黄色| 国产日韩欧美综合在线| 99国产精品久久久| 老色鬼精品视频在线观看播放| 欧美日韩视频在线观看一区二区三区 | 久久久亚洲影院你懂的| 欧美日韩精品一区二区在线播放| 国产一区二区三区四区五区美女| av成人老司机| 欧美成人在线免费观看| 国产日韩一区欧美| 亚洲欧美国产不卡| 欧美日韩免费网站| 亚洲欧洲日夜超级视频| 久久久国产精品一区| 国产精品丝袜久久久久久app| 136国产福利精品导航| 欧美中文在线免费| 国产精品夜夜夜| 亚洲视频免费看| 欧美人与性禽动交情品| 亚洲国产精品va在看黑人| 久久一二三四| 黄色精品在线看| 久久国产精品久久国产精品| 国产乱码精品一区二区三区五月婷|