i need urgent help programming this project ! i would be very thankful if you help me...!
"Develop system scheduler program (in C++) to schedule system operations. The system has limited resources. The scheduler must minimize number execution cycles and respect operation dependencies. Scheduler generates the utilization for each resource and system speedup.
Assumptions:
Operators: + and ×
Operands are either:
o variable name , one character: a, b, ...., x, y, z
o or constant, one number: 0,1, 2, 3, ....9
An operation takes on clock cycle
Scheduler can schedule as many operations as allowed by resources. Resources are
determined by command line.
You need minimize number of cyc Program inputs and options:
o Program is invoked with following options: -m mult_num -a add_num mult_num : number of available multipliers per cycle
default : mult_num=1
add_num : number of available adders per cycle
default : add_num=1
o Input file (in.txt) has instructions, as shown in the below table o Produce output file (out.txt) as shown in the below table
Programming environment: o Program language; C++
o Install cygwin (
https://www.cygwin.com/). cygwin is a light unix for windows. o Use below program template to read command line options.
o run g++ commands g++ scheduler.cpp -o scheduler ./scheduler.exe -m 2 -a 2
MULTIPLIERS = 2 ADDERS = 2