{"id":32515,"date":"2026-07-07T21:01:06","date_gmt":"2026-07-07T21:01:06","guid":{"rendered":"https:\/\/academicwritersbay.com\/solutions\/comp9414-synthetic-intelligence-project-1-challenge-aim-the-direction-initiatives-on-this-class-help-to-search-out-the-microarchitectural-assemble-dwelling-of-uniprocessor-assemble\/"},"modified":"2026-07-07T21:01:06","modified_gmt":"2026-07-07T21:01:06","slug":"comp9414-synthetic-intelligence-project-1-challenge-aim-the-direction-initiatives-on-this-class-help-to-search-out-the-microarchitectural-assemble-dwelling-of-uniprocessor-assemble","status":"publish","type":"post","link":"https:\/\/academicwritersbay.com\/solutions\/comp9414-synthetic-intelligence-project-1-challenge-aim-the-direction-initiatives-on-this-class-help-to-search-out-the-microarchitectural-assemble-dwelling-of-uniprocessor-assemble\/","title":{"rendered":"COMP9414 Synthetic Intelligence Project 1 Challenge Aim The direction initiatives on this class help to search out the microarchitectural assemble dwelling of uniprocessor assemble"},"content":{"rendered":"<p>COMP9414 Synthetic Intelligence Project 1<\/p>\n<p>Challenge Aim The direction initiatives on this class help to search out the microarchitectural assemble dwelling of uniprocessor assemble parameters. This project will indicate you most most likely can<\/p>\n<p>a) learn to read the supplied framework code b) see how a straightforward cache simulation model would possibly even be developed c) once entirely functional, uncover the marginal advantages of various cache hierarchies to succor to find the prolonged race project Instructions<\/p>\n<ol>\n<li>Replica the tarball to a CSE machine and extract it into a local directory of your selecting.<\/li>\n<\/ol>\n<p>You\u00a0would possibly most likely moreover peaceable\u00a0enlighten CSE Linux Lab machines (i.e. e5-cse-135-01.cse.psu.edu thru e5-cse-135-40.cse.psu.edu). To connect with these machines remotely, you need to moreover peaceable install a VPN in your computer after which enlighten ssh to connect with one of many machines. For added miniature print, please refer to the CSE Student Lab to find admission to recordsdata: https:\/\/www.eecs.psu.edu\/cse-student-lab-to find admission to\/index.aspx.<\/p>\n<p>This project simulates inserting the reminiscence references and values generated thru naive ( O(N3 ) ) matrix multiplication of square matrices of size N thru a parameterized cache hierarchy, that&#8217;s, a particular cache will most most likely be generated respectively by the arguments in every test case in Makefile. The arguments represent as under:<\/p>\n<p>1st, the scale of the simulated matrix<\/p>\n<p>2nd, the volume of matrix multiplications to originate<\/p>\n<p>3rd, the title of the cache stage (as an illustration, the second-stage L2)<\/p>\n<p>4th, the scale of this stage<\/p>\n<p>5th, the associativity of this stage<\/p>\n<p>sixth, the block size of this stage<\/p>\n<p>seventh and the following, the foremost-stage L1 cache, and its arguments.<\/p>\n<p>Whereas you implement it correctly, your common sense would work for all these test cases. Various the functionality for this program has already been supplied. Nonetheless, 5 key capabilities desired to correctly originate. caching (setSizesOffsetsAndMaskFields, getindex, gettag, writeback, rep) are currently implemented as stub capabilities that both does nothing, inflicting this system to crash within the occasion that they are relied upon. Your job will most most likely be to implement these missing functionalities throughout the capabilities outlined in \u201cYOURCODEHERE.c\u201d, and descriptions of the functionality of every feature are in YOURCODEHERE.h.<\/p>\n<p>Probabilities are you will have to read thru the supplied framework to determine tricks on how to correctly enlighten the \u201cperformaccess feature to situation native contents in accordance to 1 other stage\u2019s recordsdata (rep) and to write recordsdata from the native contents into the following stage of the reminiscence hierarchy (writeback).<\/p>\n<p>Probabilities are you will have to familiarize your self with the prevailing capabilities outlined in csim.c, specifically \u201cperformaccess\u201d, and the cache structure outlined in csim.h,\u00a0though you is liable to be no longer allowed\u00a0to change them.\u00a0You are likewise no longer allowed to change anything else as adverse to implementing the missing functionalities throughout the capabilities outlined in \u201cYOURCODEHERE.c\u201d. Probabilities are you&#8217;ll invoke \u201cperformaccess\u201d in your logistic, the input argument \u201csize\u201d would possibly most likely moreover be mounted as 8.<\/p>\n<p>Your project, once entire, will most most likely be in a space to correctly build all tests invoked by \u201cto find test\u201d as well to other cache and matrix configurations no longer most in kind within the test checklist. The test checklist became already incorporated within the Makefile. Only cache hierarchies with monotonically nondecreasing block sizes (in integer multiples of\u00a08 bytes) throughout the cache hierarchy will most most likely be tested.<\/p>\n<p>Equally, most efficient cache hierarchies with monotonically nondecreasing potential from upper to decrease caches will most most likely be tested.<\/p>\n<ol start=\"2\">\n<li>Create definite that your ambiance is correctly configured (e.g. with default gcc, and lots others.) by running \u201cto find test\u201d. Probabilities are you&#8217;ll moreover compare the upright initial deliver of your ambiance\/recordsdata by noting the following:<\/li>\n<\/ol>\n<p>a) the code would possibly most likely moreover peaceable bring alongside with out any errors or warnings.<\/p>\n<p>b) the foremost test case (no cache instantiated) would possibly most likely moreover peaceable race to completion and match the output within the incorporated replica of the output from running \u201cto find test\u201d on a performed model of this system<\/p>\n<p>c) the second test case would possibly most likely moreover peaceable rapid generate a \u201cSegmentation fault\u201d as a result of unimplemented stub capabilities<\/p>\n<ol start=\"3\">\n<li>Regulate YOURCODEHERE.c \u2014 right here&#8217;s the\u00a0most efficient\u00a0file chances are you&#8217;ll be modifying and handing over.<\/li>\n<\/ol>\n<p>Your project\u00a0MUST\u00a0bring alongside with out modification to the Makefile, or any other source recordsdata.<\/p>\n<p>Your code will most most likely be recompiled towards the assorted recordsdata of their customary deliver,\u00a0on CSE servers.<\/p>\n<p>Any reliance on additional modifications will most likely extinguish in non-compiling pickle under test and a\u00a0zero\u00a0for the project. Please show that the CSE lab machines are 64-bits (represented as\u00a0localVAbits\u00a0variable), so 1 observe = 8 bytes. Probabilities are you&#8217;ll specialize in this in your implementation.<\/p>\n<p>Please to find definite that any code you to find on a non-CSE platform. works on the CSE servers, because the code is\u00a0NOT GENERALLY PORTABLE.<\/p>\n<ol start=\"4\">\n<li>Continue to envision your project. All tests in \u201cto find test\u201d would possibly most likely moreover peaceable race to completion (expected total race time 1-2 minutes, largely within the final test). Statistics out of your output file (NMM-csim.testout) for matrix sizes <= N=8 would possibly most likely moreover peaceable match the supplied output statistics(NMM-csim.WORKING.testout) exactly. Statistics for increased matrix sizes wants to be proper same however the output would possibly most likely moreover or would possibly most likely moreover no longer be identical.<\/li>\n<\/ol>\n<p>Your Submission Probabilities are you&#8217;ll turn in most efficient the \u201cYOURCODEHERE.c\u201d file thru CANVAS. Your results will most most likely be tested on CSE lab machines. As neatly as to your code fixes, present, as a multi-line commentary in YOURCODEHERE.c, a description of your checking out potential to envision whether or no longer your output is upright, on condition that the contents of invalid reminiscence areas throughout the cache will rep arbitrary recordsdata that can no longer match between various runs.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>COMP9414 Synthetic Intelligence Project 1 Challenge Aim The direction initiatives on this class help to search out the microarchitectural assemble dwelling of uniprocessor assemble parameters. This project will indicate you most most likely can a) learn to read the supplied framework code b) see how a straightforward cache simulation model would possibly even be developed [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-32515","post","type-post","status-publish","format-standard","hentry","category-solutions"],"_links":{"self":[{"href":"https:\/\/academicwritersbay.com\/solutions\/wp-json\/wp\/v2\/posts\/32515","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/academicwritersbay.com\/solutions\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/academicwritersbay.com\/solutions\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/academicwritersbay.com\/solutions\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/academicwritersbay.com\/solutions\/wp-json\/wp\/v2\/comments?post=32515"}],"version-history":[{"count":0,"href":"https:\/\/academicwritersbay.com\/solutions\/wp-json\/wp\/v2\/posts\/32515\/revisions"}],"wp:attachment":[{"href":"https:\/\/academicwritersbay.com\/solutions\/wp-json\/wp\/v2\/media?parent=32515"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/academicwritersbay.com\/solutions\/wp-json\/wp\/v2\/categories?post=32515"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/academicwritersbay.com\/solutions\/wp-json\/wp\/v2\/tags?post=32515"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}