Find Jobs
Hire Freelancers

C system coding projects

$30-250 USD

已完成
已发布超过 7 年前

$30-250 USD

货到付款
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.
项目 ID: 12552424

关于此项目

8提案
远程项目
活跃7 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
颁发给:
用户头像
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 在3天之内
4.9 (34条评论)
5.8
5.8
8威客以平均价$216 USD来参与此工作竞价
用户头像
Hello! Please check my reviews to know a bit about me. Thank you
$225 USD 在5天之内
5.0 (49条评论)
5.4
5.4
用户头像
A proposal has not yet been provided
$222 USD 在2天之内
5.0 (4条评论)
5.3
5.3
用户头像
IMHO the name of compiler incorrectly typed - it is systemC (it is HDL) and project is about FPGA programming.
$250 USD 在3天之内
5.0 (3条评论)
5.0
5.0
用户头像
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 在3天之内
5.0 (20条评论)
4.8
4.8
用户头像
A proposal has not yet been provided
$222 USD 在6天之内
5.0 (3条评论)
2.0
2.0
用户头像
A proposal has not yet been provided
$155 USD 在3天之内
0.0 (0条评论)
0.0
0.0

关于客户

UNITED STATES的国旗
Wantagh, United States
5.0
5
付款方式已验证
会员自5月 12, 2015起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。