Hello, dear friend, you can consult us at any time if you have any questions, add WeChat: daixieit


Coursework 1

Computer Processors (COMP1212)


Submission You must submit your work via Gradescope. You should submit two files,

one called CW1Q1.hdl and one called CW1Q2.hdl.

Deadline Please see Gradescope for the deadline..

Weighting This piece of summative coursework is worth 25% of the module grade.

 

1. Produce an HDL file which implements the boolean function described by the fol- lowing truth table.

sl

2

x

y

f (sl , s2 , x, y)

0

0

0

0

0

0

0

0

1

0

0

0

1

0

0

0

0

1

1

1

0

1

0

0

0

0

1

0

1

1

0

1

1

0

1

0

1

1

1

0

1

0

0

0

0

1

0

0

1

1

1

0

1

0

1

1

0

1

1

1

1

1

0

0

1

1

1

0

1

1

1

1

1

0

0

1

1

1

1

1

 

The HDL file should have the following preamble.

 

CHIP  CW1Q1  {

IN  s1,  s2,  x,  y;

OUT  f;

 

PARTS:

}

 

2. Produce an HDL file which implements the boolean function described by the follow- ing formula. Your should ensure that your implementation is minimised with respect to the number of gates used.

(-a A b) V (b A -c) V (b A c) V (a A -b A -c)

The HDL file should have the following preamble.

 

CHIP  CW1Q2  {

IN  a, b,  c;

OUT  f;

 

PARTS:

}

 

Each of the questions is worth 12.5 marks.