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

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

Computer

Documentation Tabula Insurance Agency ENTER AND UPDATE COMPANY DATA Author: Ashanti Joyner Note: Do not edit this sheet. If your name does not appear in cell B6, please download a new copy of the file from the SAM website. Personnel Tabula Insurance Agency Personnel: April 4-10, 2024 Employee Name Salary

Computer class

All information is below Toronto converted a declining part of the city into a vibrant neighborhood using the smart city 1.0 approach when a local technology company introduced electric shuttle buses to replace private cars and intelligent traffic lights to regulate the flow of pedestrians, bicycles, and vehicles. From Frankl,

Week 15

Read attachments for assignments  Week 14 Feedback Overall Feedback Well done on this assignment You will have to refine your tables and figures for your final submission. Always introduce them to the reader in preceding paragraph, properly create APA table, and cite figures. See Video:   APA Tables and Figures

Prof Double R

  PowerPoint Presentation: Narrative Presentation to the Board of Trustees The Centers for Medicare & Medicaid Services (CMS) has taken on a more visible role in health care. A great deal of change has transpired to improve patient safety and implementation of additional quality metrics. The new health care reform

Week 14

Please read attachments for details  image1.png

Week 13

Read attachments for details  The Finishing Touches – Week 13 Instructions For this week’s assignment you will submit the material discussed in the lesson plan and summarized below: · A refined introduction (Mandatory) · Updated Title Page (Mandatory) · Copyright Page with Declaration (Mandatory) · Dedication Page (Optional) · Acknowledgement

SCMT699

please read attachments for assignment  Feedback from week 10 Please address your design before your next submission.  Its how you are going to go about conducting your research so other can duplicate it. This is a good book on it. Creswell, J. W. (2009). Research design: Qualitative, quantitative, and mixed

Discussion 2

Follow the attached instructions to complete this work. Using ChatGPT or another generative AI tool, you will request SQL code for a business problem using simple user requirement terms. Then you will plug that into MySQL to reverse engineer an ERD. You and your classmates will discuss misalignments between what

Week 10

Read attachment for details  Week 8 Feedback Overall Feedback Theory is one of the most difficult concept to grasp.  Your study must be based on a theory and align with what you are attempting to explore and what you are trying to answer based on previous gaps in research. Well

hw2

This problem exercises the basic concepts of game playing, using tic-tac-toe as an example.  We define Xn as the number of rows, columns, or diagonals with exactly n X’s and no O’s.  Similarly, On is the number of rows, columns, or diagonals with exactly n O’s.  The utility function assigns

Computer Science Homework 2

Homework 2. Question 1. Decision Tree Classifier [10 Points] Data: The zip file “ hw2.q1.data.zip” contains 3 CSV files: · “ hw2.q1.train.csv” contains 10,000 rows and 26 columns. The first column ‘ y’ is the output variable with 2 classes: 0, 1. The remaining 25 columns contain input features: x_1,

Incident Response

Please follow the PDF WGU Performance Assessment  Please create report attach is the doc file to use  also included are the lab results with screen shots of answer  -Create “Incident Reporting Template” with file attach -Use screenshot evidence document, in .docx format, generated by the virtual lab for guidance and

Week 8

Read attachment for details Theoretical Framework – Week 8 Hide Assignment Information Turnitin™ Turnitin™ enabledThis assignment will be submitted to Turnitin™. Instructions This week you will submit your theoretical framework. The following description for this section of your thesis is from the End of Program Manual (EOP): Theoretical Framework/Approach: The

In Basketball Stars, a player attempts 25 shots in one game.

  In  basketball stars, a player attempts 25 shots in one game. a) If 15 shots are successful, what is the player’s shooting percentage? b) The next game, the player makes 18 out of 30 shots. Compare the two shooting percentages. c) What is the overall shooting percentage across both

problem

Research problems due 9/18 Please follow the instructions carefully for your research problem. Your argument and research input will significantly impact your grade. Ensure that you check for AI-generated content and plagiarism before submitting your paper. AI-generated content should not exceed 10%, and content from external sources should be limited

co task 6

Topic-bitcoin Task 6 Objective: To apply systems thinking principles to analyze a blockchain network and understand its key components, interactions, and dynamics. Assignment Tasks: Select a Blockchain Network: Choose a specific blockchain network or cryptocurrency project to analyze. You can select well-known networks like Bitcoin, Ethereum, or any other blockchain