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

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

COMP1212 代做、代寫 Java/Python 設計程序

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



School of Computing: assessment brief
   Module title
 Computer Processors
  Module code
 COMP1212
  Assignment title
 August Resit
  Assignment type and description
 In-course assessment. Requires design implementation and testing of code written in HDL and assembly lan- guage
  Rationale
 Provides an opportunity to write HDL and assembly code including understanding the implementation of branching and functions.
  Word limit and guidance
 This coursework should take less than 25 hours to com- plete.
  Weighting
 100%
  Submission dead- line
 5pm 9/8/24
  Submission method
 Gradescope
  Feedback provision
 Feedback will be provided through Gradescope
  Learning outcomes assessed
 Describe the basic building blocks of a computer in de- tail and explain how they are composed to construct computing machinery.
Apply appropriate tools to develop, simulate and test logic circuits (CAD).
Explain how high level programming constructs, such as ’if’ statements and ’for’ loops, are implemented at a machine level
  Module lead
 Andy Bulpitt
  Other Staff contact
 Noleen K ̈ohler
             1

1. Assignment guidance
There are two sections to this resit assessment. Section I requires implementation of
HDL programs and Section II requires the implementation of assembly language. 2. Assessment tasks
SECTION I
Your task is to design and implement a circuit in hdl which takes two 2-bit numbers (A, B) and (C, D) as input and produces a 3-bit output (E, F, G).
The final circuit has 6 inputs in total (f1, f0, A, B, C, D) and 3 outputs (E, F, G). The function of the circuit is determined by the two inputs f1 and f0.
The truth tables below define the operation of the circuit for each combination of f1 and f0.
ABCDFG ABCDFG 000011 000000 000110 000100 001001 001000 001100 001100 010011 010000 010110 010101 011001 011000 011100 011101 100011 100000 100110 100100 101001 101010 101100 101110 110011 110000 110110 110101 111001 111010 111100 111111
                                    Table 1: When f1, f0 = (1, 1) FZero
Table 2: When (f1, f0) = (1, 0) FOne
2

  ABCDFG ABCDEFG 000000 0000000 000101 0001001 001010 0010010 001111 0011011 010001 0100001 010101 0101010 011011 0110011 011111 0111100 100010 1000010 100111 1001011 101010 1010100 101111 1011101 110011 1100011 110111 1101100 111011 1110101 111111 1111110
Table 3: When (f1, f0) = (0, 1) FTwo Table 4: When (f1, f0) = (0, 0) FThree
(a) For each of the truth tables above, implement a logic circuit in HDL that will perform the function specified by the truth table. You should create one circuit for each truth table and test it produces the required output for that truth table. The circuit for each truth table should be named FZero, FOne, FTwo, FThree corresponding to the names of the truth tables given above and must have corresponding filenames FZero.hdl, FOne.hdl, FTwo.hdl, FThree.hdl.
Each circuit must have four inputs named A,B,C and D. Chips FZero, FOne and FTwo will have two outputs (F,G). Chip FThree will have three outputs named E,F and G.
You must only use the built-in AND, NAND, OR, NOR, NOT, Mux, XOR or DMux chips.
The test files provided (.tst and .cmp) can be used to test each output of a chip. For example FZero1.tst tests the F output of the chip FZero.hdl and FZero2.tst tests the G output of FZero.hdl.
[9 marks]
(b) Combine all four circuits into one circuit which takes all six inputs and three
                                  3

