1- Let’s consider the following arbitrary precision datatypes
typedef ap_int<7> int7; typedef ap_int<10> int10; typedef ap_uint<7> uint7; typedef ap_uint<10> uint10;
Find the binary representations of a7, a10, b7 and b10 after executing the following statements.

2- Find the binary representations of a7, ua6, ua10 and ub10 after executing the following statements.

3- Let’s consider the following arbitrary precision datatypes
typedef ap_int<7> int7; typedef ap_uint<10> uint10; typedef ap_uint<13> uint13;
Find the binary representations of ua10, a7 and ua13 after executing the following statements.

4- Let’s consider the following arbitrary precision datatypes
typedef ap_int<7> int7; typedef ap_uint<10> uint10; typedef ap_uint<13> uint13; typedef ap_uint<7> uint7;
Find the binary representations of ua10, a7 and ua13 after executing the following statements.

5- (single-layer perceptron neural network) The following graph shows the dataflow of a single-layer perceptron neural network with three input.

Design a combinational circuit for this neural network using an HLS C/C++ function.
void single_perceptron_nn (
ap_int<8> x1,
ap_int<8> x2,
ap_int<8> x3,
float w1,
float w2,
float w3,
float b,
bool &y)
{
...
...
...
}