日韩精品一区二区三区高清_久久国产热这里只有精品8_天天做爽夜夜做爽_一本岛在免费一二三区

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

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程序語言代寫
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    2025年10月份更新拼多多改銷助手小象助手多多出評軟件
    2025年10月份更新拼多多改銷助手小象助手多
    有限元分析 CAE仿真分析服務-企業/產品研發/客戶要求/設計優化
    有限元分析 CAE仿真分析服務-企業/產品研發
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    出評 開團工具
    出評 開團工具
    挖掘機濾芯提升發動機性能
    挖掘機濾芯提升發動機性能
    海信羅馬假日洗衣機亮相AWE  復古美學與現代科技完美結合
    海信羅馬假日洗衣機亮相AWE 復古美學與現代
    合肥機場巴士4號線
    合肥機場巴士4號線
    合肥機場巴士3號線
    合肥機場巴士3號線
  • 短信驗證碼 trae 豆包網頁版入口 目錄網 排行網

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

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

    日韩精品一区二区三区高清_久久国产热这里只有精品8_天天做爽夜夜做爽_一本岛在免费一二三区

      <em id="rw4ev"></em>

        <tr id="rw4ev"></tr>

        <nav id="rw4ev"></nav>
        <strike id="rw4ev"><pre id="rw4ev"></pre></strike>
        亚洲午夜久久久久久久久电影网| 国产精品99久久久久久有的能看| 亚洲一区免费看| 国产精品拍天天在线| 亚洲高清影视| 国产欧美日韩精品a在线观看| 亚洲欧洲在线免费| 午夜激情一区| 亚洲天堂黄色| 香蕉精品999视频一区二区| 国产精品综合av一区二区国产馆| 国产偷久久久精品专区| 亚洲乱码精品一二三四区日韩在线| 午夜在线观看欧美| 欧美精品首页| 黄色成人精品网站| 亚洲国产天堂久久综合| 欧美日韩色综合| 国产一区二区黄色| 久久激情一区| 一区二区三区亚洲| 国产午夜精品久久久久久免费视| 久久精品一本| 久久天天躁夜夜躁狠狠躁2022| 久久久国际精品| 亚洲综合激情| 欧美精品久久久久a| 国产一区二区三区免费在线观看| 午夜精品国产精品大乳美女| 国产欧美精品一区aⅴ影院| 伊人夜夜躁av伊人久久| 性一交一乱一区二区洋洋av| 国产精品资源在线观看| 欧美日韩一区二区国产| 国产精品99久久不卡二区| 欧美日韩在线不卡一区| 国产精品xnxxcom| 欧美久久精品午夜青青大伊人| 国产精品午夜国产小视频| 亚洲一区一卡| 欧美色网一区二区| 精品av久久707| 日韩一本二本av| 国产精品私房写真福利视频| 亚洲美女福利视频网站| 亚洲观看高清完整版在线观看| 亚洲第一网站免费视频| 中文日韩在线视频| 韩国视频理论视频久久| 欧美精品激情在线| 欧美日韩精品欧美日韩精品一| 先锋亚洲精品| 这里只有视频精品| 久久久综合激的五月天| 欧美大片专区| 欧美午夜精品久久久久免费视| 亚洲精品乱码久久久久久蜜桃麻豆| 亚洲欧洲三级电影| 欧美日韩国产一区二区三区地区| 亚洲欧美综合v| 狠狠色综合色综合网络| 欧美吻胸吃奶大尺度电影| 9久草视频在线视频精品| 欧美日韩国产三级| 久久综合综合久久综合| 99精品热视频| 欧美日韩视频在线第一区| 欧美色综合网| 亚洲在线视频网站| 欧美—级a级欧美特级ar全黄| 亚洲国产福利在线| 欧美看片网站| 国产小视频国产精品| 噜噜噜在线观看免费视频日韩| 99热精品在线| 欧美成人激情在线| 亚洲精品自在在线观看| 欧美区在线播放| 久久精品99久久香蕉国产色戒| 狼人天天伊人久久| 国产精品日韩欧美一区二区三区| 亚洲六月丁香色婷婷综合久久| 亚洲网站在线看| 性欧美xxxx视频在线观看| 亚洲三级毛片| 国产精品一区2区| 国产亚洲精品综合一区91| 伊人色综合久久天天| 亚洲系列中文字幕| 欧美日韩亚洲一区二区三区在线| 美玉足脚交一区二区三区图片| 亚洲手机视频| 国产一区91精品张津瑜| 午夜精品免费在线| 欧美高清视频一区| 精品盗摄一区二区三区| 国产精品大片| 欧美三日本三级少妇三2023| 欧美日韩不卡视频| 欧美顶级艳妇交换群宴| 亚洲欧美日韩精品综合在线观看| 麻豆精品传媒视频| 亚洲宅男天堂在线观看无病毒| 国产色产综合色产在线视频| 日韩写真在线| 国产在线一区二区三区四区| 亚洲永久精品国产| 国产自产2019最新不卡| 亚洲一区二区精品| 国产一区二区三区电影在线观看| 亚洲欧美视频一区| 欧美日韩一二三四五区| 亚洲午夜激情免费视频| 欧美寡妇偷汉性猛交| 香港久久久电影| 99热这里只有精品8| 一本久久综合亚洲鲁鲁五月天| 欧美网站在线观看| 亚洲精品日韩激情在线电影| 麻豆精品在线播放| 亚洲午夜女主播在线直播| 欧美日精品一区视频| 毛片基地黄久久久久久天堂| 免费一级欧美在线大片| 国产精品欧美日韩一区二区| 在线看片成人| 精品成人国产| 欧美va天堂va视频va在线| 亚洲国产成人久久综合一区| 欧美一级视频免费在线观看| 国产日韩欧美综合精品| 欧美日韩一区二区三区在线看| 欧美麻豆久久久久久中文| 久久欧美肥婆一二区| 欧美久久在线| 久久综合图片| 欧美精品日韩精品| 亚洲视频你懂的| 亚洲精品一区二区三区福利| 欧美三级电影一区| 亚洲欧美在线另类| 国产欧美日韩综合一区在线播放| 国产精品成人免费视频| 国产一区二区三区在线观看免费| 国内精品伊人久久久久av一坑| 免费在线播放第一区高清av| 牛牛影视久久网| 久久综合中文色婷婷| 欧美精品在线一区| 国产精品亚洲激情| 国产精品日韩电影| 一区二区三区自拍| 久久久久一区二区| 香蕉成人久久| 亚洲精品日韩精品| 亚洲日本成人女熟在线观看| 国产乱码精品一区二区三区忘忧草| 久久久www免费人成黑人精品| 欧美成人官网二区| 欧美激情亚洲综合一区| 欧美精品二区| 国模大胆一区二区三区| 欧美日韩国产影片| 亚洲国产成人久久综合|