File size: 565 Bytes
e8b8483
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Zero-parameter person classifier, 4 dims.
// Generated by rtl_gen.py; do not edit by hand.
//
// sum(pos) > sum(neg), on signed INT8 channels taken from the pooled feature
// vector. No threshold, so no constant appears anywhere in this module.

module person_d4 (
    input  signed [7:0] f48, f71, f637, f90,
    output person_present
);
    wire signed [8:0] pos_sum =
        {{1{f48[7]}}, f48} + {{1{f71[7]}}, f71};

    wire signed [8:0] neg_sum =
        {{1{f637[7]}}, f637} + {{1{f90[7]}}, f90};

    assign person_present = pos_sum > neg_sum;
endmodule