Find Jobs
Hire Freelancers

C system coding projects

$30-250 USD

Abgeschlossen
Veröffentlicht vor mehr als 7 Jahren

$30-250 USD

Bezahlt bei Lieferung
Noted:This project is required to be typed mainly in Csystem (one of the structures from C++ library) Problem 1 Design logic to do the following: • There are two 8-bit counters. Counter 1 is loaded from in1[7:0] when the signal load1 is high, and is decremented by 1 when dec1 is high. Counter 2 is loaded from in2[7:0] and is decremented by the amount specified in in3[7:0] when dec2 is high. • Whenever the contents of the two 8-bit counters become the same as each other, then the output flag ended goes high and the counter contents must remain the same until one of them are reloaded from in1 or in2. • Also, if either counter overflows (the counter contains unsigned numbers), then ended should go high and the counter contents must remain the same until one of them are reloaded from in1 or in2. (Overflow is indicated simply by a carry out = 1 in this case). • The value on in3 will be held constant for you. You do not need to register it. Design and verify your design, as well as a timing diagram. Also, make your solution consistent with the input/output declaration below: module count_compare (clock, in1, in2, in3, load1, load2, dec1, dec2, count1, count2, ended); input clock; input [7:0] in1, in2, in3; input load1: // when load1 goes high, in1 is registered into count1 input load2: // when load2 goes high, in2 is registered into count2 input dec1; // decrement count1 by 1 input dec2; // decrement count2 by in3 output [7:0] count1; // contents of counter 1 output [7:0] count2; // contents of counter 2 output ended; // goes high when count1==count2, or either counter experiences an unsigned overflow // note: count1 and count2 will not change after same goes high until load1 or load2 forces // one of the to be reloaded. Problem 2 Design and verify a communications interface. Often data sent over a data link are organized as packets of data, each packet containing some identification bits, data, and some check bits used to determine if a transmission error has occurred. Your hardware must meet the following specification: Inputs: Clock; Reset; //reset is active low Clear; //clears output registers – active high InData[11:0]; // Input data, organized as follows: // InData[11:8] contains the `header’ // InData[7:4] contains the `data payload’ // InData[3:1] are not used // InData[0] is a parity bit. It is `1’ if InData[7:4] is meant to be even parity. // A new `InData’ arrives every clock Outputs: All outputs are registered and are cleared when `reset’ is low or `clear’ is high. Payload[3:0]; // is changed to contain the `data payload’ when `InData’ is of type 1. Count[7:0]; // total count of type 1 datas Error[7:0]; // number of type 1 datas of wrong parity Clock 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 Clear 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 InData 1F1 0E0 171 0E0 (i.e., 1F1 : `type 1’, payload=F, parity should be even 0E0 : `not type 1’, payload=E, odd parity 170 ; `type 1’, payload=7, payload should have been even parity Payload 0 F F 7 7 The piece of hardware checks InData on each clock cycle. If InData[11:8] = 1, then it transfers the middle four bits of InData to payload and increments count. At the same time, it checks the parity of the middle four bits and sees if it is as expected. If it is not, then there is a transmission error, and error is incremented.
Projekt-ID: 12552424

Über das Projekt

8 Vorschläge
Remote Projekt
Aktiv vor 7 Jahren

Möchten Sie etwas Geld verdienen?

Vorteile einer Ausschreibung auf Freelancer

Legen Sie Ihr Budget und Ihren Zeitrahmen fest
Für Ihre Arbeit bezahlt werden
Skizzieren Sie Ihren Vorschlag
Sie können sich kostenlos anmelden und auf Aufträge bieten
Vergeben an:
Avatar des Nutzers
hello,how are you. i read your bid carefully. i am c/c++ expert and have full experience for 10 years. c++ language is my top skill. i can provide most quality and high speed. if you want to success, please contact me. Then, I will give you good result to the proposals. hire me.
$100 USD in 3 Tagen
4,9 (34 Bewertungen)
5,8
5,8
8 Freelancer bieten im Durchschnitt $216 USD für diesen Auftrag
Avatar des Nutzers
Hello! Please check my reviews to know a bit about me. Thank you
$225 USD in 5 Tagen
5,0 (49 Bewertungen)
5,4
5,4
Avatar des Nutzers
A proposal has not yet been provided
$222 USD in 2 Tagen
5,0 (4 Bewertungen)
5,3
5,3
Avatar des Nutzers
IMHO the name of compiler incorrectly typed - it is systemC (it is HDL) and project is about FPGA programming.
$250 USD in 3 Tagen
5,0 (3 Bewertungen)
5,0
5,0
Avatar des Nutzers
Greetings sir, i am an expert freelancer for this job and your 100% satisfaction is assured if you allow me to serve. Here is the reason. Why you should pick me? a) I am a very expert and have the same kind of experience of 5 years. b) I work very hard (16+ hours a day and 7 days a week) and also very fast so... it will be done very soon than most of the other providers c) And most important part is my policy: "I will give you (to my client) life time support (as long as you keep relation with me). And fix any bugs/problem without any cost. So, don't ever worry about me” Please sir, leave a reply ASAP, as I am waiting for your kind reply
$250 USD in 3 Tagen
5,0 (20 Bewertungen)
4,8
4,8
Avatar des Nutzers
A proposal has not yet been provided
$222 USD in 6 Tagen
5,0 (3 Bewertungen)
2,0
2,0
Avatar des Nutzers
A proposal has not yet been provided
$155 USD in 3 Tagen
0,0 (0 Bewertungen)
0,0
0,0

Über den Kunden

Flagge von UNITED STATES
Wantagh, United States
5,0
5
Zahlungsmethode verifiziert
Mitglied seit Mai 12, 2015

Kundenüberprüfung

Danke! Wir haben Ihnen per E-Mail einen Link geschickt, über den Sie Ihr kostenloses Guthaben anfordern können.
Beim Senden Ihrer E-Mail ist ein Fehler aufgetreten. Bitte versuchen Sie es erneut.
Registrierte Benutzer Veröffentlichte Jobs
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Vorschau wird geladen
Erlaubnis zur Geolokalisierung erteilt.
Ihre Anmeldesitzung ist abgelaufen und Sie wurden abgemeldet. Bitte melden Sie sich erneut an.