Our Services

Get 15% Discount on your First Order

[rank_math_breadcrumb]

IT

i need someone to do this homework for me 

Technische Informatik 1 Wintersemester 2024/2025 Übungsblatt 9

Bitte Beachten!

Diese Hausübung ist eine Zulassungsvorraussetzung für die Klausur. Bitte laden
sie ihre Lösung entsprechend der Aufgabenbeschreibung in Moodle über den dazu
vorgesehenen Punkt bis zum 08.01.25 23:59Uhr auf Moodle hoch.

Übung 9 Hausübung: Entwicklung einer 4 Bit ALU

Eine 4 Bit ALU mit den Eingängen A = (a3 a2 a1 a0) und B = (b3 b2 b1 b0) soll folgende
Operationen entsprechend der Steuerleitungen S = (s1 s0) umsetzen:

s1 s0 f(A,B)
0 0 A+B
0 1 A-B
1 0 A AND B
1 1 A XOR B

Die Komponenten für diese ALU werden im folgenden zuerst entwickelt und dann zur ALU
zusammengefügt.

Aufgabe 9.1 Entwicklung der Komponenten

Die Javaklassen sollen den Aufbau der Schaltungen widerspiegeln.
Testen Sie nach Fertigstellung einer Komponente jeweils die Schaltung und die Klassen.

1. Entwickeln Sie die Schaltung und eine Java-Klasse für den Volladdierer.

Sie können auch ihre Ergebnisse aus Übung 7 verwenden.
Die Javaklasse soll den Aufbau der Schaltung widerspiegeln.
Name der Klasse: FullAdder

c_in b a sum c_out
0 0 0 0 0
0 0 1 1 0
0 1 0 1 0
0 1 1 0 1
1 0 0 1 0
1 0 1 0 1
1 1 0 0 1
1 1 1 1 1

Boolesche Ausdrücke
sum = cin · b · a+ cin · b · a+ cin · b · a+ cin · b · a
cout = a · b · cin + a · b · cin + a · b · cin + a · b · cin
c_out kann noch Vereinfacht werden (z.B. via KV-Diagramm):
cout = b · a+ cin · a+ cin · b

Seite 1

Technische Informatik 1 Wintersemester 2024/2025 Übungsblatt 9

2. Entwickeln Sie die Schaltung und eine Java-Klasse für einen 4 Bit Addierer.

Nutzen Sie den Volladdierer aus Aufgabe 9.1.1.
Die Javaklasse soll den Aufbau der Schaltung widerspiegeln.
Name der Klasse: FourBitAdder

3. Entwickeln Sie die Schaltung und eine Java-Klasse für einen 4 Bit Subtrahierer.

Die Javaklasse soll den Aufbau der Schaltung widerspiegeln.
Name der Klasse: FourBitSubtractor

4. Entwickeln Sie die Schaltung und eine Java-Klasse für eine 4 Bit AND
Verknüpfung.

Die Javaklasse soll den Aufbau der Schaltung widerspiegeln.
Name der Klasse: FourBitAND

5. Entwickeln Sie die Schaltung und eine Java-Klasse für eine 4 Bit XOR
Verknüpfung.

Die Javaklasse soll den Aufbau der Schaltung widerspiegeln.
Name der Klasse: FourBitXOR

6. Entwickeln Sie die Schaltung und eine Java-Klasse für einen 4:1 Multiplexer.

Sie können auch ihre Ergebnisse aus Übung 8 verwenden.
Die Javaklasse soll den Aufbau der Schaltung widerspiegeln.
Name der Klasse: FourToOneMUX

Seite 2

Technische Informatik 1 Wintersemester 2024/2025 Übungsblatt 9

Aufgabe 9.2 Zusammenfügen der Komponenten

Benutzen Sie die in Aufgabe 9.1 entwickelten Komponenten.

1. Entwickeln Sie die Schaltung für die 4 Bit ALU.

