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 app programming

i have the template provided and you will have to use the term project presentation to complete it.  Secure-Trade CIS-5730 – Blockchain Applications TERM PROJECT PRESENTATION The money is stored in a digital wallet in the blockchain until two parties pass release or refund (Safe, 2026). The same agreement promotes

HIMS 655 ASS8

Watch the YouTube Video MEDICAL CODING ICD-10-CM GUIDELINES LESSON – 1.B – Coder explanation and examples for 2021 Review the ICD-10-CM Official Guidelines for Coding and Reporting at   and in your assignment respond to the following questions: Who is responsible for framing these Guidelines? Why are these guidelines necessary for

HIMS 645 ASS8

Using Internet resources, search  three national and three international healthcare organizations that maintain databases and use the information based on the processed data from these databases in their decision-making process. Briefly describe the organizations and types of data contained in their databases (make sure to remember quality of data points and

W8: Topic 1 – Course Wrap-Up

 Pick one topic from this class that most interested you. State the topic and your reasons for the choice. ii. You need to respond to at least 2 students.  This is part of your grade to be active in the threads and responding to students.   NB: THIS IS THE TOPIC

Big Data Tools and Emerging Technologies

please see attachment  4 [ Note: To complete this template, replace the bracketed text with your own content. Remove this note before you submit your project.] Big Data Tools and Emerging Technologies Paper [Your Name] DAT 260: Emerging Technologies and Big Data [Your Instructor’s Name] [Date—for example, May 1, 2021]

HIMS 655 ASS7

Mapping between SNOMED-CT and ICD-10-CM Note: For completing this assignment, use of the I-MAGIC tool (Interactive Map-Assisted Generation of ICD Codes) is required. To access the I-MAGIC tool, click on the following  ) Problems and diagnoses can be recorded in SNOMED CT in the EHR, while the cross-mappings to ICD-10-CM can

HIMS 645 ASS7

Four types of databases are Relational, Network, Hierarchical, and Object-Oriented. What are their salient features (a table format is acceptable)? Assess their usability for healthcare facilities that generated numerical, text, and images data citing reasons for your choice.  Two most commonly used databases in healthcare organizations are Relational and Object-Oriented (O-O). Both employ respective

MS ACCESS

Need to do a Microsoft Access document for my work.  2 Consideration of MS Access Database Development on Healthcare. Name Instructor School Date Consideration of MS Access Database Development on Healthcare. Introduction The task entailed developing a Microsoft access database of a small healthcare facility, which has just abandoned the

Effective security programs

Organizational policies define the direction for an organization and contribute to its overall security culture by setting the tone on what is and is not acceptable. 

The Equifax Data Breach

Briefly explain what the Equifax data breach was, why it happened, and why it was important. You should mention that Equifax failed to protect personal data, discuss the ethical and security issues involved, and explain what companies can learn from the incident. Please see attached documents. 

Reflection on Big Data and AI

please see attached DAT 260 Module Five Journal Guidelines and Rubric Overview In this journal assignment, you will reflect on key concepts covered in this module. This assignment directly supports your work in Project Two, which is due in Module Seven. Directions In a well-crafted journal entry, address the following: