国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看

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

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

時間:2024-08-11  來源:合肥網(wǎng)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++語言程序
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    流體仿真外包多少錢_專業(yè)CFD分析代做_友商科技CAE仿真
    流體仿真外包多少錢_專業(yè)CFD分析代做_友商科
    CAE仿真分析代做公司 CFD流體仿真服務 管路流場仿真外包
    CAE仿真分析代做公司 CFD流體仿真服務 管路
    流體CFD仿真分析_代做咨詢服務_Fluent 仿真技術服務
    流體CFD仿真分析_代做咨詢服務_Fluent 仿真
    結(jié)構(gòu)仿真分析服務_CAE代做咨詢外包_剛強度疲勞振動
    結(jié)構(gòu)仿真分析服務_CAE代做咨詢外包_剛強度疲
    流體cfd仿真分析服務 7類仿真分析代做服務40個行業(yè)
    流體cfd仿真分析服務 7類仿真分析代做服務4
    超全面的拼多多電商運營技巧,多多開團助手,多多出評軟件徽y1698861
    超全面的拼多多電商運營技巧,多多開團助手
    CAE有限元仿真分析團隊,2026仿真代做咨詢服務平臺
    CAE有限元仿真分析團隊,2026仿真代做咨詢服
    釘釘簽到打卡位置修改神器,2026怎么修改定位在范圍內(nèi)
    釘釘簽到打卡位置修改神器,2026怎么修改定
  • 短信驗證碼 豆包網(wǎng)頁版入口 破天一劍 目錄網(wǎng) 排行網(wǎng)

    關于我們 | 打賞支持 | 廣告服務 | 聯(lián)系我們 | 網(wǎng)站地圖 | 免責聲明 | 幫助中心 | 友情鏈接 |

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

    国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看
    久久成人人人人精品欧| 日本精品一区二区三区四区| 亚洲免费视频一区| 久久人人爽人人爽人人片亚洲| 91久久伊人青青碰碰婷婷| 国自在线精品视频| 欧美精品久久久久久久自慰| 日韩毛片在线免费看| 日本在线观看a| 日韩资源av在线| 国产美女作爱全过程免费视频| 国产高清在线不卡| 中文字幕在线中文| 五月天亚洲综合情| 国产精品视频白浆免费视频| 色噜噜一区二区| 亚洲一二三区在线| 欧美xxxx14xxxxx性爽| 国产精品偷伦一区二区| 久久久久久欧美| 日韩色妇久久av| 久久成人资源| 久久久久久亚洲精品| 日韩中文字幕精品| 日韩视频第一页| 国产精品久久久久久久久久小说| 丝袜美腿亚洲一区二区| 久久久最新网址| 国产日韩在线看片| 逼特逼视频在线| 久久免费看毛片| 国产精品视频999| 欧美激情亚洲激情| 久久综合九色欧美狠狠| 国产成人精品av在线| 91精品啪aⅴ在线观看国产| 7777免费精品视频| 国产日韩欧美自拍| 日本中文字幕成人| 欧美精品一区在线发布| 一卡二卡3卡四卡高清精品视频| 久久国产精品久久国产精品| 中文字幕在线亚洲精品| 伊人久久大香线蕉成人综合网| 九九热r在线视频精品| 美乳视频一区二区| 国产午夜精品视频一区二区三区| 久久久视频精品| 操人视频在线观看欧美| 热久久这里只有精品| 国产欧美日韩专区发布| 国产成人精品免高潮费视频| 久久综合网hezyo| 欧美激情第1页| 日韩精品不卡| 超碰97国产在线| 日韩在线一区二区三区免费视频| 欧美成年人视频| 在线视频不卡一区二区三区| 欧美一区二区中文字幕| 久久久久久a亚洲欧洲aⅴ| 国产精品第10页| 欧美,日韩,国产在线| 日韩在线中文字| 日本一区二区高清视频| 成人精品视频久久久久| 欧美大胆在线视频| 日日碰狠狠躁久久躁婷婷| 99精彩视频| 亚洲日本无吗高清不卡| 国产在线精品一区二区中文| 91精品国产高清久久久久久91裸体 | 日本中文字幕在线视频观看| 国产精品12345| 欧美中文字幕在线播放| 久久综合网hezyo| 91精品久久久久久久久久另类| 欧美一级在线播放| 国产成人jvid在线播放| 中文字幕在线观看一区二区三区| 高清国产一区| 宅男av一区二区三区| 动漫一区二区在线| 国产在线高清精品| 国产v片免费观看| 自拍另类欧美| 国产偷久久久精品专区| 日韩中文字幕av| 视频一区亚洲| 91精品91久久久中77777老牛| 久久亚洲国产成人| 欧美视频免费播放| 国产高清精品一区| 欧美xxxx做受欧美.88| 日本一区二区在线| 日本免费成人网| 91国产精品视频在线| 热久久免费国产视频| 国产高潮呻吟久久久| 亚洲精品在线免费| 毛片一区二区三区四区| 国内精品久久久久久影视8| 国产高潮呻吟久久久| 欧美一级片免费播放| 亚洲a一级视频| 久久久com| 欧洲熟妇精品视频| 色偷偷av一区二区三区| 日本视频一区在线观看| 免费观看美女裸体网站| 国产精品初高中精品久久| 黄色国产精品视频| 欧美大胆在线视频| 成人av在线网址| 亚洲一区精品电影| 国产福利片一区二区| 一区二区在线中文字幕电影视频| 国产亚洲综合视频| 久久久久久av| 国产精品av免费观看| 色综合久久88色综合天天提莫| 久久久人成影片一区二区三区观看| 亚洲精品一区二| 精品中文字幕在线| 国产mv久久久| 色综合导航网站| 人人妻人人澡人人爽欧美一区| 国产精品亚洲美女av网站| 久久久人人爽| 日本一区二区三区免费观看| 久久久久久久免费| 欧美日韩天天操| 国产精品美女在线观看| 国产日韩欧美一二三区| 亚洲国产精品久久久久爰色欲 | 97热精品视频官网| 婷婷五月综合缴情在线视频 | 日韩avxxx| 久久久久久这里只有精品| 国产中文字幕二区| 国产欧美精品va在线观看| 激情深爱综合网| 成人av播放| 国产成人在线小视频| 一本色道久久88亚洲精品综合| 精品日产一区2区三区黄免费 | 亚洲一区二区高清视频| 国产v亚洲v天堂无码久久久| 国产精品久久久久久五月尺| 欧美一区国产一区| αv一区二区三区| 中文字幕av导航| 欧美最猛性xxxxx(亚洲精品)| 欧美日韩电影一区二区三区| 国产在线视频欧美一区二区三区| 色噜噜久久综合伊人一本| 欧美日韩第一视频| 国产精品对白一区二区三区| 日韩在线视频一区| 国内成人精品一区| 国产成人精品免费久久久久| 亚洲欧洲一区二区| 精品一区二区三区国产| 91精品久久久久久久久久久久久 | 日本一区二区在线视频观看| 国产精品高清网站| 日韩久久久久久久久久久久| 国产精品88a∨| 日韩一中文字幕| 日韩精品欧美在线| 国产在线日韩在线| 亚洲精品欧美一区二区三区| 国产日韩精品久久| 欧美精品一区二区三区四区五区 | 久久综合一区二区三区| 福利视频久久| 久久露脸国产精品| 亚洲精品乱码久久久久久蜜桃91| 欧美做受高潮1| 97国产精品免费视频| 福利视频一二区| 国产精品6699| 国产网站免费在线观看| 国产又粗又爽又黄的视频| 欧美亚洲视频在线看网址| 宅男在线精品国产免费观看| 国产精品久久成人免费观看| 久久国产精品亚洲| 不卡av电影院| 在线视频不卡一区二区三区| 操日韩av在线电影| 日本福利视频一区| 国产精品99导航| 久久国产精品网| 亚洲影院色在线观看免费| 国产伦精品一区二区三区四区视频_ | 9a蜜桃久久久久久免费| 国产精品网址在线| 青青草视频在线免费播放| 99热在线国产|