outputs and test it to ensure it produces the correct output depending on the value of the inputs f1 and f0. Call the chip FALL. You can test this chip using FALL.tst but may wish to create further tests before submission. The value of output E is undefined (can be either 0 or 1) unless (f1, f0) = (0, 0)
You must only use the built-in AND, NAND, OR, NOR, NOT, Mux, XOR or DMux chips.
[4 marks]
(c) Stretch Activity
When performing computational operations it is often useful to be able to exe- cute a sequence of operations, each one using the output of the previous step as an input to the next step. For example to OR 3 values X OR Y OR Z you might first calculate X OR Y and then on the next step apply OR Z to the previous output (X OR Y ).
For this task adapt the circuit FALL so that it can combine a sequence of operations defined by different values for f1 and f0 at each step, by enabling the outputs Ft and Gt of step t to be used (feedback) as the inputs for the next operation Ct+1 and Dt+1 for step t + 1. You should also add a further input (Load) to the chip which when Load = 1 will enable you to load new inputs to Ct andDt andwhensetto0setsCt+1 =Ft andDt+1 =Gt. TheLoadinput will allow you to manually set the values of C and D at the start and during the sequence if required.
Call this chip FSEQ. You can test this chip using FSEQ.tst but may wish to create further tests before submission.
You must only use the built-in AND, NAND, OR, NOR, NOT, Mux, DMux, XOR or DFF chips.
[Total for Section I 20 marks]
SECTION II
The Feistel cipher is a symmetric block cipher encryption framework which is the basis of many modern day encryption algorithms. In this coursework you will implement a Feistel cipher system as a software implementation in both a high level language and Hack Assembly.
In a Feistel cipher the plaintext, P, to be encrypted is split into two equal size parts L0 and R0 such that P = L0R0. A function F is applied to one half of the plaintext, combined with a key, and the result is XOR’d with the other half of the plaintext.
4
[7 marks]

Feistel ciphers often employ multiple rounds of this scheme. In general the scheme works as follows, for all i = 0,...,n,
Li+1 = Ri
Ri+1 =Li ⊕F(Ri,Ki)
To decrypt an encrypted message using this cipher we can apply the same procedure inreverse. Fori=n,n−1,...,0,
Ri = Li+1
Li =Ri+1 ⊕F(Li+1,Ki)
For this coursework we are interested in the 16-bit Feistel cipher which uses 4 rounds. The function F (A, B) = A ⊕ ¬B.
The keys are derived from a single 8-bit key K0 such that,
K0 = b7b6b5b4b3b2b1b0 K1 = b6b5b4b3b2b1b0b7 K2 = b5b4b3b2b1b0b7b6 K3 = b4b3b2b1b0b7b6b5
(a) Write a program (XOR.asm) in HACK assembly that implements an XOR func- tion between two 16-bit values stored in RAM[3] and RAM[4] and stores the result in RAM[5].
[6 marks]
(b) Write a program (Rotate.asm) in HACK assembly that implements an algorithm to rotate the bits of a 16-bit number left (Least Significant bit (LSb) to Most Significant bit (MSb)). The original number should be stored in RAM[3] the number of times to rotate the bits should be in RAM[4] and the result stored in RAM[5], i.e. 1010111100000000 rotated left 3 times would be 0111100000000101 where the MSb is used to replace the LSb.
[12 marks]
5

(c) Write a program (FeistelEncryption.asm) in HACK assembly, that implements the described Feistel encryption system. The initial key, K0, will be stored in RAM[1], and the 16-bit plaintext will be stored in RAM[2]. The result of the encryption should be stored in RAM[0].
[12 marks]
[Total for Section II 30 marks]
3. General guidance and study support
Tools required to simulate the hardware and CPU are provided on Minerva under Learning resources: Software.
Please ensure the files you upload work with the test files provided and use the filenames provided in this sheet. Do not alter the format of the lines of these test files in any way. The spacing in each line needs to be preserved You are of course welcome to build your own test files in the same format or add to these files.
Ensure the files you upload pass the submission tests provided on Gradescope. These are not necessarily the same tests as those that will be used to grade your submission.
4. Assessment criteria and marking process
This coursework will be marked using Gradescope. Feedback will be provided through
Gradescope and example solutions discussed in class.
Marks are awarded for passing the automated tests on the submitted programs de- tailed below.
5. Presentation and referencing
Submitted code should provide suitable comments where possible.
6. Submission requirements
Links to submit your work can be found on Minerva under Assessment and feed-
back/Submit my work.
For section I submit only your hdl files, uploaded individually. Ensure you use only the filenames provided in this specification sheet. The names must match the specification exactly, including the use of upper and lower case characters i.e. FZero.hdl is valid however, fzero.hdl or FZero.HDL are not valid.
For section II submit only your asm files.
7. Academic misconduct and plagiarism
Academic integrity means engaging in good academic practice. This involves essential academic skills, such as keeping track of where you find ideas and information and referencing these accurately in your work.
6

