# Messages from "go new" Creating project directory '/home/joaopizani/CCS_Training_labs/Lab1/Catapult_1'. (PRJ-1) # Messages from "go analyze" Front End called with arguments: -- /home/joaopizani/CCS_Training_labs/Lab1/mac.cpp /home/joaopizani/CCS_Training_labs/Lab1/mac_tb.cpp (CIN-69) Edison Design Group C++/C Front End - Version 3.10.1 (CIN-1) Pragma 'hls_design' detected on routine 'mult_acc' (CIN-6) Source file analysis completed (CIN-68) Starting transformation 'analyze' on solution 'solution.v1' (SOL-8) Completed transformation 'analyze' on solution 'solution.v1': elapsed time 0.33 seconds, memory usage 204804kB, peak memory usage 204804kB (SOL-9) $PROJECT_HOME/mac_tb.cpp(20): last line of file ends without a newline (CRD-1) detected during compilation of secondary translation unit "/home/joaopizani/CCS_Training_labs/Lab1/mac_tb.cpp" # Messages from "go compile" Reading component library '$MGC_HOME/pkgs/siflibs/mgc_busdefs.lib' [mgc_busdefs]... (LIB-49) Reading component library '$MGC_HOME/pkgs/siflibs/stdops.lib' [STDOPS]... (LIB-49) Reading component library '$MGC_HOME/pkgs/siflibs/mgc_ioport.lib' [mgc_ioport]... (LIB-49) Reading component library '$MGC_HOME/pkgs/siflibs/designcompiler/mgc_sample-065nm-dw_beh_dc.lib' [mgc_sample-065nm-dw_beh_dc]... (LIB-49) Starting transformation 'compile' on solution 'solution.v1' (SOL-8) Generating synthesis internal form... (CIN-3) Found top design routine 'mult_acc' specified by directive (CIN-52) Synthesizing routine 'mult_acc' (CIN-13) Inlining routine 'mult_acc' (CIN-14) Optimizing block '/mult_acc' ... (CIN-4) Inout port 'a' is only used as an input. (OPT-10) Inout port 'b' is only used as an input. (OPT-10) Inout port 'dout' is only used as an output. (OPT-11) Loop '/mult_acc/core/main/MAC' iterated at most 4 times. (LOOP-2) Design 'mult_acc' was read (SOL-1) Optimizing partition '/mult_acc': (Total ops = 28, Real ops = 7, Vars = 15) (SOL-10) Optimizing partition '/mult_acc/core': (Total ops = 28, Real ops = 7, Vars = 12) (SOL-10) Optimizing partition '/mult_acc/core': (Total ops = 28, Real ops = 7, Vars = 12) (SOL-10) Optimizing partition '/mult_acc': (Total ops = 28, Real ops = 7, Vars = 15) (SOL-10) Optimizing partition '/mult_acc': (Total ops = 28, Real ops = 7, Vars = 15) (SOL-10) Optimizing partition '/mult_acc/core': (Total ops = 28, Real ops = 7, Vars = 12) (SOL-10) Optimizing partition '/mult_acc/core': (Total ops = 15, Real ops = 7, Vars = 6) (SOL-10) Optimizing partition '/mult_acc': (Total ops = 15, Real ops = 7, Vars = 9) (SOL-10) Optimizing partition '/mult_acc': (Total ops = 15, Real ops = 7, Vars = 9) (SOL-10) Optimizing partition '/mult_acc/core': (Total ops = 13, Real ops = 5, Vars = 8) (SOL-10) Optimizing partition '/mult_acc/core': (Total ops = 14, Real ops = 5, Vars = 2) (SOL-10) Optimizing partition '/mult_acc': (Total ops = 14, Real ops = 5, Vars = 5) (SOL-10) Optimizing partition '/mult_acc/core': (Total ops = 14, Real ops = 5, Vars = 2) (SOL-10) Optimizing partition '/mult_acc': (Total ops = 14, Real ops = 5, Vars = 5) (SOL-10) Optimizing partition '/mult_acc': (Total ops = 14, Real ops = 5, Vars = 5) (SOL-10) Optimizing partition '/mult_acc/core': (Total ops = 14, Real ops = 5, Vars = 2) (SOL-10) Optimizing partition '/mult_acc/core': (Total ops = 17, Real ops = 5, Vars = 2) (SOL-10) Optimizing partition '/mult_acc/core': (Total ops = 13, Real ops = 3, Vars = 2) (SOL-10) Optimizing partition '/mult_acc': (Total ops = 13, Real ops = 3, Vars = 5) (SOL-10) Optimizing partition '/mult_acc/core': (Total ops = 12, Real ops = 3, Vars = 3) (SOL-10) Optimizing partition '/mult_acc/core': (Total ops = 12, Real ops = 3, Vars = 2) (SOL-10) Optimizing partition '/mult_acc': (Total ops = 12, Real ops = 3, Vars = 5) (SOL-10) Optimizing partition '/mult_acc/core': (Total ops = 12, Real ops = 3, Vars = 2) (SOL-10) Optimizing partition '/mult_acc': (Total ops = 12, Real ops = 3, Vars = 5) (SOL-10) Completed transformation 'compile' on solution 'mult_acc.v1': elapsed time 0.59 seconds, memory usage 214556kB, peak memory usage 214556kB (SOL-9) # Messages from "go architect" Starting transformation 'architect' on solution 'mult_acc.v1' (SOL-8) Loop '/mult_acc/core/main/MAC' is left rolled. (LOOP-4) Loop '/mult_acc/core/main' is left rolled. (LOOP-4) I/O-Port inferred - resource 'a:rsc' (from var: a) mapped to 'mgc_ioport.mgc_in_wire' (size: 128). (MEM-2) I/O-Port inferred - resource 'b:rsc' (from var: b) mapped to 'mgc_ioport.mgc_in_wire' (size: 128). (MEM-2) I/O-Port inferred - resource 'dout:rsc' (from var: dout) mapped to 'mgc_ioport.mgc_out_stdreg' (size: 32). (MEM-2) Optimizing partition '/mult_acc': (Total ops = 16, Real ops = 4, Vars = 7) (SOL-10) Optimizing partition '/mult_acc/core': (Total ops = 16, Real ops = 4, Vars = 2) (SOL-10) Optimizing partition '/mult_acc/core': (Total ops = 15, Real ops = 4, Vars = 2) (SOL-10) Optimizing partition '/mult_acc': (Total ops = 15, Real ops = 4, Vars = 7) (SOL-10) Optimizing partition '/mult_acc': (Total ops = 15, Real ops = 4, Vars = 7) (SOL-10) Optimizing partition '/mult_acc/core': (Total ops = 15, Real ops = 4, Vars = 2) (SOL-10) Design 'mult_acc' contains '6' real operations. (SOL-11) Optimizing partition '/mult_acc/core': (Total ops = 31, Real ops = 4, Vars = 12) (SOL-10) Optimizing partition '/mult_acc/core': (Total ops = 17, Real ops = 4, Vars = 4) (SOL-10) Completed transformation 'architect' on solution 'mult_acc.v1': elapsed time 0.18 seconds, memory usage 217628kB, peak memory usage 217628kB (SOL-9) # Messages from "go allocate" Performing concurrent resource allocation and scheduling ... (CRAAS-1) Prescheduled LOOP 'MAC' (1 c-steps) (SCHD-7) Prescheduled LOOP 'main' (2 c-steps) (SCHD-7) Prescheduled SEQUENTIAL 'core' (total length 6 c-steps) (SCHD-8) At least one feasible schedule exists. (CRAAS-9) Resource allocation and scheduling done. (CRAAS-2) Netlist written to file 'schedule.gnt' (NET-4) Starting transformation 'allocate' on solution 'mult_acc.v1' (SOL-8) Select qualified components for data operations ... (CRAAS-3) Apply resource constraints on data operations ... (CRAAS-4) Initial schedule of SEQUENTIAL 'core': Latency = 4, Area (Datapath, Register, Total) = 8353.31, 635.69, 8989.00 (CRAAS-11) Optimized LOOP 'MAC': Latency = 4, Area (Datapath, Register, Total) = 6963.55, 635.69, 7599.23 (CRAAS-10) Optimized LOOP 'MAC': Latency = 4, Area (Datapath, Register, Total) = 6258.41, 635.69, 6894.10 (CRAAS-10) Optimized LOOP 'MAC': Latency = 4, Area (Datapath, Register, Total) = 6242.47, 635.69, 6878.16 (CRAAS-10) Final schedule of SEQUENTIAL 'core': Latency = 4, Area (Datapath, Register, Total) = 6242.47, 635.69, 6878.16 (CRAAS-12) Completed transformation 'allocate' on solution 'mult_acc.v1': elapsed time 0.14 seconds, memory usage 217628kB, peak memory usage 217628kB (SOL-9) # Messages from "go schedule" Performing concurrent resource allocation and scheduling ... (CRAAS-1) Global signal 'a:rsc.z' added to design 'mult_acc' for component 'a:rsc:mgc_in_wire' (LIB-3) Global signal 'b:rsc.z' added to design 'mult_acc' for component 'b:rsc:mgc_in_wire' (LIB-3) Global signal 'dout:rsc.z' added to design 'mult_acc' for component 'dout:rsc:mgc_out_stdreg' (LIB-3) Netlist written to file 'cycle.vhdl' (NET-4) Netlist written to file 'cycle.v' (NET-4) Starting transformation 'schedule' on solution 'mult_acc.v1' (SOL-8) Optimizing partition '/mult_acc': (Total ops = 38, Real ops = 7, Vars = 24) (SOL-10) Optimizing partition '/mult_acc/mult_acc:core': (Total ops = 26, Real ops = 6, Vars = 15) (SOL-10) Optimizing partition '/mult_acc/mult_acc:core/core': (Total ops = 18, Real ops = 6, Vars = 11) (SOL-10) Optimizing partition '/mult_acc/mult_acc:core/core': (Total ops = 15, Real ops = 6, Vars = 6) (SOL-10) Optimizing partition '/mult_acc': (Total ops = 31, Real ops = 6, Vars = 19) (SOL-10) Optimizing partition '/mult_acc/mult_acc:core': (Total ops = 20, Real ops = 6, Vars = 11) (SOL-10) Optimizing partition '/mult_acc/mult_acc:core/core': (Total ops = 15, Real ops = 6, Vars = 6) (SOL-10) Optimizing partition '/mult_acc': (Total ops = 31, Real ops = 6, Vars = 19) (SOL-10) Optimizing partition '/mult_acc/mult_acc:core': (Total ops = 20, Real ops = 6, Vars = 11) (SOL-10) Completed transformation 'schedule' on solution 'mult_acc.v1': elapsed time 1.84 seconds, memory usage 220700kB, peak memory usage 220700kB (SOL-9) # Messages from "go dpfsm" Performing FSM extraction... (FSM-1) Starting transformation 'dpfsm' on solution 'mult_acc.v1' (SOL-8) Optimizing partition '/mult_acc': (Total ops = 81, Real ops = 17, Vars = 63) (SOL-10) Optimizing partition '/mult_acc/mult_acc:core': (Total ops = 70, Real ops = 17, Vars = 55) (SOL-10) Optimizing partition '/mult_acc/mult_acc:core/mult_acc:core:fsm': (Total ops = 8, Real ops = 2, Vars = 8) (SOL-10) Optimizing partition '/mult_acc/mult_acc:core/mult_acc:core:fsm/mult_acc:core:fsm': (Total ops = 1, Real ops = 1, Vars = 0) (SOL-10) Optimizing partition '/mult_acc': (Total ops = 50, Real ops = 14, Vars = 22) (SOL-10) Optimizing partition '/mult_acc/mult_acc:core': (Total ops = 39, Real ops = 14, Vars = 14) (SOL-10) Optimizing partition '/mult_acc/mult_acc:core/mult_acc:core:fsm': (Total ops = 7, Real ops = 2, Vars = 4) (SOL-10) Optimizing partition '/mult_acc/mult_acc:core/mult_acc:core:fsm/mult_acc:core:fsm': (Total ops = 1, Real ops = 1, Vars = 0) (SOL-10) Optimizing partition '/mult_acc': (Total ops = 54, Real ops = 16, Vars = 24) (SOL-10) Optimizing partition '/mult_acc/mult_acc:core': (Total ops = 43, Real ops = 16, Vars = 16) (SOL-10) Optimizing partition '/mult_acc/mult_acc:core/mult_acc:core:fsm': (Total ops = 7, Real ops = 2, Vars = 4) (SOL-10) Optimizing partition '/mult_acc/mult_acc:core/mult_acc:core:fsm/mult_acc:core:fsm': (Total ops = 1, Real ops = 1, Vars = 0) (SOL-10) Optimizing partition '/mult_acc': (Total ops = 54, Real ops = 16, Vars = 22) (SOL-10) Optimizing partition '/mult_acc/mult_acc:core': (Total ops = 43, Real ops = 16, Vars = 14) (SOL-10) Optimizing partition '/mult_acc/mult_acc:core/mult_acc:core:fsm': (Total ops = 7, Real ops = 2, Vars = 4) (SOL-10) Optimizing partition '/mult_acc/mult_acc:core': (Total ops = 43, Real ops = 16, Vars = 14) (SOL-10) Optimizing partition '/mult_acc': (Total ops = 54, Real ops = 16, Vars = 22) (SOL-10) Optimizing partition '/mult_acc': (Total ops = 54, Real ops = 16, Vars = 22) (SOL-10) Optimizing partition '/mult_acc/mult_acc:core': (Total ops = 43, Real ops = 16, Vars = 14) (SOL-10) Optimizing partition '/mult_acc/mult_acc:core/mult_acc:core:fsm': (Total ops = 7, Real ops = 2, Vars = 4) (SOL-10) Optimizing partition '/mult_acc/mult_acc:core/mult_acc:core:fsm/mult_acc:core:fsm': (Total ops = 1, Real ops = 1, Vars = 0) (SOL-10) Optimizing partition '/mult_acc': (Total ops = 54, Real ops = 16, Vars = 22) (SOL-10) Optimizing partition '/mult_acc/mult_acc:core': (Total ops = 43, Real ops = 16, Vars = 14) (SOL-10) Optimizing partition '/mult_acc/mult_acc:core/mult_acc:core:fsm': (Total ops = 7, Real ops = 2, Vars = 4) (SOL-10) Optimizing partition '/mult_acc/mult_acc:core/mult_acc:core:fsm/mult_acc:core:fsm': (Total ops = 1, Real ops = 1, Vars = 0) (SOL-10) Completed transformation 'dpfsm' on solution 'mult_acc.v1': elapsed time 0.22 seconds, memory usage 220700kB, peak memory usage 220700kB (SOL-9) # Messages from "go extract" Netlist written to file 'schematic.nlv' (NET-4) Starting transformation 'extract' on solution 'mult_acc.v1' (SOL-8) Optimizing partition '/mult_acc': (Total ops = 61, Real ops = 16, Vars = 52) (SOL-10) Optimizing partition '/mult_acc/mult_acc:core': (Total ops = 50, Real ops = 16, Vars = 44) (SOL-10) Optimizing partition '/mult_acc/mult_acc:core/mult_acc:core:fsm': (Total ops = 7, Real ops = 2, Vars = 4) (SOL-10) Optimizing partition '/mult_acc/mult_acc:core/mult_acc:core:fsm/mult_acc:core:fsm': (Total ops = 1, Real ops = 1, Vars = 0) (SOL-10) Optimizing partition '/mult_acc': (Total ops = 48, Real ops = 14, Vars = 22) (SOL-10) Optimizing partition '/mult_acc/mult_acc:core': (Total ops = 37, Real ops = 14, Vars = 14) (SOL-10) Optimizing partition '/mult_acc': (Total ops = 48, Real ops = 14, Vars = 22) (SOL-10) Optimizing partition '/mult_acc/mult_acc:core': (Total ops = 37, Real ops = 14, Vars = 14) (SOL-10) Optimizing partition '/mult_acc/mult_acc:core/mult_acc:core:fsm': (Total ops = 7, Real ops = 2, Vars = 4) (SOL-10) Optimizing partition '/mult_acc/mult_acc:core/mult_acc:core:fsm/mult_acc:core:fsm': (Total ops = 1, Real ops = 1, Vars = 0) (SOL-10) Optimizing partition '/mult_acc': (Total ops = 55, Real ops = 14, Vars = 46) (SOL-10) Optimizing partition '/mult_acc/mult_acc:core': (Total ops = 44, Real ops = 14, Vars = 38) (SOL-10) Optimizing partition '/mult_acc/mult_acc:core/mult_acc:core:fsm': (Total ops = 6, Real ops = 2, Vars = 4) (SOL-10) Optimizing partition '/mult_acc/mult_acc:core/mult_acc:core:fsm/mult_acc:core:fsm': (Total ops = 1, Real ops = 1, Vars = 0) (SOL-10) Optimizing partition '/mult_acc': (Total ops = 55, Real ops = 14, Vars = 46) (SOL-10) Optimizing partition '/mult_acc/mult_acc:core': (Total ops = 44, Real ops = 14, Vars = 38) (SOL-10) Optimizing partition '/mult_acc/mult_acc:core/mult_acc:core:fsm': (Total ops = 6, Real ops = 2, Vars = 4) (SOL-10) Optimizing partition '/mult_acc/mult_acc:core/mult_acc:core:fsm/mult_acc:core:fsm': (Total ops = 1, Real ops = 1, Vars = 0) (SOL-10) Netlist written to file 'rtl.vhdl' (NET-4) Netlist written to file 'rtl.v' (NET-4) Optimizing partition '/mult_acc': (Total ops = 55, Real ops = 14, Vars = 46) (SOL-10) Optimizing partition '/mult_acc/mult_acc:core': (Total ops = 44, Real ops = 14, Vars = 38) (SOL-10) Optimizing partition '/mult_acc/mult_acc:core/mult_acc:core:fsm': (Total ops = 7, Real ops = 2, Vars = 4) (SOL-10) Optimizing partition '/mult_acc/mult_acc:core/mult_acc:core:fsm/mult_acc:core:fsm': (Total ops = 1, Real ops = 1, Vars = 0) (SOL-10) Optimizing partition '/mult_acc': (Total ops = 48, Real ops = 14, Vars = 22) (SOL-10) Optimizing partition '/mult_acc/mult_acc:core': (Total ops = 37, Real ops = 14, Vars = 14) (SOL-10) Optimizing partition '/mult_acc': (Total ops = 48, Real ops = 14, Vars = 22) (SOL-10) Optimizing partition '/mult_acc/mult_acc:core': (Total ops = 37, Real ops = 14, Vars = 14) (SOL-10) Optimizing partition '/mult_acc/mult_acc:core/mult_acc:core:fsm': (Total ops = 7, Real ops = 2, Vars = 4) (SOL-10) Optimizing partition '/mult_acc/mult_acc:core/mult_acc:core:fsm/mult_acc:core:fsm': (Total ops = 1, Real ops = 1, Vars = 0) (SOL-10) Completed transformation 'extract' on solution 'mult_acc.v1': elapsed time 2.52 seconds, memory usage 222748kB, peak memory usage 222748kB (SOL-9)