# Messages from "go new" Creating project directory '/home/joaopizani/CCS_Training_labs/Lab1/Catapult'. (PRJ-1) # Messages from "go analyze" Front End called with arguments: -- /home/joaopizani/CCS_Training_labs/Lab1/mac.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.01 seconds, memory usage 217308kB, peak memory usage 217308kB (SOL-9) # 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 = 31, Real ops = 7, Vars = 18) (SOL-10) Optimizing partition '/mult_acc/core': (Total ops = 31, Real ops = 7, Vars = 12) (SOL-10) Optimizing partition '/mult_acc/core': (Total ops = 31, Real ops = 7, Vars = 12) (SOL-10) Optimizing partition '/mult_acc': (Total ops = 31, Real ops = 7, Vars = 18) (SOL-10) Optimizing partition '/mult_acc': (Total ops = 31, Real ops = 7, Vars = 18) (SOL-10) Optimizing partition '/mult_acc/core': (Total ops = 31, Real ops = 7, Vars = 12) (SOL-10) Optimizing partition '/mult_acc/core': (Total ops = 18, Real ops = 7, Vars = 6) (SOL-10) Optimizing partition '/mult_acc': (Total ops = 18, Real ops = 7, Vars = 12) (SOL-10) Optimizing partition '/mult_acc': (Total ops = 18, Real ops = 7, Vars = 12) (SOL-10) Optimizing partition '/mult_acc/core': (Total ops = 16, Real ops = 5, Vars = 8) (SOL-10) Optimizing partition '/mult_acc/core': (Total ops = 17, Real ops = 5, Vars = 2) (SOL-10) Optimizing partition '/mult_acc': (Total ops = 17, Real ops = 5, Vars = 8) (SOL-10) Optimizing partition '/mult_acc/core': (Total ops = 17, Real ops = 5, Vars = 2) (SOL-10) Optimizing partition '/mult_acc': (Total ops = 17, Real ops = 5, Vars = 8) (SOL-10) Optimizing partition '/mult_acc': (Total ops = 17, Real ops = 5, Vars = 8) (SOL-10) Optimizing partition '/mult_acc/core': (Total ops = 17, Real ops = 5, Vars = 2) (SOL-10) Optimizing partition '/mult_acc/core': (Total ops = 20, Real ops = 5, Vars = 2) (SOL-10) Optimizing partition '/mult_acc/core': (Total ops = 16, Real ops = 3, Vars = 2) (SOL-10) Optimizing partition '/mult_acc': (Total ops = 16, Real ops = 3, Vars = 8) (SOL-10) Optimizing partition '/mult_acc/core': (Total ops = 15, Real ops = 3, Vars = 3) (SOL-10) Optimizing partition '/mult_acc/core': (Total ops = 15, Real ops = 3, Vars = 2) (SOL-10) Optimizing partition '/mult_acc': (Total ops = 15, Real ops = 3, Vars = 8) (SOL-10) Optimizing partition '/mult_acc/core': (Total ops = 15, Real ops = 3, Vars = 2) (SOL-10) Optimizing partition '/mult_acc': (Total ops = 15, Real ops = 3, Vars = 8) (SOL-10) Completed transformation 'compile' on solution 'mult_acc.v1': elapsed time 0.86 seconds, memory usage 221852kB, peak memory usage 221852kB (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 = 19, Real ops = 4, Vars = 10) (SOL-10) Optimizing partition '/mult_acc/core': (Total ops = 19, Real ops = 4, Vars = 2) (SOL-10) Optimizing partition '/mult_acc/core': (Total ops = 18, Real ops = 4, Vars = 2) (SOL-10) Optimizing partition '/mult_acc': (Total ops = 18, Real ops = 4, Vars = 10) (SOL-10) Optimizing partition '/mult_acc': (Total ops = 18, Real ops = 4, Vars = 10) (SOL-10) Optimizing partition '/mult_acc/core': (Total ops = 18, Real ops = 4, Vars = 2) (SOL-10) Design 'mult_acc' contains '6' real operations. (SOL-11) Optimizing partition '/mult_acc/core': (Total ops = 34, Real ops = 4, Vars = 12) (SOL-10) Optimizing partition '/mult_acc/core': (Total ops = 20, Real ops = 4, Vars = 4) (SOL-10) Completed transformation 'architect' on solution 'mult_acc.v1': elapsed time 0.23 seconds, memory usage 222116kB, peak memory usage 222116kB (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 222116kB, peak memory usage 222116kB (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) Global signal 'dout.triosy.lz' added to design 'mult_acc' for component 'dout.triosy:mgc_io_sync' (LIB-3) Global signal 'b.triosy.lz' added to design 'mult_acc' for component 'b.triosy:mgc_io_sync' (LIB-3) Global signal 'a.triosy.lz' added to design 'mult_acc' for component 'a.triosy:mgc_io_sync' (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 = 65, Real ops = 7, Vars = 33) (SOL-10) Optimizing partition '/mult_acc/mult_acc:core': (Total ops = 44, Real ops = 6, Vars = 18) (SOL-10) Optimizing partition '/mult_acc/mult_acc:core/core': (Total ops = 33, Real ops = 6, Vars = 11) (SOL-10) Optimizing partition '/mult_acc/mult_acc:core/core': (Total ops = 30, Real ops = 6, Vars = 6) (SOL-10) Optimizing partition '/mult_acc': (Total ops = 58, Real ops = 6, Vars = 28) (SOL-10) Optimizing partition '/mult_acc/mult_acc:core': (Total ops = 38, Real ops = 6, Vars = 14) (SOL-10) Optimizing partition '/mult_acc/mult_acc:core/core': (Total ops = 30, Real ops = 6, Vars = 6) (SOL-10) Optimizing partition '/mult_acc': (Total ops = 58, Real ops = 6, Vars = 28) (SOL-10) Optimizing partition '/mult_acc/mult_acc:core': (Total ops = 38, Real ops = 6, Vars = 14) (SOL-10) Completed transformation 'schedule' on solution 'mult_acc.v1': elapsed time 3.15 seconds, memory usage 228144kB, peak memory usage 228156kB (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 = 102, Real ops = 22, Vars = 78) (SOL-10) Optimizing partition '/mult_acc/mult_acc:core': (Total ops = 82, Real ops = 22, Vars = 64) (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 = 72, Real ops = 18, Vars = 32) (SOL-10) Optimizing partition '/mult_acc/mult_acc:core': (Total ops = 52, Real ops = 18, Vars = 18) (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 = 73, Real ops = 18, Vars = 34) (SOL-10) Optimizing partition '/mult_acc/mult_acc:core': (Total ops = 53, Real ops = 18, Vars = 20) (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 = 69, Real ops = 18, Vars = 32) (SOL-10) Optimizing partition '/mult_acc/mult_acc:core': (Total ops = 49, Real ops = 18, 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 = 69, Real ops = 18, Vars = 28) (SOL-10) Optimizing partition '/mult_acc/mult_acc:core': (Total ops = 49, Real ops = 18, 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 = 67, Real ops = 18, Vars = 28) (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 = 49, Real ops = 18, Vars = 16) (SOL-10) Optimizing partition '/mult_acc': (Total ops = 67, Real ops = 18, Vars = 28) (SOL-10) Optimizing partition '/mult_acc': (Total ops = 67, Real ops = 18, Vars = 28) (SOL-10) Optimizing partition '/mult_acc/mult_acc:core': (Total ops = 49, Real ops = 18, 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 = 67, Real ops = 18, Vars = 28) (SOL-10) Optimizing partition '/mult_acc/mult_acc:core': (Total ops = 49, Real ops = 18, 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) Completed transformation 'dpfsm' on solution 'mult_acc.v1': elapsed time 0.29 seconds, memory usage 228144kB, peak memory usage 228156kB (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 = 74, Real ops = 18, Vars = 61) (SOL-10) Optimizing partition '/mult_acc/mult_acc:core': (Total ops = 56, Real ops = 18, Vars = 49) (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 = 61, Real ops = 16, Vars = 28) (SOL-10) Optimizing partition '/mult_acc/mult_acc:core': (Total ops = 43, Real ops = 16, Vars = 16) (SOL-10) Optimizing partition '/mult_acc': (Total ops = 61, Real ops = 16, Vars = 28) (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 = 68, Real ops = 16, Vars = 55) (SOL-10) Optimizing partition '/mult_acc/mult_acc:core': (Total ops = 50, Real ops = 16, Vars = 43) (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 = 68, Real ops = 16, Vars = 55) (SOL-10) Optimizing partition '/mult_acc/mult_acc:core': (Total ops = 50, Real ops = 16, Vars = 43) (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 = 68, Real ops = 16, Vars = 55) (SOL-10) Optimizing partition '/mult_acc/mult_acc:core': (Total ops = 50, Real ops = 16, Vars = 43) (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 = 61, Real ops = 16, Vars = 28) (SOL-10) Optimizing partition '/mult_acc/mult_acc:core': (Total ops = 43, Real ops = 16, Vars = 16) (SOL-10) Optimizing partition '/mult_acc': (Total ops = 61, Real ops = 16, Vars = 28) (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) Completed transformation 'extract' on solution 'mult_acc.v1': elapsed time 4.11 seconds, memory usage 229692kB, peak memory usage 229692kB (SOL-9)