By submitting this assignment you are confirming that the work is a true expression of your own work and ideas and that you have given credit to others where their work has contributed to yours.
8. Assessment/marking criteria grid Section I
No marks will be awarded for tests which fail or use of chips other than those listed.
• Part (a) There is one test to check the complete truth table for each output of the chips [9 marks].
• Part (b) There are four tests to check the complete truth table of the FALL chip [4 marks].
• Part (c) will be evaluated by testing it on three sequences of functions of various lengths [7 marks].
[Total for Section I 20 marks]
Section II
No marks will be awarded for tests which fail
• Part a) is graded using 3 tests, each worth 2 marks. [max 6 marks] • Part b) is graded using 4 tests, each worth 3 marks. [max 12 marks] • Part c) is graded using 4 tests, each worth 3 marks [max 12 marks]
[Total for Section II 30 marks]
請加QQ:99515681  郵箱:99515681@qq.com   WX:codinghelp




 

掃一掃在手機打開當前頁
  • 上一篇:Econ 312代寫、代做c/c++,Java編程語言
  • 下一篇:COMP1711 代寫、代做 C++語言程序
  • 無相關信息
    合肥生活資訊

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

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

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

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

          9000px;">

                一区二区三区四区在线播放| 捆绑调教美女网站视频一区| 午夜视频在线观看一区| 欧洲在线/亚洲| 夜夜精品浪潮av一区二区三区| 一本大道av伊人久久综合| 综合分类小说区另类春色亚洲小说欧美 | 91精品国产欧美一区二区18| 蜜臀av在线播放一区二区三区 | 欧美一区二区在线播放| 蜜桃传媒麻豆第一区在线观看| 久久色在线视频| 色综合中文字幕| 免费成人结看片| 亚洲人成在线播放网站岛国| 欧美日韩国产一二三| 高清国产午夜精品久久久久久| 一区二区三区毛片| 国产偷国产偷亚洲高清人白洁| 一本到不卡精品视频在线观看| 天天色天天操综合| 亚洲欧美偷拍三级| 中文字幕免费不卡| 91精品国产欧美日韩| 色av综合在线| 国产91丝袜在线18| 久久精品国产99国产精品| 亚洲亚洲精品在线观看| 国产日韩在线不卡| 日韩精品一区二区三区三区免费| 色婷婷国产精品| 成人av资源在线观看| 国产乱理伦片在线观看夜一区| 亚洲丰满少妇videoshd| 亚洲日本护士毛茸茸| 国产精品素人一区二区| 精品国产电影一区二区| 91精品国产综合久久久久久| 91国偷自产一区二区三区成为亚洲经典 | 99视频国产精品| 国产成人精品一区二| 激情国产一区二区| 久久99精品一区二区三区| 日韩电影在线观看一区| 亚洲国产成人av网| 亚洲成人免费观看| 亚洲午夜精品网| 午夜精品久久久久久久久| 亚洲国产毛片aaaaa无费看 | 亚洲不卡一区二区三区| 亚洲日本青草视频在线怡红院| 久久精品夜色噜噜亚洲aⅴ| 欧美成人aa大片| 精品少妇一区二区三区在线播放| 欧美一区二区视频在线观看| 欧美一区二区成人| 久久女同精品一区二区| 欧美va天堂va视频va在线| 日韩精品一区二区三区视频在线观看| 欧美精品1区2区3区| 欧美日本一道本在线视频| 欧美一区二区三区的| 日韩免费电影网站| 久久综合久久综合久久| 国产精品久久看| 亚洲综合色自拍一区| 亚洲成av人片一区二区三区| 免费观看日韩av| 国产精品99久久久| 色综合天天在线| 欧美久久久久久久久久| 久久尤物电影视频在线观看| 欧美高清在线一区| 亚洲欧美视频在线观看| 丝袜美腿亚洲综合| 国产不卡视频在线观看| 成人av集中营| 欧美精品亚洲一区二区在线播放| 精品久久久久香蕉网| 综合av第一页| 久久成人久久鬼色| 91女人视频在线观看| 欧美日韩精品一区二区三区四区 | 日本一区二区三级电影在线观看| 亚洲精品久久久久久国产精华液| 五月激情综合色| thepron国产精品| 日韩一级黄色大片| 国产精品美女久久久久久2018 | 日本不卡1234视频| 国产高清亚洲一区| 欧美日韩在线三区| 国产精品久久午夜夜伦鲁鲁| 丝袜亚洲精品中文字幕一区| 成人av一区二区三区| 日韩一区二区三区高清免费看看| 国产精品久久久久影视| 韩国三级电影一区二区| 欧美日韩国产在线播放网站| 国产精品剧情在线亚洲| 国产在线麻豆精品观看| 欧美酷刑日本凌虐凌虐| 亚洲卡通欧美制服中文| 成人听书哪个软件好| 日韩免费高清av| 日韩av一级电影| 欧美在线一二三四区| 国产精品久久久久7777按摩| 另类综合日韩欧美亚洲| 欧美日韩国产高清一区| 亚洲婷婷在线视频| 国产999精品久久久久久| 久久婷婷成人综合色| 九九在线精品视频| 欧美成人乱码一区二区三区| 日本三级韩国三级欧美三级| 欧美影视一区二区三区| 中文字幕在线观看不卡| 成人在线视频一区二区| 国产婷婷精品av在线| 国产一区久久久| 久久精品亚洲国产奇米99| 免费在线成人网| 3d成人h动漫网站入口| 亚洲成av人片| 欧美一区二区三区四区高清 | 日韩精品一级二级| 欧美女孩性生活视频| 日韩电影免费在线看| 7777精品伊人久久久大香线蕉 | 国产精品丝袜久久久久久app| 国产精品亚洲第一 | 国产精品亲子伦对白| 国产精品一区二区不卡| 国产亚洲欧洲一区高清在线观看| 国产一区二区不卡| 亚洲国产电影在线观看| 成人久久18免费网站麻豆| 亚洲激情六月丁香| 欧美色图在线观看| 日本伊人色综合网| 国产精品久久久久久久久动漫| 国产一区91精品张津瑜| 国产精品嫩草99a| 欧美性猛片aaaaaaa做受| 青椒成人免费视频| 国产精品久久久久久久久图文区| 91国在线观看| 久久精品国产一区二区三 | 一级特黄大欧美久久久| 欧美日韩亚洲丝袜制服| 精品一区二区免费视频| 1区2区3区欧美| 欧美一区二区三区四区五区| 国产成人av自拍| 亚洲一区二区三区激情| 欧美mv和日韩mv国产网站| 9l国产精品久久久久麻豆| 亚洲va欧美va天堂v国产综合| 久久无码av三级| 91激情在线视频| 激情欧美一区二区| 亚洲九九爱视频| 国产日产亚洲精品系列| 欧美日本视频在线| 97超碰欧美中文字幕| 久久国产乱子精品免费女| 亚洲视频一二三| www国产成人| 91麻豆精品国产91久久久久| 国产成人免费视频一区| 蜜桃av噜噜一区| 一区二区三区美女| 国产精品久久久久一区二区三区共| 欧美一三区三区四区免费在线看 | 91精品国产入口| 91原创在线视频| 激情综合色播五月| 亚洲自拍偷拍网站| 国产精品久久久久一区| 久久久精品黄色| 精品久久久久久亚洲综合网| 欧美日韩一区不卡| 99综合影院在线| 风间由美一区二区三区在线观看 | 国产精品福利在线播放| 欧美哺乳videos| 91.com在线观看| 欧美日韩久久一区| 欧美精品久久天天躁| 欧美日韩国产123区| 欧美亚洲日本一区| 91久久久免费一区二区| eeuss鲁片一区二区三区在线看| 国产精品一区二区在线播放| 国产在线一区观看| 国产一区二区三区在线观看免费视频 | 欧美成人vr18sexvr| 日韩欧美一二区| 日韩免费性生活视频播放|