2. Entwickeln Sie eine Java-Klasse für die 4 Bit ALU.

Die Javaklasse soll den Aufbau der Schaltung widerspiegeln.
Name der Klasse: FourBitALU
Name des Testers: FourBitALUTest oder FourBitALUTester

Testen sie alle vier Funktionen (+,-,AND,XOR) der ALU

• mit

FourBitALU alu = new(FourBitALU);
alu.calc(boolean s1, boolean s0,

boolean b3, boolean b2, boolean b1, boolean b0,
boolean a3, boolean a2, boolean a1, boolean a0);

alu.print();

• oder mit


alu.calc(int s1, int s0, int b3 …usw.); // nur 1 oder 0 als Wert erlaubt
alu.print();

• oder mit Hilfe der toString()-Methode.

Seite 3

Technische Informatik 1 Wintersemester 2024/2025 Übungsblatt 9

Übersicht der abzugebenden Schaltungen und Java-Klassen

Halten Sie sich an die folgenden Vorgaben!

Vorgaben für die abzugebenden Dateien:

Aufgabe 9.1

• FullAdder.svg

• FullAdder.java

• FourBitAdder.svg

• FourBitAdder.java

• FourBitSubtractor.svg

• FourBitSubtractor.java

• FourBitAND.svg

• FourBitAND.java

• FourBitXOR.svg

• FourBitXOR.java

• FourToOneMUX.svg

• FourToOneMUX.java

Aufgabe 9.2

• FourBitALU.svg

• FourBitALU.java

• FourBitALUTester.java oder

• FourBitALUTest.java

Die Abgabe ist eine individuelle Prüfungsvorleistung, die eigenständig und selbständig erstellt
werden muss.

Wir verwenden Tools zum Auffinden von Dopplungen im Source Code. Wenn dadurch der Ein-
druck eines Plagiats entsteht, werden wir die betroffenen Studierenden zu Einzelgesprächen für
eine Erklärung einberufen.

Seite 4

  • Hausübung: Entwicklung einer 4 Bit ALU
    • Entwicklung der Komponenten
      • Entwickeln Sie die Schaltung und eine Java-Klasse für den Volladdierer.
      • Entwickeln Sie die Schaltung und eine Java-Klasse für einen 4 Bit Addierer.
      • Entwickeln Sie die Schaltung und eine Java-Klasse für einen 4 Bit Subtrahierer.
      • Entwickeln Sie die Schaltung und eine Java-Klasse für eine 4 Bit AND Verknüpfung.
      • Entwickeln Sie die Schaltung und eine Java-Klasse für eine 4 Bit XOR Verknüpfung.
      • Entwickeln Sie die Schaltung und eine Java-Klasse für einen 4:1 Multiplexer.
    • Zusammenfügen der Komponenten
      • Entwickeln Sie die Schaltung für die 4 Bit ALU.
      • Entwickeln Sie eine Java-Klasse für die 4 Bit ALU.

Share This Post

Email
WhatsApp
Facebook
Twitter
LinkedIn
Pinterest
Reddit

Order a Similar Paper and get 15% Discount on your First Order

Related Questions

Blockchain Presentation

presentation about a blockchain Term Project CIS 5730- Blockchain Application Project Guideline Part ii–Presentation Along with the project you will present what you did to the class in a short presentation. If you want, you can demonstrate the project, or just present an overview of what you did. Presentations should

Network Threats

  Questions: Below is a list of common network attacks: Distributed Denial of Service (DDoS) DNS poisoning ARP poisoning Domain hijacking MAC flooding MAC cloning Man-in-the-Middle Explain two of these network attacks and discuss methods/techniques for protecting the network against them.

Best Practices for Role-Based Privilege Management in Databases

  Research the best practices for managing and securing role-based privileges in databases and address the following questions in your discussion post:  What are the key challenges in managing role-based privileges, and how do they impact database security? Can you provide a real-world scenario where poor role-based privilege management led

