Find Jobs
Hire Freelancers

C system coding projects

$30-250 USD

Completed
Posted over 7 years ago

$30-250 USD

Paid on delivery
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.
Project ID: 12552424

About the project

8 proposals
Remote project
Active 7 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
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 days
4.9 (34 reviews)
5.8
5.8
8 freelancers are bidding on average $216 USD for this job
User Avatar
Hello! Please check my reviews to know a bit about me. Thank you
$225 USD in 5 days
5.0 (49 reviews)
5.4
5.4
User Avatar
A proposal has not yet been provided
$222 USD in 2 days
5.0 (4 reviews)
5.3
5.3
User Avatar
IMHO the name of compiler incorrectly typed - it is systemC (it is HDL) and project is about FPGA programming.
$250 USD in 3 days
5.0 (3 reviews)
5.0
5.0
User Avatar
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 days
5.0 (20 reviews)
4.8
4.8
User Avatar
A proposal has not yet been provided
$222 USD in 6 days
5.0 (3 reviews)
2.0
2.0
User Avatar
A proposal has not yet been provided
$155 USD in 3 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Wantagh, United States
5.0
5
Payment method verified
Member since May 12, 2015

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.