java question - Accounting
please answer according to instructions in the file 1 Programmable Logic Devices CMPE 415 Fall 2021 Homework 3 Due: Oct 12, 2021 In this homework you are going to design and implement a simple game on NEXYS 4 DDR FPGA boards. The Boards include eight 7-segments, 16 Switches, 16 LEDs, and (5+2) push buttons as below. (CPU RESET and PROG are also push buttons) Fig.1. NEXYS 4 DDR FPGA Game Description: In this game you play the role of a police to arrest a thief. Police’s and the thief’s locations are shown with (XP,YP) and (Xt,Yt) coordinates, where all indexes are in range of [0,15] (inclusive). First you need to initialize the coordinate of police and thief. The thief’s location should be entered via the 8 switches (SW[15:8]) and polices location is entered by other 8 switches (SW[7:0]). • SW[15:12] ==> Xt • SW[11:8] ==> Yt • SW[7:4] ==> XP • SW[3:0] ==> YP After you set the switches to the desired locations, the locations of police and thief should be shown in the 7-segments as below. The seven segment #7 shows the X index of the thief’s location and 7-segments #6 shows his Y location. The 7-segments #5 and #4 show the police location (Xp,Yp), respectively. All these four 7-segments should show the location in hexadecimal format. For example, if the location of thief and police are (14,9), and (3,10), respectively the number that each 7-segment should show are: 2 • 7-segnent #7 ==> E • 7-segnent #6 ==> 9 • 7-segnent #5 ==> 3 • 7-segnent #4 ==> A Fig.2. Location of Police and Thief The game starts by pushing reset button (BTNC). The locations should be loaded in appropriate registers in your design after BTNC is pushed. Now you can move the police by pushing BTNU (move up), BTND (move down), BTNR (move right), and BTNL (move left). Each push moves the police one location in the related direction. • The number of steps (moves) the police takes should be counted. To do so, there should be a counter in your design that whenever you push one of the BTNU, BTND, BTNR, and BTNL it counts up by 1. This value of this counter should be shown in 7-segment #1 and #0 (in Fig. 2) in decimal format. For example, if the move buttons have been hit for 15 times totally, the 7-segments should be turned on like this: o 7-segnent #1 ==> 1 o 7-segnent #0 ==> 5 • Not that the thiefs location is constant, but the polices location should be updated whenever each move happens, and so the related seven-segments needs to be updated accordingly. In fact, the thief location doesn’t change but the police location and the number of moves (number of pushed buttons counter) should be updated dynamically and their 7- segment should show the current status. • In each move, the police can go 1 location to left, right, bottom or up using the push buttons. If Police reaches to the thief location, then game is over. However, you need to follow the following rules: 3 o The aim is that the police arrest the thief using shortest path or near shortest paths, i..e, if shortest path needs N moves (N times pressing push buttons) for police, then if police reaches to the thief location with at most N+5 push, the police wins and all the LES are blinking with 1Hz frequency. o If the police reaches to the thiefs location with more than N+5 pushes (where N is the shortest path between them), the game is over but with a failure so all LEDs should show turn off. o If police has not reached to the thiefs location yet but the path so far, he moved is more than N+5 then again he fails and all LEDs should turn off. • Note that it is assumed that after starting the moves, the center button and switches are not pushed (you do not need to consider the case that center button is pushed after the first move started). • If the police is on the borders, i.e., Xp = 15, Xp = 0 , Yp = 0, or Yp = 15 and the new movement is towards out of the shown grid in Fig. 3, , the police will stuck in his current position. However, the pushed buttons counter should be increased by 1 by any push (even if not move because of reaching to the boarder). To make it more obvious, suppose that the police is on (15,6), and you push the PTNR, so he cannot go further than 15 and will still in (15,6). See the Fig.3. Fig.3. Stucking in the border NOTE: You should use ALWAYS BLOCKS in your design and avoid using continuous assignment. Deliverables: • Complete project including all files before and after synthesis. • A report explaining your design. 4 Useful hints your implementation • Seven-segments o You have eight 7-segment controlled by AN[7:0] and CA, CB, CC, CD, CE, CF, CG, DP. In practice, AN indicates which 7-segmnets should be enabled. CA, CB, CC, CD, CE, CF, CG, DP are 1 bit each and are transferred simultaneously via a data bus common between all 7-segments (Fig. 4). Fig.4. Data and Enable of 7-segment o At each time, you can enable just one of the 7-segments and get the appropriate data on data bus. To enable one 7-segment, the enable bit of related 7-segment should be 0 and other enable bits should be 1. Based on the following picture turn each segment in one of the 7-segments. Fig.5. The relation of each bit of data bus with the segments. Assume you are going to turn on 7 in 7-segment # 5. First you need to enable this 7-segment by placing AN[5] = 0 and all other AN[i] values to “1”, i.e., AN [7:0] = 8b11011111. In the next step according to Fig.5, to illustrate number 7, we should activate CA, CB, CC. So, CA, CB, CC all get “0” and CD, CE, CF, and CG get 1. In addition, DP = 1. Therefore, in this case {CA, CB, CC, CD, CE, CF, CG, DP} = 8b00011111; 5 Note that to turn on all 7-segments simultaneously, you have to enable each 7-segment one by one and load the related number on it. As this sequence is so fast, human eyes cannot detect that at each time just one 7-segment is on, i.e., all are considered as on. Accordingly, in your design consider 4ms to enable one 7-segment and repeat this for other ones, one by one in a daisy chain. When each 7-segment is on, load the CA, CB, CC, CD, CE, CF, CG, DP with the appropriate value (as shown in Fig. 6). Fig.6. Enabling 7-segments For more information, you can check Section 10.1 in the following link: https://reference.digilentinc.com/reference/programmable-logic/nexys-4-ddr/reference-manual • Push Buttons When you push a button, the signal that comes into FPGA is similar to the following figure. Fig.7. Transient signal in push buttons As shown, the signal may have a number of glitches that may adversely affect your implementation such that it doesn’t work properly. You need to remove the glitches in the transient step and obtain a signal similar to the one shown Fig.8 and use that signal as needed. https://reference.digilentinc.com/reference/programmable-logic/nexys-4-ddr/reference-manual 6 Fig.8. Push button signal after filtering To remove these glitches, you are to use some filters on push buttons. The filter has been designed and given to you in blackboard (the same folder). So, add Filter.v code in your project and instantiate it in your design as below: The data_in can be any of the push button signals and data_out is its filtered counterpart that you should use in your design. You should instantiate this module 5 times for your 5 push buttons. Note: In addition, you should consider that when you push one of the push buttons, it should show one transition only (related to one move). For the next try (next move of police), you should relax the button and then push it again. To realize this, you can detect the positive edge of a push button signal by the circuit shown in Fig. 9. Then, you can use Signal out as an enable for the police moves. Fig.9. Detecting push button bouncing • Blinking LED According to the game rule, if the police can catch the thief with less than N+6 moves, he wins. In this situation, LEDs should blink. To make a blinking LED, you can design a 27-bit counter (you can design it in behavioral level). The counter is clocked with the system clock (frequency:100Mhz). When the MSB of the counter is “1” the LEDs can be on, otherwise LEDs can be off. Note that blinking is only for the case that the police wins.
CATEGORIES
Economics Nursing Applied Sciences Psychology Science Management Computer Science Human Resource Management Accounting Information Systems English Anatomy Operations Management Sociology Literature Education Business & Finance Marketing Engineering Statistics Biology Political Science Reading History Financial markets Philosophy Mathematics Law Criminal Architecture and Design Government Social Science World history Chemistry Humanities Business Finance Writing Programming Telecommunications Engineering Geography Physics Spanish ach e. Embedded Entrepreneurship f. Three Social Entrepreneurship Models g. Social-Founder Identity h. Micros-enterprise Development Outcomes Subset 2. Indigenous Entrepreneurship Approaches (Outside of Canada) a. Indigenous Australian Entrepreneurs Exami Calculus (people influence of  others) processes that you perceived occurs in this specific Institution Select one of the forms of stratification highlighted (focus on inter the intersectionalities  of these three) to reflect and analyze the potential ways these ( American history Pharmacology Ancient history . Also Numerical analysis Environmental science Electrical Engineering Precalculus Physiology Civil Engineering Electronic Engineering ness Horizons Algebra Geology Physical chemistry nt When considering both O lassrooms Civil Probability ions Identify a specific consumer product that you or your family have used for quite some time. This might be a branded smartphone (if you have used several versions over the years) or the court to consider in its deliberations. Locard’s exchange principle argues that during the commission of a crime Chemical Engineering Ecology aragraphs (meaning 25 sentences or more). Your assignment may be more than 5 paragraphs but not less. INSTRUCTIONS:  To access the FNU Online Library for journals and articles you can go the FNU library link here:  https://www.fnu.edu/library/ In order to n that draws upon the theoretical reading to explain and contextualize the design choices. Be sure to directly quote or paraphrase the reading ce to the vaccine. Your campaign must educate and inform the audience on the benefits but also create for safe and open dialogue. A key metric of your campaign will be the direct increase in numbers.  Key outcomes: The approach that you take must be clear Mechanical Engineering Organic chemistry Geometry nment Topic You will need to pick one topic for your project (5 pts) Literature search You will need to perform a literature search for your topic Geophysics you been involved with a company doing a redesign of business processes Communication on Customer Relations. Discuss how two-way communication on social media channels impacts businesses both positively and negatively. Provide any personal examples from your experience od pressure and hypertension via a community-wide intervention that targets the problem across the lifespan (i.e. includes all ages). Develop a community-wide intervention to reduce elevated blood pressure and hypertension in the State of Alabama that in in body of the report Conclusions References (8 References Minimum) *** Words count = 2000 words. *** In-Text Citations and References using Harvard style. *** In Task section I’ve chose (Economic issues in overseas contracting)" Electromagnetism w or quality improvement; it was just all part of good nursing care.  The goal for quality improvement is to monitor patient outcomes using statistics for comparison to standards of care for different diseases e a 1 to 2 slide Microsoft PowerPoint presentation on the different models of case management.  Include speaker notes... .....Describe three different models of case management. visual representations of information. They can include numbers SSAY ame workbook for all 3 milestones. You do not need to download a new copy for Milestones 2 or 3. When you submit Milestone 3 pages): Provide a description of an existing intervention in Canada making the appropriate buying decisions in an ethical and professional manner. Topic: Purchasing and Technology You read about blockchain ledger technology. Now do some additional research out on the Internet and share your URL with the rest of the class be aware of which features their competitors are opting to include so the product development teams can design similar or enhanced features to attract more of the market. The more unique low (The Top Health Industry Trends to Watch in 2015) to assist you with this discussion.         https://youtu.be/fRym_jyuBc0 Next year the $2.8 trillion U.S. healthcare industry will   finally begin to look and feel more like the rest of the business wo evidence-based primary care curriculum. Throughout your nurse practitioner program Vignette Understanding Gender Fluidity Providing Inclusive Quality Care Affirming Clinical Encounters Conclusion References Nurse Practitioner Knowledge Mechanics and word limit is unit as a guide only. The assessment may be re-attempted on two further occasions (maximum three attempts in total). All assessments must be resubmitted 3 days within receiving your unsatisfactory grade. You must clearly indicate “Re-su Trigonometry Article writing Other 5. June 29 After the components sending to the manufacturing house 1. In 1972 the Furman v. Georgia case resulted in a decision that would put action into motion. Furman was originally sentenced to death because of a murder he committed in Georgia but the court debated whether or not this was a violation of his 8th amend One of the first conflicts that would need to be investigated would be whether the human service professional followed the responsibility to client ethical standard.  While developing a relationship with client it is important to clarify that if danger or Ethical behavior is a critical topic in the workplace because the impact of it can make or break a business No matter which type of health care organization With a direct sale During the pandemic Computers are being used to monitor the spread of outbreaks in different areas of the world and with this record 3. Furman v. Georgia is a U.S Supreme Court case that resolves around the Eighth Amendments ban on cruel and unsual punishment in death penalty cases. The Furman v. Georgia case was based on Furman being convicted of murder in Georgia. Furman was caught i One major ethical conflict that may arise in my investigation is the Responsibility to Client in both Standard 3 and Standard 4 of the Ethical Standards for Human Service Professionals (2015).  Making sure we do not disclose information without consent ev 4. Identify two examples of real world problems that you have observed in your personal Summary & Evaluation: Reference & 188. Academic Search Ultimate Ethics We can mention at least one example of how the violation of ethical standards can be prevented. Many organizations promote ethical self-regulation by creating moral codes to help direct their business activities *DDB is used for the first three years For example The inbound logistics for William Instrument refer to purchase components from various electronic firms. During the purchase process William need to consider the quality and price of the components. In this case 4. A U.S. Supreme Court case known as Furman v. Georgia (1972) is a landmark case that involved Eighth Amendment’s ban of unusual and cruel punishment in death penalty cases (Furman v. Georgia (1972) With covid coming into place In my opinion with Not necessarily all home buyers are the same! When you choose to work with we buy ugly houses Baltimore & nationwide USA The ability to view ourselves from an unbiased perspective allows us to critically assess our personal strengths and weaknesses. This is an important step in the process of finding the right resources for our personal learning style. Ego and pride can be · By Day 1 of this week While you must form your answers to the questions below from our assigned reading material CliftonLarsonAllen LLP (2013) 5 The family dynamic is awkward at first since the most outgoing and straight forward person in the family in Linda Urien The most important benefit of my statistical analysis would be the accuracy with which I interpret the data. The greatest obstacle From a similar but larger point of view 4 In order to get the entire family to come back for another session I would suggest coming in on a day the restaurant is not open When seeking to identify a patient’s health condition After viewing the you tube videos on prayer Your paper must be at least two pages in length (not counting the title and reference pages) The word assimilate is negative to me. I believe everyone should learn about a country that they are going to live in. It doesnt mean that they have to believe that everything in America is better than where they came from. It means that they care enough Data collection Single Subject Chris is a social worker in a geriatric case management program located in a midsize Northeastern town. She has an MSW and is part of a team of case managers that likes to continuously improve on its practice. The team is currently using an I would start off with Linda on repeating her options for the child and going over what she is feeling with each option.  I would want to find out what she is afraid of.  I would avoid asking her any “why” questions because I want her to be in the here an Summarize the advantages and disadvantages of using an Internet site as means of collecting data for psychological research (Comp 2.1) 25.0\% Summarization of the advantages and disadvantages of using an Internet site as means of collecting data for psych Identify the type of research used in a chosen study Compose a 1 Optics effect relationship becomes more difficult—as the researcher cannot enact total control of another person even in an experimental environment. Social workers serve clients in highly complex real-world environments. Clients often implement recommended inte I think knowing more about you will allow you to be able to choose the right resources Be 4 pages in length soft MB-920 dumps review and documentation and high-quality listing pdf MB-920 braindumps also recommended and approved by Microsoft experts. The practical test g One thing you will need to do in college is learn how to find and use references. References support your ideas. College-level work must be supported by research. You are expected to do that for this paper. You will research Elaborate on any potential confounds or ethical concerns while participating in the psychological study 20.0\% Elaboration on any potential confounds or ethical concerns while participating in the psychological study is missing. Elaboration on any potenti 3 The first thing I would do in the family’s first session is develop a genogram of the family to get an idea of all the individuals who play a major role in Linda’s life. After establishing where each member is in relation to the family A Health in All Policies approach Note: The requirements outlined below correspond to the grading criteria in the scoring guide. At a minimum Chen Read Connecting Communities and Complexity: A Case Study in Creating the Conditions for Transformational Change Read Reflections on Cultural Humility Read A Basic Guide to ABCD Community Organizing Use the bolded black section and sub-section titles below to organize your paper. For each section Losinski forwarded the article on a priority basis to Mary Scott Losinksi wanted details on use of the ED at CGH. He asked the administrative resident