Computer Science Cloud Computing assignment

Please see attachment for details 4 [ Note: To complete this template, replace the bracketed text with your own content. Remove this note before you submit your paper.] Cloud Computing Evaluation Paper 1 Cloud Computing [Differentiate between cloud computing models and their uses. What are the different types of deployment

Computer Science- Python Python Programming Assignment

Computer Science Python Programming Lab assignment help. Design a Python program that calculates a credit card customer’s minimum payment based on their balance. Please use If Else and elif statements in your code. You must add comments in your code. Please round the minimum payment to two decimal places using

Blockchain Application

I need help with my coursework project. Let me know if you need any help from me.  Lab 2: Blockchain-Based Academic Credentials Lab Lastname: ______________ Firstname:________________ 1. Overview AETHELRED UNIVERSITY Registrar’s Office wants to start issuing a digital transcripts and diploma for graduating students. You are called to build the

LOREM, IPSUM

The ability to develop a risk register is a skill needed by all cybersecurity leaders when assessing cybersecurity risks. A risk register provides a detailed listing of known risks as well as quantitative or qualitative assessments of those risks, resulting in the prioritization of action.

Virtual LANs

  Questions: A VLAN allows different devices to be connected virtually to each other as if they were in a LAN sharing a single broadcast domain. 1. Why a network engineer would want to deploy VLANs? 2. How do VLANs improve network security?

compliance and rules to follow in cybersecurity.

Follow the attached instructions to complete this work. Note: Make sure to follows rubric or aligns with Rubric. Unit 8 Assignment Directions: Case Study Review the following hypothetical case study. Consider the big-picture ideas and the specific concerns. Make use of the key terms and concepts from the readings in

Discussion on data ( computer science)

Follow the attached direction to complete this work Unit 7 Discussion   Overview Consider this scenario: PQR Corporation provides facial recognition technology to customers. Its products include customer access to consumer electronics as well as mass surveillance capabilities through networked camera systems. While operating legally, PQR has maintained a low

Computer Science – Machine Learning Python Programming Assignment

Assignment Help. Please don’t forget to add comments in the code Page 1 of 3 NorQuest College – CMPT 1011: Lab Assignment 5 CMPT 1011: Introduction to Computing Lab Assignment 2: Variables, mathematical operations and data types Value This coding challenge is worth 3% of your final grade. Background In

Public safety Communications

Subscribe The Communications and Cyber Resiliency Toolkit provides guidance for establishing resiliency measures, public safety communications can better withstand potential disruptions to service. This toolkit, developed by CISA, describes networks and systems critical to successful communication and cyber resiliency and possible threats while providing many resources and additional links for

Case Study 4 o Data (computer)

Follow the attached instructions to complete this work Unit 4 Case Study Directions Review the following case study. Consider both the big-picture ideas and the specific concerns. Make use of the key terms and concepts from the readings in your written responses to the questions below. The case study paper

Discussion 5 and 6

Follow  the attached instructions to complete this work Unit 5 Discussion   Overview In this discussion, you will be considering the emphasis on aspects such as privacy and safety. You will reflect on the significance of the legal concerns and goals of public-private partnerships to address cybersecurity. You will also

SQL injection

Hey! ????  I need an expert in SQL injection, DDOS attack, Code injection attack, XSS attack! To talk further please contact me on discord at mara411 so we can talk more freely and then I will hire you on here! Thanks ???? 

Free CAD, FeniCS or paraview

I have attached the picture and sample work too, I need work as like sampl, but not the copypasted Make sure you can ask me multiple questions but not dont do rubbish work

database

2. Final Assignment – equivalent to 4,000 words The final module mark is based on two deliverables focused on the CarNow case study described below. – 50% of the final mark a. An advisory report – 50 % of the final mark Includes 5% (of the module grade) given for