From 09a397b3c344b2ffb6e051e4ec13146d83ae2988 Mon Sep 17 00:00:00 2001 From: "Maya B. Gokhale" Date: Tue, 5 Dec 2023 11:51:24 -0800 Subject: [PATCH] use generate to avoid symbolic execution of for loops used in port bindings and sensitivity lists --- .../zfpsynth/zfp3/z3test_hdl.txt | 11608 ++++++++-------- plugins/hdl/HDLHnode.cpp | 395 +- 2 files changed, 6017 insertions(+), 5986 deletions(-) diff --git a/examples/llnl-examples/zfpsynth/zfp3/z3test_hdl.txt b/examples/llnl-examples/zfpsynth/zfp3/z3test_hdl.txt index b15d10a7..5ee8da2e 100644 --- a/examples/llnl-examples/zfpsynth/zfp3/z3test_hdl.txt +++ b/examples/llnl-examples/zfpsynth/zfp3/z3test_hdl.txt @@ -332,39 +332,39 @@ ] ] ] - hModdecl u_find_emax [ - hTypeinfo NONAME [ - hType find_emax_sc_module_2 NOLIST - ] - ] hModdecl u_ssplit_ex [ hTypeinfo NONAME [ - hType ssplit_sc_module_3 NOLIST + hType ssplit_sc_module_2 NOLIST ] ] hModdecl u_fwd_cast [ hTypeinfo NONAME [ - hType fwd_cast_sc_module_4 NOLIST + hType fwd_cast_sc_module_3 NOLIST ] ] hModdecl u_encode_block [ hTypeinfo NONAME [ - hType encode_block_sc_module_5 NOLIST + hType encode_block_sc_module_4 NOLIST ] ] hModdecl u_block_buffer [ hTypeinfo NONAME [ - hType block_buffer_sc_module_6 NOLIST + hType block_buffer_sc_module_5 NOLIST ] ] hModdecl u_encode_ints [ hTypeinfo NONAME [ - hType encode_ints_sc_module_7 NOLIST + hType encode_ints_sc_module_6 NOLIST ] ] hModdecl u_encode_stream [ hTypeinfo NONAME [ - hType encode_stream_sc_module_8 NOLIST + hType encode_stream_sc_module_7 NOLIST + ] + ] + hModdecl u_find_emax [ + hTypeinfo NONAME [ + hType find_emax_sc_module_8 NOLIST ] ] ] @@ -755,7 +755,7 @@ ] ] ] - hModule find_emax_sc_module_2 [ + hModule ssplit_sc_module_2 [ hPortsigvarlist NONAME [ hPortin clk [ hTypeinfo NONAME [ @@ -771,69 +771,43 @@ ] ] ] - hPortin s_fp [ + hPortin s_port [ hTypeinfo NONAME [ hType sc_rvd_in [ - hType fp_t_11_52_ NOLIST - ] - ] - ] - hPortout m_fp [ - hTypeinfo NONAME [ - hType sc_rvd_out [ - hType fp_t_11_52_ NOLIST - ] - ] - ] - hPortout m_ex [ - hTypeinfo NONAME [ - hType sc_rvd_out [ hType sc_uint [ hLiteral 11 NOLIST ] ] ] ] - hSigdecl c_sync_scclang_global_0 [ - hTypeinfo NONAME [ - hType sc_signal [ - hType _Bool NOLIST - ] - ] - ] - hSigdecl count_scclang_global_1 [ + hPortout m_port1 [ hTypeinfo NONAME [ - hType sc_signal [ + hType sc_rvd_out [ hType sc_uint [ - hLiteral 4 NOLIST + hLiteral 11 NOLIST ] ] ] ] - hSigdecl emax_scclang_global_2 [ + hPortout m_port2 [ hTypeinfo NONAME [ - hType sc_signal [ + hType sc_rvd_out [ hType sc_uint [ hLiteral 11 NOLIST ] ] ] ] - hSigdecl emax_v_scclang_global_3 [ - hTypeinfo NONAME [ - hType sc_signal [ - hType _Bool NOLIST - ] - ] - ] - hVardecl c_fp_scclang_global_4 [ + hVardecl c_port1_scclang_global_0 [ hTypeinfo NONAME [ hType sc_rvd [ - hType fp_t_11_52_ NOLIST + hType sc_uint [ + hLiteral 11 NOLIST + ] ] ] ] - hVardecl c_ex_scclang_global_5 [ + hVardecl c_port2_scclang_global_1 [ hTypeinfo NONAME [ hType sc_rvd [ hType sc_uint [ @@ -842,19 +816,14 @@ ] ] ] - hModdecl u_que_fp [ + hModdecl u_que1 [ hTypeinfo NONAME [ hType rvfifo_cc_sc_module_9 NOLIST ] ] - hModdecl u_reg_ex [ - hTypeinfo NONAME [ - hType sreg_sc_module_10 NOLIST - ] - ] - hVardecl _actual_scclang_global_6 [ + hModdecl u_que2 [ hTypeinfo NONAME [ - hType fp_t_11_52_ NOLIST + hType rvfifo_cc_sc_module_10 NOLIST ] ] ] @@ -863,351 +832,195 @@ hMethod mc_proc [ hCStmt NONAME [ hSigAssignL write [ - hVarref s_fp##ready NOLIST - hVarref c_sync_scclang_global_0 NOLIST + hVarref c_port1_scclang_global_0##data NOLIST + hSigAssignR read [ + hVarref s_port##data NOLIST + ] ] hSigAssignL write [ - hVarref c_fp_scclang_global_4##data NOLIST + hVarref c_port2_scclang_global_1##data NOLIST hSigAssignR read [ - hVarref s_fp##data NOLIST + hVarref s_port##data NOLIST ] ] hSigAssignL write [ - hVarref c_fp_scclang_global_4##valid NOLIST - hVarref c_sync_scclang_global_0 NOLIST + hVarref c_port1_scclang_global_0##valid NOLIST + hBinop && [ + hSigAssignR read [ + hVarref s_port##valid NOLIST + ] + hSigAssignR read [ + hVarref c_port2_scclang_global_1##ready NOLIST + ] + ] ] hSigAssignL write [ - hVarref c_ex_scclang_global_5##data NOLIST - hSigAssignR read [ - hVarref emax_scclang_global_2 NOLIST + hVarref c_port2_scclang_global_1##valid NOLIST + hBinop && [ + hSigAssignR read [ + hVarref s_port##valid NOLIST + ] + hSigAssignR read [ + hVarref c_port1_scclang_global_0##ready NOLIST + ] ] ] hSigAssignL write [ - hVarref c_ex_scclang_global_5##valid NOLIST - hVarref emax_v_scclang_global_3 NOLIST - ] - hBinop = [ - hVarref c_sync_scclang_global_0 NOLIST + hVarref s_port##ready NOLIST hBinop && [ - hBinop && [ - hSigAssignR read [ - hVarref s_fp##valid NOLIST - ] - hSigAssignR read [ - hVarref c_fp_scclang_global_4##ready NOLIST - ] + hSigAssignR read [ + hVarref c_port1_scclang_global_0##ready NOLIST ] - hBinop || [ - hUnop ! [ - hVarref emax_v_scclang_global_3 NOLIST - ] - hSigAssignR read [ - hVarref c_ex_scclang_global_5##ready NOLIST - ] + hSigAssignR read [ + hVarref c_port2_scclang_global_1##ready NOLIST ] ] ] ] ] ] - hProcess ms_proc [ - hMethod ms_proc [ - hVardecl last_ms_proc_local_2 [ - hTypeinfo NONAME [ - hType bool NOLIST - ] + ] + hModinitblock u_ssplit_ex [ + hCStmt NONAME [ + hPortbinding u_que1 [ + hVarref clk NOLIST + hVarref clk NOLIST + ] + hPortbinding u_que1 [ + hVarref reset NOLIST + hVarref reset NOLIST + ] + hPortbinding u_que1 [ + hVarref s_port NOLIST + hVarref c_port1_scclang_global_0 NOLIST + ] + hPortbinding u_que1 [ + hVarref m_port NOLIST + hVarref m_port1 NOLIST + ] + hPortbinding u_que2 [ + hVarref clk NOLIST + hVarref clk NOLIST + ] + hPortbinding u_que2 [ + hVarref reset NOLIST + hVarref reset NOLIST + ] + hPortbinding u_que2 [ + hVarref s_port NOLIST + hVarref c_port2_scclang_global_1 NOLIST + ] + hPortbinding u_que2 [ + hVarref m_port NOLIST + hVarref m_port2 NOLIST + ] + ] + hSenslist mc_proc [ + hSensvar NONAME [ + hVarref s_port##data NOLIST + hNoop always NOLIST + ] + hSensvar NONAME [ + hVarref s_port##valid NOLIST + hNoop always NOLIST + ] + hSensvar NONAME [ + hVarref c_port1_scclang_global_0##ready NOLIST + hNoop always NOLIST + ] + hSensvar NONAME [ + hVarref c_port2_scclang_global_1##ready NOLIST + hNoop always NOLIST + ] + ] + ] + ] + hModule rvfifo_cc_sc_module_9 [ + hPortsigvarlist NONAME [ + hPortin clk [ + hTypeinfo NONAME [ + hType sc_in [ + hType _Bool NOLIST ] - hVardecl fp_ms_proc_local_3 [ - hTypeinfo NONAME [ - hType fp_t_11_52_ NOLIST + ] + ] + hPortin reset [ + hTypeinfo NONAME [ + hType sc_in [ + hType _Bool NOLIST + ] + ] + ] + hPortin s_port [ + hTypeinfo NONAME [ + hType sc_rvd_in [ + hType sc_uint [ + hLiteral 11 NOLIST ] ] - hVardecl expo_ms_proc_local_4 [ - hTypeinfo NONAME [ - hType sc_uint [ - hLiteral 11 NOLIST - ] - ] - ] - hCStmt NONAME [ - hIfStmt NONAME [ - hBinop == [ - hVarref reset NOLIST - hLiteral 0 NOLIST - ] - hCStmt NONAME [ - hBinop = [ - hVarref count_scclang_global_1 NOLIST - hBinop - [ - hLiteral 16 NOLIST - hLiteral 1 NOLIST - ] - ] - hBinop = [ - hVarref emax_scclang_global_2 NOLIST - hLiteral 0 [ - hTypeinfo NONAME [ - hType sc_uint [ - hLiteral 11 NOLIST - ] - ] - ] - ] - hBinop = [ - hVarref emax_v_scclang_global_3 NOLIST - hLiteral 0 NOLIST - ] - ] - hCStmt NONAME [ - hVarAssign NONAME [ - hVarref last_ms_proc_local_2 NOLIST - hBinop == [ - hSigAssignR read [ - hVarref count_scclang_global_1 NOLIST - ] - hLiteral 0 NOLIST - ] - ] - hMethodCall fp_t11_52__fp_t_func_0 [ - hVarref fp_ms_proc_local_3 NOLIST - hSigAssignR read [ - hVarref s_fp##data NOLIST - ] - ] - hIfStmt NONAME [ - hBinop && [ - hBinop == [ - hVarref fp_ms_proc_local_3##expo NOLIST - hLiteral 0 NOLIST - ] - hBinop == [ - hVarref fp_ms_proc_local_3##frac NOLIST - hLiteral 0 NOLIST - ] - ] - hCStmt NONAME [ - hBinop = [ - hVarref expo_ms_proc_local_4 NOLIST - hVarref fp_ms_proc_local_3##expo NOLIST - ] - ] - hCStmt NONAME [ - hBinop = [ - hVarref expo_ms_proc_local_4 NOLIST - hBinop + [ - hVarref fp_ms_proc_local_3##expo NOLIST - hLiteral 1 [ - hTypeinfo NONAME [ - hType sc_uint [ - hLiteral 11 NOLIST - ] - ] - ] - ] - ] - ] - ] - hIfStmt NONAME [ - hVarref c_sync_scclang_global_0 NOLIST - hCStmt NONAME [ - hIfStmt NONAME [ - hVarref last_ms_proc_local_2 NOLIST - hCStmt NONAME [ - hBinop = [ - hVarref count_scclang_global_1 NOLIST - hBinop - [ - hLiteral 16 NOLIST - hLiteral 1 NOLIST - ] - ] - ] - hCStmt NONAME [ - hBinop = [ - hVarref count_scclang_global_1 NOLIST - hBinop - [ - hSigAssignR read [ - hVarref count_scclang_global_1 NOLIST - ] - hLiteral 1 NOLIST - ] - ] - ] - ] - ] - ] - hIfStmt NONAME [ - hBinop && [ - hVarref emax_v_scclang_global_3 NOLIST - hSigAssignR read [ - hVarref c_ex_scclang_global_5##ready NOLIST - ] - ] - hCStmt NONAME [ - hIfStmt NONAME [ - hSigAssignR read [ - hVarref s_fp##valid NOLIST - ] - hBinop = [ - hVarref emax_scclang_global_2 NOLIST - hVarref expo_ms_proc_local_4 NOLIST - ] - hBinop = [ - hVarref emax_scclang_global_2 NOLIST - hLiteral 0 [ - hTypeinfo NONAME [ - hType sc_uint [ - hLiteral 11 NOLIST - ] - ] - ] - ] - ] - ] - hIfStmt NONAME [ - hBinop && [ - hSigAssignR read [ - hVarref s_fp##valid NOLIST - ] - hBinop > [ - hVarref expo_ms_proc_local_4 NOLIST - hVarref emax_scclang_global_2 NOLIST - ] - ] - hCStmt NONAME [ - hBinop = [ - hVarref emax_scclang_global_2 NOLIST - hVarref expo_ms_proc_local_4 NOLIST - ] - ] - ] - ] - hIfStmt NONAME [ - hBinop && [ - hVarref emax_v_scclang_global_3 NOLIST - hSigAssignR read [ - hVarref c_ex_scclang_global_5##ready NOLIST - ] - ] - hBinop = [ - hVarref emax_v_scclang_global_3 NOLIST - hLiteral 0 NOLIST - ] - hIfStmt NONAME [ - hBinop && [ - hVarref c_sync_scclang_global_0 NOLIST - hVarref last_ms_proc_local_2 NOLIST - ] - hBinop = [ - hVarref emax_v_scclang_global_3 NOLIST - hLiteral 1 NOLIST - ] - ] - ] - ] + ] + ] + hPortout m_port [ + hTypeinfo NONAME [ + hType sc_rvd_out [ + hType sc_uint [ + hLiteral 11 NOLIST ] ] ] ] - hFunction fp_t11_52__fp_t_func_0 [ - hFunctionRetType NONAME [ - hTypeinfo NONAME [ - hType void NOLIST - ] + hVardecl MAX_DEPTH_scclang_global_0 [ + hTypeinfo NONAME [ + hType int NOLIST ] - hFunctionParams NONAME [ - hFunctionParamIO hthis [ - hTypeinfo NONAME [ - hType fp_t_11_52_ NOLIST - ] - ] - hFunctionParamI NONAME [ - hTypeinfo NONAME [ - hType fp_t_11_52_ NOLIST - ] - ] + hVarInit NONAME [ + hLiteral 2 NOLIST ] - hCStmt NONAME [ - hBinop = [ - hVarref _actual_scclang_global_6 NOLIST - hVarref NONAME NOLIST - ] + ] + hModdecl u_fifo [ + hTypeinfo NONAME [ + hType fifo_cc_sc_module_11 NOLIST ] ] ] - hModinitblock u_find_emax [ + hModinitblock u_que1 [ hCStmt NONAME [ - hPortbinding u_que_fp [ - hVarref clk NOLIST - hVarref clk NOLIST - ] - hPortbinding u_que_fp [ - hVarref reset NOLIST - hVarref reset NOLIST - ] - hPortbinding u_que_fp [ - hVarref s_port NOLIST - hVarref c_fp_scclang_global_4 NOLIST - ] - hPortbinding u_que_fp [ - hVarref m_port NOLIST - hVarref m_fp NOLIST - ] - hPortbinding u_reg_ex [ + hPortbinding u_fifo [ hVarref clk NOLIST hVarref clk NOLIST ] - hPortbinding u_reg_ex [ + hPortbinding u_fifo [ hVarref reset NOLIST hVarref reset NOLIST ] - hPortbinding u_reg_ex [ - hVarref s_port NOLIST - hVarref c_ex_scclang_global_5 NOLIST - ] - hPortbinding u_reg_ex [ - hVarref m_port NOLIST - hVarref m_ex NOLIST - ] - ] - hSenslist mc_proc [ - hSensvar NONAME [ - hVarref s_fp##valid NOLIST - hNoop always NOLIST - ] - hSensvar NONAME [ - hVarref s_fp##data NOLIST - hNoop always NOLIST - ] - hSensvar NONAME [ - hVarref c_fp_scclang_global_4##ready NOLIST - hNoop always NOLIST + hPortbinding u_fifo [ + hVarref din NOLIST + hVarref s_port##data NOLIST ] - hSensvar NONAME [ - hVarref c_ex_scclang_global_5##ready NOLIST - hNoop always NOLIST + hPortbinding u_fifo [ + hVarref wr_en NOLIST + hVarref s_port##valid NOLIST ] - hSensvar NONAME [ - hVarref emax_scclang_global_2 NOLIST - hNoop always NOLIST + hPortbinding u_fifo [ + hVarref full NOLIST + hVarref s_port##ready NOLIST ] - hSensvar NONAME [ - hVarref emax_v_scclang_global_3 NOLIST - hNoop always NOLIST + hPortbinding u_fifo [ + hVarref dout NOLIST + hVarref m_port##data NOLIST ] - hSensvar NONAME [ - hVarref c_sync_scclang_global_0 NOLIST - hNoop always NOLIST + hPortbinding u_fifo [ + hVarref rd_en NOLIST + hVarref m_port##ready NOLIST ] - ] - hSenslist ms_proc [ - hSensvar NONAME [ - hVarref clk NOLIST - hBuiltinFunction pos NOLIST + hPortbinding u_fifo [ + hVarref empty NOLIST + hVarref m_port##valid NOLIST ] ] ] ] - hModule rvfifo_cc_sc_module_9 [ + hModule fifo_cc_sc_module_11 [ hPortsigvarlist NONAME [ hPortin clk [ hTypeinfo NONAME [ @@ -1223,91 +1036,12 @@ ] ] ] - hPortin s_port [ - hTypeinfo NONAME [ - hType sc_rvd_in [ - hType fp_t_11_52_ NOLIST - ] - ] - ] - hPortout m_port [ - hTypeinfo NONAME [ - hType sc_rvd_out [ - hType fp_t_11_52_ NOLIST - ] - ] - ] - hVardecl MAX_DEPTH_scclang_global_0 [ - hTypeinfo NONAME [ - hType int NOLIST - ] - hVarInit NONAME [ - hLiteral 32 NOLIST - ] - ] - hModdecl u_fifo [ - hTypeinfo NONAME [ - hType fifo_cc_sc_module_11 NOLIST - ] - ] - ] - hModinitblock u_que_fp [ - hCStmt NONAME [ - hPortbinding u_fifo [ - hVarref clk NOLIST - hVarref clk NOLIST - ] - hPortbinding u_fifo [ - hVarref reset NOLIST - hVarref reset NOLIST - ] - hPortbinding u_fifo [ - hVarref din NOLIST - hVarref s_port##data NOLIST - ] - hPortbinding u_fifo [ - hVarref wr_en NOLIST - hVarref s_port##valid NOLIST - ] - hPortbinding u_fifo [ - hVarref full NOLIST - hVarref s_port##ready NOLIST - ] - hPortbinding u_fifo [ - hVarref dout NOLIST - hVarref m_port##data NOLIST - ] - hPortbinding u_fifo [ - hVarref rd_en NOLIST - hVarref m_port##ready NOLIST - ] - hPortbinding u_fifo [ - hVarref empty NOLIST - hVarref m_port##valid NOLIST - ] - ] - ] - ] - hModule fifo_cc_sc_module_11 [ - hPortsigvarlist NONAME [ - hPortin clk [ - hTypeinfo NONAME [ - hType sc_in [ - hType _Bool NOLIST - ] - ] - ] - hPortin reset [ - hTypeinfo NONAME [ - hType sc_in [ - hType _Bool NOLIST - ] - ] - ] - hPortin din [ + hPortin din [ hTypeinfo NONAME [ hType sc_in [ - hType fp_t_11_52_ NOLIST + hType sc_uint [ + hLiteral 11 NOLIST + ] ] ] ] @@ -1335,7 +1069,9 @@ hPortout dout [ hTypeinfo NONAME [ hType sc_out [ - hType fp_t_11_52_ NOLIST + hType sc_uint [ + hLiteral 11 NOLIST + ] ] ] ] @@ -1348,9 +1084,11 @@ ] hSigdecl data_scclang_global_0 [ hTypeinfo NONAME [ - hType array##32 [ + hType array##2 [ hType sc_signal [ - hType fp_t_11_52_ NOLIST + hType sc_uint [ + hLiteral 11 NOLIST + ] ] ] ] @@ -1380,7 +1118,7 @@ hTypeinfo NONAME [ hType sc_signal [ hType sc_uint [ - hLiteral 5 NOLIST + hLiteral 1 NOLIST ] ] ] @@ -1396,7 +1134,7 @@ hTypeinfo NONAME [ hType sc_signal [ hType sc_uint [ - hLiteral 5 NOLIST + hLiteral 1 NOLIST ] ] ] @@ -1406,7 +1144,7 @@ hType int NOLIST ] hVarInit NONAME [ - hLiteral 32 NOLIST + hLiteral 2 NOLIST ] ] ] @@ -1468,14 +1206,14 @@ hVardecl wr_inc_ms_proc_local_3 [ hTypeinfo NONAME [ hType sc_uint [ - hLiteral 5 NOLIST + hLiteral 1 NOLIST ] ] ] hVardecl rd_inc_ms_proc_local_4 [ hTypeinfo NONAME [ hType sc_uint [ - hLiteral 5 NOLIST + hLiteral 1 NOLIST ] ] ] @@ -1494,7 +1232,7 @@ ] hLiteral 1 NOLIST ] - hLiteral 32 NOLIST + hLiteral 2 NOLIST ] ] hBinop = [ @@ -1506,7 +1244,7 @@ ] hLiteral 1 NOLIST ] - hLiteral 32 NOLIST + hLiteral 2 NOLIST ] ] hIfStmt NONAME [ @@ -1531,7 +1269,7 @@ ] hBinop < [ hVarref i_ms_proc_local_5 NOLIST - hLiteral 32 NOLIST + hLiteral 2 NOLIST ] hPostfix ++ [ hVarref i_ms_proc_local_5 NOLIST @@ -1549,7 +1287,7 @@ hLiteral 0 [ hTypeinfo NONAME [ hType sc_uint [ - hLiteral 5 NOLIST + hLiteral 1 NOLIST ] ] ] @@ -1559,7 +1297,7 @@ hLiteral 0 [ hTypeinfo NONAME [ hType sc_uint [ - hLiteral 5 NOLIST + hLiteral 1 NOLIST ] ] ] @@ -1678,7 +1416,7 @@ hCStmt NONAME [ hIfStmt NONAME [ hBinop <= [ - hLiteral 32 NOLIST + hLiteral 2 NOLIST hLiteral 0 NOLIST ] ] @@ -1689,7 +1427,7 @@ ] hBinop < [ hVarref i_u_fifo_local_1 NOLIST - hLiteral 32 NOLIST + hLiteral 2 NOLIST ] hPostfix ++ [ hVarref i_u_fifo_local_1 NOLIST @@ -1733,7 +1471,7 @@ ] ] ] - hModule sreg_sc_module_10 [ + hModule rvfifo_cc_sc_module_10 [ hPortsigvarlist NONAME [ hPortin clk [ hTypeinfo NONAME [ @@ -1767,9 +1505,122 @@ ] ] ] + hVardecl MAX_DEPTH_scclang_global_0 [ + hTypeinfo NONAME [ + hType int NOLIST + ] + hVarInit NONAME [ + hLiteral 16 NOLIST + ] + ] + hModdecl u_fifo [ + hTypeinfo NONAME [ + hType fifo_cc_sc_module_12 NOLIST + ] + ] + ] + hModinitblock u_que2 [ + hCStmt NONAME [ + hPortbinding u_fifo [ + hVarref clk NOLIST + hVarref clk NOLIST + ] + hPortbinding u_fifo [ + hVarref reset NOLIST + hVarref reset NOLIST + ] + hPortbinding u_fifo [ + hVarref din NOLIST + hVarref s_port##data NOLIST + ] + hPortbinding u_fifo [ + hVarref wr_en NOLIST + hVarref s_port##valid NOLIST + ] + hPortbinding u_fifo [ + hVarref full NOLIST + hVarref s_port##ready NOLIST + ] + hPortbinding u_fifo [ + hVarref dout NOLIST + hVarref m_port##data NOLIST + ] + hPortbinding u_fifo [ + hVarref rd_en NOLIST + hVarref m_port##ready NOLIST + ] + hPortbinding u_fifo [ + hVarref empty NOLIST + hVarref m_port##valid NOLIST + ] + ] + ] + ] + hModule fifo_cc_sc_module_12 [ + hPortsigvarlist NONAME [ + hPortin clk [ + hTypeinfo NONAME [ + hType sc_in [ + hType _Bool NOLIST + ] + ] + ] + hPortin reset [ + hTypeinfo NONAME [ + hType sc_in [ + hType _Bool NOLIST + ] + ] + ] + hPortin din [ + hTypeinfo NONAME [ + hType sc_in [ + hType sc_uint [ + hLiteral 11 NOLIST + ] + ] + ] + ] + hPortin wr_en [ + hTypeinfo NONAME [ + hType sc_in [ + hType _Bool NOLIST + ] + ] + ] + hPortin rd_en [ + hTypeinfo NONAME [ + hType sc_in [ + hType _Bool NOLIST + ] + ] + ] + hPortout full [ + hTypeinfo NONAME [ + hType sc_out [ + hType _Bool NOLIST + ] + ] + ] + hPortout dout [ + hTypeinfo NONAME [ + hType sc_out [ + hType sc_uint [ + hLiteral 11 NOLIST + ] + ] + ] + ] + hPortout empty [ + hTypeinfo NONAME [ + hType sc_out [ + hType _Bool NOLIST + ] + ] + ] hSigdecl data_scclang_global_0 [ hTypeinfo NONAME [ - hType array##2 [ + hType array##16 [ hType sc_signal [ hType sc_uint [ hLiteral 11 NOLIST @@ -1803,7 +1654,7 @@ hTypeinfo NONAME [ hType sc_signal [ hType sc_uint [ - hLiteral 1 NOLIST + hLiteral 4 NOLIST ] ] ] @@ -1819,25 +1670,17 @@ hTypeinfo NONAME [ hType sc_signal [ hType sc_uint [ - hLiteral 1 NOLIST + hLiteral 4 NOLIST ] ] ] ] - hVardecl IW_scclang_global_7 [ + hVardecl MAX_DEPTH_scclang_global_7 [ hTypeinfo NONAME [ hType int NOLIST ] hVarInit NONAME [ - hLiteral 1 NOLIST - ] - ] - hVardecl depth_scclang_global_8 [ - hTypeinfo NONAME [ - hType unsigned_int NOLIST - ] - hVarInit NONAME [ - hLiteral 2 NOLIST + hLiteral 16 NOLIST ] ] ] @@ -1845,21 +1688,24 @@ hProcess mc_proc [ hMethod mc_proc [ hCStmt NONAME [ - hSigAssignL write [ - hVarref m_port##data NOLIST - hBinop ARRAYSUBSCRIPT [ - hVarref data_scclang_global_0 NOLIST - hSigAssignR read [ - hVarref rd_idx_scclang_global_4 NOLIST - ] - ] - ] - hBinop = [ - hVarref wr_en_i_scclang_global_5 NOLIST - hBinop && [ - hSigAssignR read [ - hVarref s_port##valid NOLIST + hIfStmt NONAME [ + hLiteral 1 NOLIST + hCStmt NONAME [ + hBinop = [ + hVarref dout NOLIST + hBinop ARRAYSUBSCRIPT [ + hVarref data_scclang_global_0 NOLIST + hSigAssignR read [ + hVarref rd_idx_scclang_global_4 NOLIST + ] + ] ] + ] + ] + hBinop = [ + hVarref wr_en_i_scclang_global_5 NOLIST + hBinop && [ + hVarref wr_en NOLIST hUnop ! [ hVarref full_i_scclang_global_2 NOLIST ] @@ -1868,24 +1714,24 @@ hBinop = [ hVarref rd_en_i_scclang_global_3 NOLIST hBinop && [ - hSigAssignR read [ - hVarref m_port##ready NOLIST - ] + hVarref rd_en NOLIST hUnop ! [ hVarref empty_i_scclang_global_1 NOLIST ] ] ] - hSigAssignL write [ - hVarref s_port##ready NOLIST - hUnop ! [ + hBinop = [ + hVarref full NOLIST + hBinop == [ hVarref full_i_scclang_global_2 NOLIST + hLiteral 0 NOLIST ] ] - hSigAssignL write [ - hVarref m_port##valid NOLIST - hUnop ! [ + hBinop = [ + hVarref empty NOLIST + hBinop == [ hVarref empty_i_scclang_global_1 NOLIST + hLiteral 0 NOLIST ] ] ] @@ -1896,14 +1742,14 @@ hVardecl wr_inc_ms_proc_local_3 [ hTypeinfo NONAME [ hType sc_uint [ - hLiteral 1 NOLIST + hLiteral 4 NOLIST ] ] ] hVardecl rd_inc_ms_proc_local_4 [ hTypeinfo NONAME [ hType sc_uint [ - hLiteral 1 NOLIST + hLiteral 4 NOLIST ] ] ] @@ -1922,7 +1768,7 @@ ] hLiteral 1 NOLIST ] - hLiteral 2 NOLIST + hLiteral 16 NOLIST ] ] hBinop = [ @@ -1934,7 +1780,7 @@ ] hLiteral 1 NOLIST ] - hLiteral 2 NOLIST + hLiteral 16 NOLIST ] ] hIfStmt NONAME [ @@ -1943,6 +1789,15 @@ hLiteral 0 NOLIST ] hCStmt NONAME [ + hIfStmt NONAME [ + hUnop ! [ + hLiteral 1 NOLIST + ] + hBinop = [ + hVarref dout NOLIST + hLiteral 0 NOLIST + ] + ] hForStmt NONAME [ hVarAssign NONAME [ hVarref i_ms_proc_local_5 NOLIST @@ -1950,7 +1805,7 @@ ] hBinop < [ hVarref i_ms_proc_local_5 NOLIST - hLiteral 2 NOLIST + hLiteral 16 NOLIST ] hPostfix ++ [ hVarref i_ms_proc_local_5 NOLIST @@ -1968,7 +1823,7 @@ hLiteral 0 [ hTypeinfo NONAME [ hType sc_uint [ - hLiteral 1 NOLIST + hLiteral 4 NOLIST ] ] ] @@ -1978,7 +1833,7 @@ hLiteral 0 [ hTypeinfo NONAME [ hType sc_uint [ - hLiteral 1 NOLIST + hLiteral 4 NOLIST ] ] ] @@ -1993,6 +1848,25 @@ ] ] hCStmt NONAME [ + hIfStmt NONAME [ + hUnop ! [ + hLiteral 1 NOLIST + ] + hCStmt NONAME [ + hIfStmt NONAME [ + hVarref rd_en_i_scclang_global_3 NOLIST + hBinop = [ + hVarref dout NOLIST + hBinop ARRAYSUBSCRIPT [ + hVarref data_scclang_global_0 NOLIST + hSigAssignR read [ + hVarref rd_idx_scclang_global_4 NOLIST + ] + ] + ] + ] + ] + ] hIfStmt NONAME [ hVarref wr_en_i_scclang_global_5 NOLIST hCStmt NONAME [ @@ -2003,9 +1877,7 @@ hVarref wr_idx_scclang_global_6 NOLIST ] ] - hSigAssignR read [ - hVarref s_port##data NOLIST - ] + hVarref din NOLIST ] hBinop = [ hVarref wr_idx_scclang_global_6 NOLIST @@ -2070,30 +1942,36 @@ ] ] ] - hModinitblock u_reg_ex [ - hVardeclrn i_u_reg_ex_local_1 [ + hModinitblock u_fifo [ + hVardeclrn i_u_fifo_local_1 [ hTypeinfo NONAME [ - hType unsigned_int NOLIST + hType int NOLIST ] hLiteral i NOLIST ] hCStmt NONAME [ + hIfStmt NONAME [ + hBinop <= [ + hLiteral 16 NOLIST + hLiteral 0 NOLIST + ] + ] hForStmt NONAME [ hVarAssign NONAME [ - hVarref i_u_reg_ex_local_1 NOLIST + hVarref i_u_fifo_local_1 NOLIST hLiteral 0 NOLIST ] hBinop < [ - hVarref i_u_reg_ex_local_1 NOLIST - hLiteral 2 NOLIST + hVarref i_u_fifo_local_1 NOLIST + hLiteral 16 NOLIST ] hPostfix ++ [ - hVarref i_u_reg_ex_local_1 NOLIST + hVarref i_u_fifo_local_1 NOLIST ] hSensvar mc_proc [ hBinop ARRAYSUBSCRIPT [ hVarref data_scclang_global_0 NOLIST - hVarref i_u_reg_ex_local_1 NOLIST + hVarref i_u_fifo_local_1 NOLIST ] hNoop always NOLIST ] @@ -2101,11 +1979,11 @@ ] hSenslist mc_proc [ hSensvar NONAME [ - hVarref s_port##valid NOLIST + hVarref wr_en NOLIST hNoop always NOLIST ] hSensvar NONAME [ - hVarref m_port##ready NOLIST + hVarref rd_en NOLIST hNoop always NOLIST ] hSensvar NONAME [ @@ -2129,7 +2007,7 @@ ] ] ] - hModule ssplit_sc_module_3 [ + hModule fwd_cast_sc_module_3 [ hPortsigvarlist NONAME [ hPortin clk [ hTypeinfo NONAME [ @@ -2145,7 +2023,14 @@ ] ] ] - hPortin s_port [ + hPortin m_ready [ + hTypeinfo NONAME [ + hType sc_in [ + hType _Bool NOLIST + ] + ] + ] + hPortin s_ex [ hTypeinfo NONAME [ hType sc_rvd_in [ hType sc_uint [ @@ -2154,162 +2039,378 @@ ] ] ] - hPortout m_port1 [ + hPortin s_fp [ hTypeinfo NONAME [ - hType sc_rvd_out [ - hType sc_uint [ - hLiteral 11 NOLIST - ] + hType sc_rvd_in [ + hType fp_t_11_52_ NOLIST ] ] ] - hPortout m_port2 [ + hPortout m_block [ hTypeinfo NONAME [ - hType sc_rvd_out [ - hType sc_uint [ - hLiteral 11 NOLIST + hType array##16 [ + hType sc_out [ + hType sc_int [ + hLiteral 64 NOLIST + ] ] ] ] ] - hVardecl c_port1_scclang_global_0 [ + hPortout m_valid [ hTypeinfo NONAME [ - hType sc_rvd [ - hType sc_uint [ - hLiteral 11 NOLIST - ] + hType sc_out [ + hType _Bool NOLIST ] ] ] - hVardecl c_port2_scclang_global_1 [ + hSigdecl c_int_scclang_global_0 [ hTypeinfo NONAME [ - hType sc_rvd [ - hType sc_uint [ - hLiteral 11 NOLIST + hType sc_signal [ + hType sc_int [ + hLiteral 64 NOLIST ] ] ] ] - hModdecl u_que1 [ + hSigdecl c_sync_scclang_global_1 [ hTypeinfo NONAME [ - hType rvfifo_cc_sc_module_12 NOLIST + hType sc_signal [ + hType _Bool NOLIST + ] ] ] - hModdecl u_que2 [ + hSigdecl count_scclang_global_2 [ + hTypeinfo NONAME [ + hType sc_signal [ + hType sc_uint [ + hLiteral 4 NOLIST + ] + ] + ] + ] + hVardecl _actual_scclang_global_3 [ hTypeinfo NONAME [ - hType rvfifo_cc_sc_module_13 NOLIST + hType fp_t_11_52_ NOLIST ] ] ] hProcesses NONAME [ hProcess mc_proc [ hMethod mc_proc [ - hCStmt NONAME [ - hSigAssignL write [ - hVarref c_port1_scclang_global_0##data NOLIST - hSigAssignR read [ - hVarref s_port##data NOLIST + hVardecl emax_mc_proc_local_2 [ + hTypeinfo NONAME [ + hType sc_uint [ + hLiteral 11 NOLIST ] ] - hSigAssignL write [ - hVarref c_port2_scclang_global_1##data NOLIST - hSigAssignR read [ - hVarref s_port##data NOLIST + ] + hVardecl fp_mc_proc_local_3 [ + hTypeinfo NONAME [ + hType fp_t_11_52_ NOLIST + ] + ] + hVardecl hid_mc_proc_local_4 [ + hTypeinfo NONAME [ + hType sc_uint [ + hLiteral 3 NOLIST ] ] - hSigAssignL write [ - hVarref c_port1_scclang_global_0##valid NOLIST + ] + hVardecl ui_mc_proc_local_5 [ + hTypeinfo NONAME [ + hType sc_uint [ + hLiteral 64 NOLIST + ] + ] + ] + hVardecl si_mc_proc_local_6 [ + hTypeinfo NONAME [ + hType sc_int [ + hLiteral 64 NOLIST + ] + ] + ] + hCStmt NONAME [ + hBinop = [ + hVarref c_sync_scclang_global_1 NOLIST hBinop && [ - hSigAssignR read [ - hVarref s_port##valid NOLIST + hBinop && [ + hSigAssignR read [ + hVarref s_ex##valid NOLIST + ] + hSigAssignR read [ + hVarref s_fp##valid NOLIST + ] ] hSigAssignR read [ - hVarref c_port2_scclang_global_1##ready NOLIST + hVarref m_ready NOLIST ] ] ] hSigAssignL write [ - hVarref c_port2_scclang_global_1##valid NOLIST + hVarref s_ex##ready NOLIST hBinop && [ - hSigAssignR read [ - hVarref s_port##valid NOLIST - ] - hSigAssignR read [ - hVarref c_port1_scclang_global_0##ready NOLIST + hVarref c_sync_scclang_global_1 NOLIST + hBinop == [ + hSigAssignR read [ + hVarref count_scclang_global_2 NOLIST + ] + hBinop - [ + hLiteral 16 NOLIST + hLiteral 1 NOLIST + ] ] ] ] hSigAssignL write [ - hVarref s_port##ready NOLIST - hBinop && [ - hSigAssignR read [ - hVarref c_port1_scclang_global_0##ready NOLIST - ] - hSigAssignR read [ - hVarref c_port2_scclang_global_1##ready NOLIST - ] + hVarref s_fp##ready NOLIST + hVarref c_sync_scclang_global_1 NOLIST + ] + hVarAssign NONAME [ + hVarref emax_mc_proc_local_2 NOLIST + hSigAssignR read [ + hVarref s_ex##data NOLIST ] ] - ] - ] - ] - ] - hModinitblock u_ssplit_ex [ - hCStmt NONAME [ - hPortbinding u_que1 [ - hVarref clk NOLIST - hVarref clk NOLIST + hIfStmt NONAME [ + hBinop != [ + hVarref emax_mc_proc_local_2 NOLIST + hLiteral 0 NOLIST + ] + hBinop -= [ + hVarref emax_mc_proc_local_2 NOLIST + hLiteral 1 [ + hTypeinfo NONAME [ + hType sc_uint [ + hLiteral 11 NOLIST + ] + ] + ] + ] + ] + hMethodCall fp_t11_52__fp_t_func_0 [ + hVarref fp_mc_proc_local_3 NOLIST + hSigAssignR read [ + hVarref s_fp##data NOLIST + ] + ] + hVarAssign NONAME [ + hVarref hid_mc_proc_local_4 NOLIST + hBinop != [ + hVarref fp_mc_proc_local_3##expo NOLIST + hLiteral 0 NOLIST + ] + ] + hVarAssign NONAME [ + hVarref ui_mc_proc_local_5 NOLIST + hBinop >> [ + hBinop concat [ + hBinop concat [ + hVarref hid_mc_proc_local_4 NOLIST + hVarref fp_mc_proc_local_3##frac NOLIST + ] + hLiteral 0 [ + hTypeinfo NONAME [ + hType sc_uint [ + hLiteral 9 NOLIST + ] + ] + ] + ] + hBinop - [ + hVarref emax_mc_proc_local_2 NOLIST + hVarref fp_mc_proc_local_3##expo NOLIST + ] + ] + ] + hIfStmt NONAME [ + hVarref fp_mc_proc_local_3##sign NOLIST + hBinop = [ + hVarref si_mc_proc_local_6 NOLIST + hUnop - [ + hVarref ui_mc_proc_local_5 NOLIST + ] + ] + hBinop = [ + hVarref si_mc_proc_local_6 NOLIST + hVarref ui_mc_proc_local_5 NOLIST + ] + ] + hSigAssignL write [ + hVarref c_int_scclang_global_0 NOLIST + hVarref si_mc_proc_local_6 NOLIST + ] + ] ] - hPortbinding u_que1 [ - hVarref reset NOLIST - hVarref reset NOLIST + ] + hProcess ms_proc [ + hMethod ms_proc [ + hCStmt NONAME [ + hIfStmt NONAME [ + hBinop == [ + hVarref reset NOLIST + hLiteral 0 NOLIST + ] + hCStmt NONAME [ + hBinop = [ + hVarref count_scclang_global_2 NOLIST + hLiteral 0 [ + hTypeinfo NONAME [ + hType sc_uint [ + hLiteral 4 NOLIST + ] + ] + ] + ] + hSigAssignL write [ + hVarref m_valid NOLIST + hLiteral 0 NOLIST + ] + ] + hCStmt NONAME [ + hIfStmt NONAME [ + hVarref c_sync_scclang_global_1 NOLIST + hCStmt NONAME [ + hIfStmt NONAME [ + hBinop == [ + hSigAssignR read [ + hVarref count_scclang_global_2 NOLIST + ] + hBinop - [ + hLiteral 16 NOLIST + hLiteral 1 NOLIST + ] + ] + hCStmt NONAME [ + hBinop = [ + hVarref count_scclang_global_2 NOLIST + hLiteral 0 [ + hTypeinfo NONAME [ + hType sc_uint [ + hLiteral 4 NOLIST + ] + ] + ] + ] + hSigAssignL write [ + hVarref m_valid NOLIST + hLiteral 1 NOLIST + ] + ] + hCStmt NONAME [ + hBinop = [ + hVarref count_scclang_global_2 NOLIST + hBinop + [ + hSigAssignR read [ + hVarref count_scclang_global_2 NOLIST + ] + hLiteral 1 NOLIST + ] + ] + hSigAssignL write [ + hVarref m_valid NOLIST + hLiteral 0 NOLIST + ] + ] + ] + hSigAssignL write [ + hBinop ARRAYSUBSCRIPT [ + hVarref m_block NOLIST + hSigAssignR read [ + hVarref count_scclang_global_2 NOLIST + ] + ] + hSigAssignR read [ + hVarref c_int_scclang_global_0 NOLIST + ] + ] + ] + hIfStmt NONAME [ + hSigAssignR read [ + hVarref m_ready NOLIST + ] + hSigAssignL write [ + hVarref m_valid NOLIST + hLiteral 0 NOLIST + ] + ] + ] + ] + ] + ] ] - hPortbinding u_que1 [ - hVarref s_port NOLIST - hVarref c_port1_scclang_global_0 NOLIST + ] + hFunction fp_t11_52__fp_t_func_0 [ + hFunctionRetType NONAME [ + hTypeinfo NONAME [ + hType void NOLIST + ] ] - hPortbinding u_que1 [ - hVarref m_port NOLIST - hVarref m_port1 NOLIST + hFunctionParams NONAME [ + hFunctionParamIO hthis [ + hTypeinfo NONAME [ + hType fp_t_11_52_ NOLIST + ] + ] + hFunctionParamI NONAME [ + hTypeinfo NONAME [ + hType fp_t_11_52_ NOLIST + ] + ] ] - hPortbinding u_que2 [ - hVarref clk NOLIST - hVarref clk NOLIST + hCStmt NONAME [ + hBinop = [ + hVarref _actual_scclang_global_3 NOLIST + hVarref NONAME NOLIST + ] ] - hPortbinding u_que2 [ - hVarref reset NOLIST - hVarref reset NOLIST + ] + ] + hModinitblock u_fwd_cast [ + hSenslist mc_proc [ + hSensvar NONAME [ + hVarref s_ex##valid NOLIST + hNoop always NOLIST ] - hPortbinding u_que2 [ - hVarref s_port NOLIST - hVarref c_port2_scclang_global_1 NOLIST + hSensvar NONAME [ + hVarref s_ex##data NOLIST + hNoop always NOLIST ] - hPortbinding u_que2 [ - hVarref m_port NOLIST - hVarref m_port2 NOLIST + hSensvar NONAME [ + hVarref s_fp##valid NOLIST + hNoop always NOLIST ] - ] - hSenslist mc_proc [ hSensvar NONAME [ - hVarref s_port##data NOLIST + hVarref s_fp##data NOLIST hNoop always NOLIST ] hSensvar NONAME [ - hVarref s_port##valid NOLIST + hVarref m_ready NOLIST hNoop always NOLIST ] hSensvar NONAME [ - hVarref c_port1_scclang_global_0##ready NOLIST + hVarref count_scclang_global_2 NOLIST hNoop always NOLIST ] hSensvar NONAME [ - hVarref c_port2_scclang_global_1##ready NOLIST + hVarref c_sync_scclang_global_1 NOLIST + hNoop always NOLIST + ] + hSensvar NONAME [ + hVarref c_int_scclang_global_0 NOLIST hNoop always NOLIST ] ] + hSenslist ms_proc [ + hSensvar NONAME [ + hVarref clk NOLIST + hBuiltinFunction pos NOLIST + ] + ] ] ] - hModule rvfifo_cc_sc_module_12 [ + hModule encode_block_sc_module_4 [ hPortsigvarlist NONAME [ hPortin clk [ hTypeinfo NONAME [ @@ -2325,200 +2426,126 @@ ] ] ] - hPortin s_port [ + hPortin s_block [ hTypeinfo NONAME [ - hType sc_rvd_in [ - hType sc_uint [ - hLiteral 11 NOLIST - ] - ] - ] - ] - hPortout m_port [ - hTypeinfo NONAME [ - hType sc_rvd_out [ - hType sc_uint [ - hLiteral 11 NOLIST - ] - ] - ] - ] - hVardecl MAX_DEPTH_scclang_global_0 [ - hTypeinfo NONAME [ - hType int NOLIST - ] - hVarInit NONAME [ - hLiteral 2 NOLIST - ] - ] - hModdecl u_fifo [ - hTypeinfo NONAME [ - hType fifo_cc_sc_module_14 NOLIST - ] - ] - ] - hModinitblock u_que1 [ - hCStmt NONAME [ - hPortbinding u_fifo [ - hVarref clk NOLIST - hVarref clk NOLIST - ] - hPortbinding u_fifo [ - hVarref reset NOLIST - hVarref reset NOLIST - ] - hPortbinding u_fifo [ - hVarref din NOLIST - hVarref s_port##data NOLIST - ] - hPortbinding u_fifo [ - hVarref wr_en NOLIST - hVarref s_port##valid NOLIST - ] - hPortbinding u_fifo [ - hVarref full NOLIST - hVarref s_port##ready NOLIST - ] - hPortbinding u_fifo [ - hVarref dout NOLIST - hVarref m_port##data NOLIST - ] - hPortbinding u_fifo [ - hVarref rd_en NOLIST - hVarref m_port##ready NOLIST - ] - hPortbinding u_fifo [ - hVarref empty NOLIST - hVarref m_port##valid NOLIST - ] - ] - ] - ] - hModule fifo_cc_sc_module_14 [ - hPortsigvarlist NONAME [ - hPortin clk [ - hTypeinfo NONAME [ - hType sc_in [ - hType _Bool NOLIST - ] - ] - ] - hPortin reset [ - hTypeinfo NONAME [ - hType sc_in [ - hType _Bool NOLIST - ] - ] - ] - hPortin din [ - hTypeinfo NONAME [ - hType sc_in [ - hType sc_uint [ - hLiteral 11 NOLIST + hType array##16 [ + hType sc_in [ + hType sc_int [ + hLiteral 64 NOLIST + ] ] ] ] ] - hPortin wr_en [ + hPortin s_valid [ hTypeinfo NONAME [ hType sc_in [ hType _Bool NOLIST ] ] ] - hPortin rd_en [ + hPortin m_ready [ hTypeinfo NONAME [ hType sc_in [ hType _Bool NOLIST ] ] ] - hPortout full [ + hPortout s_ready [ hTypeinfo NONAME [ hType sc_out [ hType _Bool NOLIST ] ] ] - hPortout dout [ + hPortout m_block [ hTypeinfo NONAME [ - hType sc_out [ - hType sc_uint [ - hLiteral 11 NOLIST + hType array##16 [ + hType sc_out [ + hType sc_uint [ + hLiteral 64 NOLIST + ] ] ] ] ] - hPortout empty [ + hPortout m_valid [ hTypeinfo NONAME [ hType sc_out [ hType _Bool NOLIST ] ] ] - hSigdecl data_scclang_global_0 [ + hSigdecl c_xt_data_scclang_global_0 [ hTypeinfo NONAME [ - hType array##2 [ + hType array##4##4 [ hType sc_signal [ - hType sc_uint [ - hLiteral 11 NOLIST + hType sc_int [ + hLiteral 64 NOLIST ] ] ] ] ] - hSigdecl empty_i_scclang_global_1 [ + hSigdecl c_xt_ready_scclang_global_1 [ hTypeinfo NONAME [ - hType sc_signal [ - hType _Bool NOLIST + hType array##4 [ + hType sc_signal [ + hType _Bool NOLIST + ] ] ] ] - hSigdecl full_i_scclang_global_2 [ + hSigdecl c_xt_valid_scclang_global_2 [ hTypeinfo NONAME [ - hType sc_signal [ - hType _Bool NOLIST + hType array##4 [ + hType sc_signal [ + hType _Bool NOLIST + ] ] ] ] - hSigdecl rd_en_i_scclang_global_3 [ + hSigdecl c_yt_data_scclang_global_3 [ hTypeinfo NONAME [ - hType sc_signal [ - hType _Bool NOLIST + hType array##4##4 [ + hType sc_signal [ + hType sc_int [ + hLiteral 64 NOLIST + ] + ] ] ] ] - hSigdecl rd_idx_scclang_global_4 [ + hSigdecl c_yt_ready_scclang_global_4 [ hTypeinfo NONAME [ - hType sc_signal [ - hType sc_uint [ - hLiteral 1 NOLIST + hType array##4 [ + hType sc_signal [ + hType _Bool NOLIST ] ] ] ] - hSigdecl wr_en_i_scclang_global_5 [ + hSigdecl c_yt_valid_scclang_global_5 [ hTypeinfo NONAME [ - hType sc_signal [ - hType _Bool NOLIST + hType array##4 [ + hType sc_signal [ + hType _Bool NOLIST + ] ] ] ] - hSigdecl wr_idx_scclang_global_6 [ + hModdecl u_xt [ hTypeinfo NONAME [ - hType sc_signal [ - hType sc_uint [ - hLiteral 1 NOLIST - ] + hType array##4 [ + hType fwd_lift_sc_module_13 NOLIST ] ] ] - hVardecl MAX_DEPTH_scclang_global_7 [ + hModdecl u_yt [ hTypeinfo NONAME [ - hType int NOLIST - ] - hVarInit NONAME [ - hLiteral 2 NOLIST + hType array##4 [ + hType fwd_lift_sc_module_14 NOLIST + ] ] ] ] @@ -2526,788 +2553,558 @@ hProcess mc_proc [ hMethod mc_proc [ hCStmt NONAME [ - hIfStmt NONAME [ - hLiteral 1 NOLIST - hCStmt NONAME [ - hBinop = [ - hVarref dout NOLIST - hBinop ARRAYSUBSCRIPT [ - hVarref data_scclang_global_0 NOLIST - hSigAssignR read [ - hVarref rd_idx_scclang_global_4 NOLIST - ] - ] - ] - ] - ] - hBinop = [ - hVarref wr_en_i_scclang_global_5 NOLIST - hBinop && [ - hVarref wr_en NOLIST - hUnop ! [ - hVarref full_i_scclang_global_2 NOLIST - ] - ] - ] - hBinop = [ - hVarref rd_en_i_scclang_global_3 NOLIST - hBinop && [ - hVarref rd_en NOLIST - hUnop ! [ - hVarref empty_i_scclang_global_1 NOLIST - ] - ] - ] - hBinop = [ - hVarref full NOLIST - hBinop == [ - hVarref full_i_scclang_global_2 NOLIST - hLiteral 0 NOLIST - ] - ] - hBinop = [ - hVarref empty NOLIST - hBinop == [ - hVarref empty_i_scclang_global_1 NOLIST - hLiteral 0 NOLIST + hSigAssignL write [ + hVarref s_ready NOLIST + hSigAssignR read [ + hVarref m_ready NOLIST ] ] ] ] ] - hProcess ms_proc [ - hMethod ms_proc [ - hVardecl wr_inc_ms_proc_local_3 [ - hTypeinfo NONAME [ - hType sc_uint [ - hLiteral 1 NOLIST - ] - ] - ] - hVardecl rd_inc_ms_proc_local_4 [ - hTypeinfo NONAME [ - hType sc_uint [ - hLiteral 1 NOLIST - ] - ] - ] - hVardecl i_ms_proc_local_5 [ - hTypeinfo NONAME [ - hType unsigned_int NOLIST - ] - ] + hProcess ms_fwd_order [ + hMethod ms_fwd_order [ hCStmt NONAME [ - hBinop = [ - hVarref wr_inc_ms_proc_local_3 NOLIST - hBinop % [ - hBinop + [ - hSigAssignR read [ - hVarref wr_idx_scclang_global_6 NOLIST - ] - hLiteral 1 NOLIST - ] - hLiteral 2 NOLIST - ] - ] - hBinop = [ - hVarref rd_inc_ms_proc_local_4 NOLIST - hBinop % [ - hBinop + [ - hSigAssignR read [ - hVarref rd_idx_scclang_global_4 NOLIST - ] - hLiteral 1 NOLIST - ] - hLiteral 2 NOLIST - ] - ] - hIfStmt NONAME [ - hBinop == [ - hVarref reset NOLIST - hLiteral 0 NOLIST + hIfStmt NONAME [ + hSigAssignR read [ + hVarref m_ready NOLIST ] hCStmt NONAME [ - hIfStmt NONAME [ - hUnop ! [ - hLiteral 1 NOLIST - ] - hBinop = [ - hVarref dout NOLIST - hLiteral 0 NOLIST - ] - ] - hForStmt NONAME [ - hVarAssign NONAME [ - hVarref i_ms_proc_local_5 NOLIST - hLiteral 0 NOLIST - ] - hBinop < [ - hVarref i_ms_proc_local_5 NOLIST - hLiteral 2 NOLIST - ] - hPostfix ++ [ - hVarref i_ms_proc_local_5 NOLIST - ] - hBinop = [ - hBinop ARRAYSUBSCRIPT [ - hVarref data_scclang_global_0 NOLIST - hVarref i_ms_proc_local_5 NOLIST - ] + hSigAssignL write [ + hBinop ARRAYSUBSCRIPT [ + hVarref m_block NOLIST hLiteral 0 NOLIST ] - ] - hBinop = [ - hVarref rd_idx_scclang_global_4 NOLIST - hLiteral 0 [ - hTypeinfo NONAME [ - hType sc_uint [ - hLiteral 1 NOLIST + hBinop ^ [ + hBinop + [ + hSigAssignR read [ + hBinop ARRAYSUBSCRIPT [ + hBinop ARRAYSUBSCRIPT [ + hVarref c_yt_data_scclang_global_3 NOLIST + hLiteral 0 NOLIST + ] + hLiteral 0 NOLIST + ] + ] + hLiteral -6148914691236517206 [ + hTypeinfo NONAME [ + hType sc_uint [ + hLiteral 64 NOLIST + ] + ] ] ] - ] - ] - hBinop = [ - hVarref wr_idx_scclang_global_6 NOLIST - hLiteral 0 [ - hTypeinfo NONAME [ - hType sc_uint [ - hLiteral 1 NOLIST + hLiteral -6148914691236517206 [ + hTypeinfo NONAME [ + hType sc_uint [ + hLiteral 64 NOLIST + ] ] ] ] ] - hBinop = [ - hVarref full_i_scclang_global_2 NOLIST - hLiteral 0 NOLIST - ] - hBinop = [ - hVarref empty_i_scclang_global_1 NOLIST - hLiteral 1 NOLIST - ] - ] - hCStmt NONAME [ - hIfStmt NONAME [ - hUnop ! [ + hSigAssignL write [ + hBinop ARRAYSUBSCRIPT [ + hVarref m_block NOLIST hLiteral 1 NOLIST ] - hCStmt NONAME [ - hIfStmt NONAME [ - hVarref rd_en_i_scclang_global_3 NOLIST - hBinop = [ - hVarref dout NOLIST + hBinop ^ [ + hBinop + [ + hSigAssignR read [ hBinop ARRAYSUBSCRIPT [ - hVarref data_scclang_global_0 NOLIST - hSigAssignR read [ - hVarref rd_idx_scclang_global_4 NOLIST + hBinop ARRAYSUBSCRIPT [ + hVarref c_yt_data_scclang_global_3 NOLIST + hLiteral 0 NOLIST + ] + hLiteral 1 NOLIST + ] + ] + hLiteral -6148914691236517206 [ + hTypeinfo NONAME [ + hType sc_uint [ + hLiteral 64 NOLIST ] ] ] ] + hLiteral -6148914691236517206 [ + hTypeinfo NONAME [ + hType sc_uint [ + hLiteral 64 NOLIST + ] + ] + ] ] ] - hIfStmt NONAME [ - hVarref wr_en_i_scclang_global_5 NOLIST - hCStmt NONAME [ - hBinop = [ - hBinop ARRAYSUBSCRIPT [ - hVarref data_scclang_global_0 NOLIST - hSigAssignR read [ - hVarref wr_idx_scclang_global_6 NOLIST + hSigAssignL write [ + hBinop ARRAYSUBSCRIPT [ + hVarref m_block NOLIST + hLiteral 2 NOLIST + ] + hBinop ^ [ + hBinop + [ + hSigAssignR read [ + hBinop ARRAYSUBSCRIPT [ + hBinop ARRAYSUBSCRIPT [ + hVarref c_yt_data_scclang_global_3 NOLIST + hLiteral 1 NOLIST + ] + hLiteral 0 NOLIST + ] + ] + hLiteral -6148914691236517206 [ + hTypeinfo NONAME [ + hType sc_uint [ + hLiteral 64 NOLIST + ] ] ] - hVarref din NOLIST - ] - hBinop = [ - hVarref wr_idx_scclang_global_6 NOLIST - hVarref wr_inc_ms_proc_local_3 NOLIST ] - hIfStmt NONAME [ - hUnop ! [ - hVarref rd_en_i_scclang_global_3 NOLIST + hLiteral -6148914691236517206 [ + hTypeinfo NONAME [ + hType sc_uint [ + hLiteral 64 NOLIST + ] ] - hCStmt NONAME [ - hIfStmt NONAME [ - hBinop == [ - hVarref wr_inc_ms_proc_local_3 NOLIST - hVarref rd_idx_scclang_global_4 NOLIST - ] - hBinop = [ - hVarref full_i_scclang_global_2 NOLIST + ] + ] + ] + hSigAssignL write [ + hBinop ARRAYSUBSCRIPT [ + hVarref m_block NOLIST + hLiteral 3 NOLIST + ] + hBinop ^ [ + hBinop + [ + hSigAssignR read [ + hBinop ARRAYSUBSCRIPT [ + hBinop ARRAYSUBSCRIPT [ + hVarref c_yt_data_scclang_global_3 NOLIST hLiteral 1 NOLIST ] + hLiteral 1 NOLIST ] - hBinop = [ - hVarref empty_i_scclang_global_1 NOLIST - hLiteral 0 NOLIST + ] + hLiteral -6148914691236517206 [ + hTypeinfo NONAME [ + hType sc_uint [ + hLiteral 64 NOLIST + ] + ] + ] + ] + hLiteral -6148914691236517206 [ + hTypeinfo NONAME [ + hType sc_uint [ + hLiteral 64 NOLIST ] ] ] ] ] - hIfStmt NONAME [ - hVarref rd_en_i_scclang_global_3 NOLIST - hCStmt NONAME [ - hBinop = [ - hVarref rd_idx_scclang_global_4 NOLIST - hVarref rd_inc_ms_proc_local_4 NOLIST - ] - hIfStmt NONAME [ - hUnop ! [ - hVarref wr_en_i_scclang_global_5 NOLIST - ] - hCStmt NONAME [ - hBinop = [ - hVarref full_i_scclang_global_2 NOLIST - hLiteral 0 NOLIST - ] - hIfStmt NONAME [ - hBinop == [ - hVarref rd_inc_ms_proc_local_4 NOLIST - hVarref wr_idx_scclang_global_6 NOLIST + hSigAssignL write [ + hBinop ARRAYSUBSCRIPT [ + hVarref m_block NOLIST + hLiteral 4 NOLIST + ] + hBinop ^ [ + hBinop + [ + hSigAssignR read [ + hBinop ARRAYSUBSCRIPT [ + hBinop ARRAYSUBSCRIPT [ + hVarref c_yt_data_scclang_global_3 NOLIST + hLiteral 0 NOLIST ] - hBinop = [ - hVarref empty_i_scclang_global_1 NOLIST - hLiteral 1 NOLIST + hLiteral 2 NOLIST + ] + ] + hLiteral -6148914691236517206 [ + hTypeinfo NONAME [ + hType sc_uint [ + hLiteral 64 NOLIST ] ] ] ] + hLiteral -6148914691236517206 [ + hTypeinfo NONAME [ + hType sc_uint [ + hLiteral 64 NOLIST + ] + ] + ] ] ] - ] - ] - ] - ] - ] - ] - hModinitblock u_fifo [ - hVardeclrn i_u_fifo_local_1 [ - hTypeinfo NONAME [ - hType int NOLIST - ] - hLiteral i NOLIST - ] - hCStmt NONAME [ - hIfStmt NONAME [ - hBinop <= [ - hLiteral 2 NOLIST - hLiteral 0 NOLIST - ] - ] - hForStmt NONAME [ - hVarAssign NONAME [ - hVarref i_u_fifo_local_1 NOLIST - hLiteral 0 NOLIST - ] - hBinop < [ - hVarref i_u_fifo_local_1 NOLIST - hLiteral 2 NOLIST - ] - hPostfix ++ [ - hVarref i_u_fifo_local_1 NOLIST - ] - hSensvar mc_proc [ - hBinop ARRAYSUBSCRIPT [ - hVarref data_scclang_global_0 NOLIST - hVarref i_u_fifo_local_1 NOLIST - ] - hNoop always NOLIST - ] - ] - ] - hSenslist mc_proc [ - hSensvar NONAME [ - hVarref wr_en NOLIST - hNoop always NOLIST - ] - hSensvar NONAME [ - hVarref rd_en NOLIST - hNoop always NOLIST - ] - hSensvar NONAME [ - hVarref full_i_scclang_global_2 NOLIST - hNoop always NOLIST - ] - hSensvar NONAME [ - hVarref empty_i_scclang_global_1 NOLIST - hNoop always NOLIST - ] - hSensvar NONAME [ - hVarref rd_idx_scclang_global_4 NOLIST - hNoop always NOLIST - ] - ] - hSenslist ms_proc [ - hSensvar NONAME [ - hVarref clk NOLIST - hBuiltinFunction pos NOLIST - ] - ] - ] - ] - hModule rvfifo_cc_sc_module_13 [ - hPortsigvarlist NONAME [ - hPortin clk [ - hTypeinfo NONAME [ - hType sc_in [ - hType _Bool NOLIST - ] - ] - ] - hPortin reset [ - hTypeinfo NONAME [ - hType sc_in [ - hType _Bool NOLIST - ] - ] - ] - hPortin s_port [ - hTypeinfo NONAME [ - hType sc_rvd_in [ - hType sc_uint [ - hLiteral 11 NOLIST - ] - ] - ] - ] - hPortout m_port [ - hTypeinfo NONAME [ - hType sc_rvd_out [ - hType sc_uint [ - hLiteral 11 NOLIST - ] - ] - ] - ] - hVardecl MAX_DEPTH_scclang_global_0 [ - hTypeinfo NONAME [ - hType int NOLIST - ] - hVarInit NONAME [ - hLiteral 16 NOLIST - ] - ] - hModdecl u_fifo [ - hTypeinfo NONAME [ - hType fifo_cc_sc_module_15 NOLIST - ] - ] - ] - hModinitblock u_que2 [ - hCStmt NONAME [ - hPortbinding u_fifo [ - hVarref clk NOLIST - hVarref clk NOLIST - ] - hPortbinding u_fifo [ - hVarref reset NOLIST - hVarref reset NOLIST - ] - hPortbinding u_fifo [ - hVarref din NOLIST - hVarref s_port##data NOLIST - ] - hPortbinding u_fifo [ - hVarref wr_en NOLIST - hVarref s_port##valid NOLIST - ] - hPortbinding u_fifo [ - hVarref full NOLIST - hVarref s_port##ready NOLIST - ] - hPortbinding u_fifo [ - hVarref dout NOLIST - hVarref m_port##data NOLIST - ] - hPortbinding u_fifo [ - hVarref rd_en NOLIST - hVarref m_port##ready NOLIST - ] - hPortbinding u_fifo [ - hVarref empty NOLIST - hVarref m_port##valid NOLIST - ] - ] - ] - ] - hModule fifo_cc_sc_module_15 [ - hPortsigvarlist NONAME [ - hPortin clk [ - hTypeinfo NONAME [ - hType sc_in [ - hType _Bool NOLIST - ] - ] - ] - hPortin reset [ - hTypeinfo NONAME [ - hType sc_in [ - hType _Bool NOLIST - ] - ] - ] - hPortin din [ - hTypeinfo NONAME [ - hType sc_in [ - hType sc_uint [ - hLiteral 11 NOLIST - ] - ] - ] - ] - hPortin wr_en [ - hTypeinfo NONAME [ - hType sc_in [ - hType _Bool NOLIST - ] - ] - ] - hPortin rd_en [ - hTypeinfo NONAME [ - hType sc_in [ - hType _Bool NOLIST - ] - ] - ] - hPortout full [ - hTypeinfo NONAME [ - hType sc_out [ - hType _Bool NOLIST - ] - ] - ] - hPortout dout [ - hTypeinfo NONAME [ - hType sc_out [ - hType sc_uint [ - hLiteral 11 NOLIST - ] - ] - ] - ] - hPortout empty [ - hTypeinfo NONAME [ - hType sc_out [ - hType _Bool NOLIST - ] - ] - ] - hSigdecl data_scclang_global_0 [ - hTypeinfo NONAME [ - hType array##16 [ - hType sc_signal [ - hType sc_uint [ - hLiteral 11 NOLIST - ] - ] - ] - ] - ] - hSigdecl empty_i_scclang_global_1 [ - hTypeinfo NONAME [ - hType sc_signal [ - hType _Bool NOLIST - ] - ] - ] - hSigdecl full_i_scclang_global_2 [ - hTypeinfo NONAME [ - hType sc_signal [ - hType _Bool NOLIST - ] - ] - ] - hSigdecl rd_en_i_scclang_global_3 [ - hTypeinfo NONAME [ - hType sc_signal [ - hType _Bool NOLIST - ] - ] - ] - hSigdecl rd_idx_scclang_global_4 [ - hTypeinfo NONAME [ - hType sc_signal [ - hType sc_uint [ - hLiteral 4 NOLIST - ] - ] - ] - ] - hSigdecl wr_en_i_scclang_global_5 [ - hTypeinfo NONAME [ - hType sc_signal [ - hType _Bool NOLIST - ] - ] - ] - hSigdecl wr_idx_scclang_global_6 [ - hTypeinfo NONAME [ - hType sc_signal [ - hType sc_uint [ - hLiteral 4 NOLIST - ] - ] - ] - ] - hVardecl MAX_DEPTH_scclang_global_7 [ - hTypeinfo NONAME [ - hType int NOLIST - ] - hVarInit NONAME [ - hLiteral 16 NOLIST - ] - ] - ] - hProcesses NONAME [ - hProcess mc_proc [ - hMethod mc_proc [ - hCStmt NONAME [ - hIfStmt NONAME [ - hLiteral 1 NOLIST - hCStmt NONAME [ - hBinop = [ - hVarref dout NOLIST + hSigAssignL write [ hBinop ARRAYSUBSCRIPT [ - hVarref data_scclang_global_0 NOLIST - hSigAssignR read [ - hVarref rd_idx_scclang_global_4 NOLIST + hVarref m_block NOLIST + hLiteral 5 NOLIST + ] + hBinop ^ [ + hBinop + [ + hSigAssignR read [ + hBinop ARRAYSUBSCRIPT [ + hBinop ARRAYSUBSCRIPT [ + hVarref c_yt_data_scclang_global_3 NOLIST + hLiteral 2 NOLIST + ] + hLiteral 0 NOLIST + ] + ] + hLiteral -6148914691236517206 [ + hTypeinfo NONAME [ + hType sc_uint [ + hLiteral 64 NOLIST + ] + ] + ] + ] + hLiteral -6148914691236517206 [ + hTypeinfo NONAME [ + hType sc_uint [ + hLiteral 64 NOLIST + ] + ] ] ] ] - ] - ] - hBinop = [ - hVarref wr_en_i_scclang_global_5 NOLIST - hBinop && [ - hVarref wr_en NOLIST - hUnop ! [ - hVarref full_i_scclang_global_2 NOLIST - ] - ] - ] - hBinop = [ - hVarref rd_en_i_scclang_global_3 NOLIST - hBinop && [ - hVarref rd_en NOLIST - hUnop ! [ - hVarref empty_i_scclang_global_1 NOLIST - ] - ] - ] - hBinop = [ - hVarref full NOLIST - hBinop == [ - hVarref full_i_scclang_global_2 NOLIST - hLiteral 0 NOLIST - ] - ] - hBinop = [ - hVarref empty NOLIST - hBinop == [ - hVarref empty_i_scclang_global_1 NOLIST - hLiteral 0 NOLIST - ] - ] - ] - ] - ] - hProcess ms_proc [ - hMethod ms_proc [ - hVardecl wr_inc_ms_proc_local_3 [ - hTypeinfo NONAME [ - hType sc_uint [ - hLiteral 4 NOLIST - ] - ] - ] - hVardecl rd_inc_ms_proc_local_4 [ - hTypeinfo NONAME [ - hType sc_uint [ - hLiteral 4 NOLIST - ] - ] - ] - hVardecl i_ms_proc_local_5 [ - hTypeinfo NONAME [ - hType unsigned_int NOLIST - ] - ] - hCStmt NONAME [ - hBinop = [ - hVarref wr_inc_ms_proc_local_3 NOLIST - hBinop % [ - hBinop + [ - hSigAssignR read [ - hVarref wr_idx_scclang_global_6 NOLIST + hSigAssignL write [ + hBinop ARRAYSUBSCRIPT [ + hVarref m_block NOLIST + hLiteral 6 NOLIST ] - hLiteral 1 NOLIST - ] - hLiteral 16 NOLIST - ] - ] - hBinop = [ - hVarref rd_inc_ms_proc_local_4 NOLIST - hBinop % [ - hBinop + [ - hSigAssignR read [ - hVarref rd_idx_scclang_global_4 NOLIST + hBinop ^ [ + hBinop + [ + hSigAssignR read [ + hBinop ARRAYSUBSCRIPT [ + hBinop ARRAYSUBSCRIPT [ + hVarref c_yt_data_scclang_global_3 NOLIST + hLiteral 1 NOLIST + ] + hLiteral 2 NOLIST + ] + ] + hLiteral -6148914691236517206 [ + hTypeinfo NONAME [ + hType sc_uint [ + hLiteral 64 NOLIST + ] + ] + ] + ] + hLiteral -6148914691236517206 [ + hTypeinfo NONAME [ + hType sc_uint [ + hLiteral 64 NOLIST + ] + ] + ] ] - hLiteral 1 NOLIST ] - hLiteral 16 NOLIST - ] - ] - hIfStmt NONAME [ - hBinop == [ - hVarref reset NOLIST - hLiteral 0 NOLIST - ] - hCStmt NONAME [ - hIfStmt NONAME [ - hUnop ! [ - hLiteral 1 NOLIST + hSigAssignL write [ + hBinop ARRAYSUBSCRIPT [ + hVarref m_block NOLIST + hLiteral 7 NOLIST ] - hBinop = [ - hVarref dout NOLIST - hLiteral 0 NOLIST + hBinop ^ [ + hBinop + [ + hSigAssignR read [ + hBinop ARRAYSUBSCRIPT [ + hBinop ARRAYSUBSCRIPT [ + hVarref c_yt_data_scclang_global_3 NOLIST + hLiteral 2 NOLIST + ] + hLiteral 1 NOLIST + ] + ] + hLiteral -6148914691236517206 [ + hTypeinfo NONAME [ + hType sc_uint [ + hLiteral 64 NOLIST + ] + ] + ] + ] + hLiteral -6148914691236517206 [ + hTypeinfo NONAME [ + hType sc_uint [ + hLiteral 64 NOLIST + ] + ] + ] ] ] - hForStmt NONAME [ - hVarAssign NONAME [ - hVarref i_ms_proc_local_5 NOLIST - hLiteral 0 NOLIST + hSigAssignL write [ + hBinop ARRAYSUBSCRIPT [ + hVarref m_block NOLIST + hLiteral 8 NOLIST ] - hBinop < [ - hVarref i_ms_proc_local_5 NOLIST - hLiteral 16 NOLIST + hBinop ^ [ + hBinop + [ + hSigAssignR read [ + hBinop ARRAYSUBSCRIPT [ + hBinop ARRAYSUBSCRIPT [ + hVarref c_yt_data_scclang_global_3 NOLIST + hLiteral 0 NOLIST + ] + hLiteral 3 NOLIST + ] + ] + hLiteral -6148914691236517206 [ + hTypeinfo NONAME [ + hType sc_uint [ + hLiteral 64 NOLIST + ] + ] + ] + ] + hLiteral -6148914691236517206 [ + hTypeinfo NONAME [ + hType sc_uint [ + hLiteral 64 NOLIST + ] + ] + ] ] - hPostfix ++ [ - hVarref i_ms_proc_local_5 NOLIST + ] + hSigAssignL write [ + hBinop ARRAYSUBSCRIPT [ + hVarref m_block NOLIST + hLiteral 9 NOLIST ] - hBinop = [ - hBinop ARRAYSUBSCRIPT [ - hVarref data_scclang_global_0 NOLIST - hVarref i_ms_proc_local_5 NOLIST + hBinop ^ [ + hBinop + [ + hSigAssignR read [ + hBinop ARRAYSUBSCRIPT [ + hBinop ARRAYSUBSCRIPT [ + hVarref c_yt_data_scclang_global_3 NOLIST + hLiteral 3 NOLIST + ] + hLiteral 0 NOLIST + ] + ] + hLiteral -6148914691236517206 [ + hTypeinfo NONAME [ + hType sc_uint [ + hLiteral 64 NOLIST + ] + ] + ] + ] + hLiteral -6148914691236517206 [ + hTypeinfo NONAME [ + hType sc_uint [ + hLiteral 64 NOLIST + ] + ] ] - hLiteral 0 NOLIST ] ] - hBinop = [ - hVarref rd_idx_scclang_global_4 NOLIST - hLiteral 0 [ - hTypeinfo NONAME [ - hType sc_uint [ - hLiteral 4 NOLIST + hSigAssignL write [ + hBinop ARRAYSUBSCRIPT [ + hVarref m_block NOLIST + hLiteral 10 NOLIST + ] + hBinop ^ [ + hBinop + [ + hSigAssignR read [ + hBinop ARRAYSUBSCRIPT [ + hBinop ARRAYSUBSCRIPT [ + hVarref c_yt_data_scclang_global_3 NOLIST + hLiteral 2 NOLIST + ] + hLiteral 2 NOLIST + ] + ] + hLiteral -6148914691236517206 [ + hTypeinfo NONAME [ + hType sc_uint [ + hLiteral 64 NOLIST + ] + ] + ] + ] + hLiteral -6148914691236517206 [ + hTypeinfo NONAME [ + hType sc_uint [ + hLiteral 64 NOLIST + ] ] ] ] ] - hBinop = [ - hVarref wr_idx_scclang_global_6 NOLIST - hLiteral 0 [ - hTypeinfo NONAME [ - hType sc_uint [ - hLiteral 4 NOLIST + hSigAssignL write [ + hBinop ARRAYSUBSCRIPT [ + hVarref m_block NOLIST + hLiteral 11 NOLIST + ] + hBinop ^ [ + hBinop + [ + hSigAssignR read [ + hBinop ARRAYSUBSCRIPT [ + hBinop ARRAYSUBSCRIPT [ + hVarref c_yt_data_scclang_global_3 NOLIST + hLiteral 1 NOLIST + ] + hLiteral 3 NOLIST + ] + ] + hLiteral -6148914691236517206 [ + hTypeinfo NONAME [ + hType sc_uint [ + hLiteral 64 NOLIST + ] + ] + ] + ] + hLiteral -6148914691236517206 [ + hTypeinfo NONAME [ + hType sc_uint [ + hLiteral 64 NOLIST + ] ] ] ] ] - hBinop = [ - hVarref full_i_scclang_global_2 NOLIST - hLiteral 0 NOLIST - ] - hBinop = [ - hVarref empty_i_scclang_global_1 NOLIST - hLiteral 1 NOLIST - ] - ] - hCStmt NONAME [ - hIfStmt NONAME [ - hUnop ! [ - hLiteral 1 NOLIST + hSigAssignL write [ + hBinop ARRAYSUBSCRIPT [ + hVarref m_block NOLIST + hLiteral 12 NOLIST ] - hCStmt NONAME [ - hIfStmt NONAME [ - hVarref rd_en_i_scclang_global_3 NOLIST - hBinop = [ - hVarref dout NOLIST + hBinop ^ [ + hBinop + [ + hSigAssignR read [ hBinop ARRAYSUBSCRIPT [ - hVarref data_scclang_global_0 NOLIST - hSigAssignR read [ - hVarref rd_idx_scclang_global_4 NOLIST + hBinop ARRAYSUBSCRIPT [ + hVarref c_yt_data_scclang_global_3 NOLIST + hLiteral 3 NOLIST + ] + hLiteral 1 NOLIST + ] + ] + hLiteral -6148914691236517206 [ + hTypeinfo NONAME [ + hType sc_uint [ + hLiteral 64 NOLIST ] ] ] ] + hLiteral -6148914691236517206 [ + hTypeinfo NONAME [ + hType sc_uint [ + hLiteral 64 NOLIST + ] + ] + ] ] ] - hIfStmt NONAME [ - hVarref wr_en_i_scclang_global_5 NOLIST - hCStmt NONAME [ - hBinop = [ - hBinop ARRAYSUBSCRIPT [ - hVarref data_scclang_global_0 NOLIST - hSigAssignR read [ - hVarref wr_idx_scclang_global_6 NOLIST + hSigAssignL write [ + hBinop ARRAYSUBSCRIPT [ + hVarref m_block NOLIST + hLiteral 13 NOLIST + ] + hBinop ^ [ + hBinop + [ + hSigAssignR read [ + hBinop ARRAYSUBSCRIPT [ + hBinop ARRAYSUBSCRIPT [ + hVarref c_yt_data_scclang_global_3 NOLIST + hLiteral 2 NOLIST + ] + hLiteral 3 NOLIST + ] + ] + hLiteral -6148914691236517206 [ + hTypeinfo NONAME [ + hType sc_uint [ + hLiteral 64 NOLIST + ] ] ] - hVarref din NOLIST - ] - hBinop = [ - hVarref wr_idx_scclang_global_6 NOLIST - hVarref wr_inc_ms_proc_local_3 NOLIST ] - hIfStmt NONAME [ - hUnop ! [ - hVarref rd_en_i_scclang_global_3 NOLIST + hLiteral -6148914691236517206 [ + hTypeinfo NONAME [ + hType sc_uint [ + hLiteral 64 NOLIST + ] ] - hCStmt NONAME [ - hIfStmt NONAME [ - hBinop == [ - hVarref wr_inc_ms_proc_local_3 NOLIST - hVarref rd_idx_scclang_global_4 NOLIST + ] + ] + ] + hSigAssignL write [ + hBinop ARRAYSUBSCRIPT [ + hVarref m_block NOLIST + hLiteral 14 NOLIST + ] + hBinop ^ [ + hBinop + [ + hSigAssignR read [ + hBinop ARRAYSUBSCRIPT [ + hBinop ARRAYSUBSCRIPT [ + hVarref c_yt_data_scclang_global_3 NOLIST + hLiteral 3 NOLIST ] - hBinop = [ - hVarref full_i_scclang_global_2 NOLIST - hLiteral 1 NOLIST + hLiteral 2 NOLIST + ] + ] + hLiteral -6148914691236517206 [ + hTypeinfo NONAME [ + hType sc_uint [ + hLiteral 64 NOLIST ] ] - hBinop = [ - hVarref empty_i_scclang_global_1 NOLIST - hLiteral 0 NOLIST + ] + ] + hLiteral -6148914691236517206 [ + hTypeinfo NONAME [ + hType sc_uint [ + hLiteral 64 NOLIST ] ] ] ] ] - hIfStmt NONAME [ - hVarref rd_en_i_scclang_global_3 NOLIST - hCStmt NONAME [ - hBinop = [ - hVarref rd_idx_scclang_global_4 NOLIST - hVarref rd_inc_ms_proc_local_4 NOLIST - ] - hIfStmt NONAME [ - hUnop ! [ - hVarref wr_en_i_scclang_global_5 NOLIST - ] - hCStmt NONAME [ - hBinop = [ - hVarref full_i_scclang_global_2 NOLIST - hLiteral 0 NOLIST - ] - hIfStmt NONAME [ - hBinop == [ - hVarref rd_inc_ms_proc_local_4 NOLIST - hVarref wr_idx_scclang_global_6 NOLIST + hSigAssignL write [ + hBinop ARRAYSUBSCRIPT [ + hVarref m_block NOLIST + hLiteral 15 NOLIST + ] + hBinop ^ [ + hBinop + [ + hSigAssignR read [ + hBinop ARRAYSUBSCRIPT [ + hBinop ARRAYSUBSCRIPT [ + hVarref c_yt_data_scclang_global_3 NOLIST + hLiteral 3 NOLIST ] - hBinop = [ - hVarref empty_i_scclang_global_1 NOLIST - hLiteral 1 NOLIST + hLiteral 3 NOLIST + ] + ] + hLiteral -6148914691236517206 [ + hTypeinfo NONAME [ + hType sc_uint [ + hLiteral 64 NOLIST ] ] ] ] + hLiteral -6148914691236517206 [ + hTypeinfo NONAME [ + hType sc_uint [ + hLiteral 64 NOLIST + ] + ] + ] + ] + ] + hSigAssignL write [ + hVarref m_valid NOLIST + hSigAssignR read [ + hBinop ARRAYSUBSCRIPT [ + hVarref c_yt_valid_scclang_global_5 NOLIST + hLiteral 0 NOLIST + ] ] ] ] @@ -3316,398 +3113,258 @@ ] ] ] - hModinitblock u_fifo [ - hVardeclrn i_u_fifo_local_1 [ + hModinitblock u_encode_block [ + hVardeclrn j_u_encode_block_local_0 [ + hTypeinfo NONAME [ + hType int NOLIST + ] + hLiteral j NOLIST + ] + hVardeclrn i_u_encode_block_local_1 [ hTypeinfo NONAME [ hType int NOLIST ] hLiteral i NOLIST ] hCStmt NONAME [ - hIfStmt NONAME [ - hBinop <= [ - hLiteral 16 NOLIST - hLiteral 0 NOLIST - ] - ] hForStmt NONAME [ hVarAssign NONAME [ - hVarref i_u_fifo_local_1 NOLIST + hVarref j_u_encode_block_local_0 NOLIST hLiteral 0 NOLIST ] hBinop < [ - hVarref i_u_fifo_local_1 NOLIST - hLiteral 16 NOLIST - ] - hPostfix ++ [ - hVarref i_u_fifo_local_1 NOLIST - ] - hSensvar mc_proc [ - hBinop ARRAYSUBSCRIPT [ - hVarref data_scclang_global_0 NOLIST - hVarref i_u_fifo_local_1 NOLIST - ] - hNoop always NOLIST - ] - ] - ] - hSenslist mc_proc [ - hSensvar NONAME [ - hVarref wr_en NOLIST - hNoop always NOLIST - ] - hSensvar NONAME [ - hVarref rd_en NOLIST - hNoop always NOLIST - ] - hSensvar NONAME [ - hVarref full_i_scclang_global_2 NOLIST - hNoop always NOLIST - ] - hSensvar NONAME [ - hVarref empty_i_scclang_global_1 NOLIST - hNoop always NOLIST - ] - hSensvar NONAME [ - hVarref rd_idx_scclang_global_4 NOLIST - hNoop always NOLIST - ] - ] - hSenslist ms_proc [ - hSensvar NONAME [ - hVarref clk NOLIST - hBuiltinFunction pos NOLIST - ] - ] - ] - ] - hModule fwd_cast_sc_module_4 [ - hPortsigvarlist NONAME [ - hPortin clk [ - hTypeinfo NONAME [ - hType sc_in [ - hType _Bool NOLIST - ] - ] - ] - hPortin reset [ - hTypeinfo NONAME [ - hType sc_in [ - hType _Bool NOLIST - ] - ] - ] - hPortin m_ready [ - hTypeinfo NONAME [ - hType sc_in [ - hType _Bool NOLIST - ] - ] - ] - hPortin s_ex [ - hTypeinfo NONAME [ - hType sc_rvd_in [ - hType sc_uint [ - hLiteral 11 NOLIST - ] - ] - ] - ] - hPortin s_fp [ - hTypeinfo NONAME [ - hType sc_rvd_in [ - hType fp_t_11_52_ NOLIST - ] - ] - ] - hPortout m_block [ - hTypeinfo NONAME [ - hType array##16 [ - hType sc_out [ - hType sc_int [ - hLiteral 64 NOLIST - ] - ] - ] - ] - ] - hPortout m_valid [ - hTypeinfo NONAME [ - hType sc_out [ - hType _Bool NOLIST - ] - ] - ] - hSigdecl c_int_scclang_global_0 [ - hTypeinfo NONAME [ - hType sc_signal [ - hType sc_int [ - hLiteral 64 NOLIST - ] - ] - ] - ] - hSigdecl c_sync_scclang_global_1 [ - hTypeinfo NONAME [ - hType sc_signal [ - hType _Bool NOLIST - ] - ] - ] - hSigdecl count_scclang_global_2 [ - hTypeinfo NONAME [ - hType sc_signal [ - hType sc_uint [ - hLiteral 4 NOLIST - ] - ] - ] - ] - hVardecl _actual_scclang_global_3 [ - hTypeinfo NONAME [ - hType fp_t_11_52_ NOLIST - ] - ] - ] - hProcesses NONAME [ - hProcess mc_proc [ - hMethod mc_proc [ - hVardecl emax_mc_proc_local_2 [ - hTypeinfo NONAME [ - hType sc_uint [ - hLiteral 11 NOLIST - ] - ] - ] - hVardecl fp_mc_proc_local_3 [ - hTypeinfo NONAME [ - hType fp_t_11_52_ NOLIST - ] - ] - hVardecl hid_mc_proc_local_4 [ - hTypeinfo NONAME [ - hType sc_uint [ - hLiteral 3 NOLIST - ] - ] - ] - hVardecl ui_mc_proc_local_5 [ - hTypeinfo NONAME [ - hType sc_uint [ - hLiteral 64 NOLIST - ] - ] + hVarref j_u_encode_block_local_0 NOLIST + hLiteral 4 NOLIST ] - hVardecl si_mc_proc_local_6 [ - hTypeinfo NONAME [ - hType sc_int [ - hLiteral 64 NOLIST - ] - ] + hPostfix ++ [ + hVarref j_u_encode_block_local_0 NOLIST ] hCStmt NONAME [ - hBinop = [ - hVarref c_sync_scclang_global_1 NOLIST - hBinop && [ - hBinop && [ - hSigAssignR read [ - hVarref s_ex##valid NOLIST - ] - hSigAssignR read [ - hVarref s_fp##valid NOLIST - ] + hPortbinding NONAME [ + hFieldaccess NONAME [ + hBinop ARRAYSUBSCRIPT [ + hVarref u_xt NOLIST + hVarref j_u_encode_block_local_0 NOLIST ] - hSigAssignR read [ - hVarref m_ready NOLIST + hField clk NOLIST + ] + hVarref clk NOLIST + ] + hPortbinding NONAME [ + hFieldaccess NONAME [ + hBinop ARRAYSUBSCRIPT [ + hVarref u_xt NOLIST + hVarref j_u_encode_block_local_0 NOLIST ] + hField reset NOLIST ] + hVarref reset NOLIST ] - hSigAssignL write [ - hVarref s_ex##ready NOLIST - hBinop && [ - hVarref c_sync_scclang_global_1 NOLIST - hBinop == [ - hSigAssignR read [ - hVarref count_scclang_global_2 NOLIST - ] - hBinop - [ - hLiteral 16 NOLIST - hLiteral 1 NOLIST - ] + hPortbinding NONAME [ + hFieldaccess NONAME [ + hBinop ARRAYSUBSCRIPT [ + hVarref u_xt NOLIST + hVarref j_u_encode_block_local_0 NOLIST ] + hField s_valid NOLIST ] + hVarref s_valid NOLIST ] - hSigAssignL write [ - hVarref s_fp##ready NOLIST - hVarref c_sync_scclang_global_1 NOLIST + hPortbinding NONAME [ + hFieldaccess NONAME [ + hBinop ARRAYSUBSCRIPT [ + hVarref u_xt NOLIST + hVarref j_u_encode_block_local_0 NOLIST + ] + hField s_ready NOLIST + ] + hBinop ARRAYSUBSCRIPT [ + hVarref c_xt_ready_scclang_global_1 NOLIST + hVarref j_u_encode_block_local_0 NOLIST + ] ] - hVarAssign NONAME [ - hVarref emax_mc_proc_local_2 NOLIST - hSigAssignR read [ - hVarref s_ex##data NOLIST + hPortbinding NONAME [ + hFieldaccess NONAME [ + hBinop ARRAYSUBSCRIPT [ + hVarref u_xt NOLIST + hVarref j_u_encode_block_local_0 NOLIST + ] + hField m_valid NOLIST + ] + hBinop ARRAYSUBSCRIPT [ + hVarref c_xt_valid_scclang_global_2 NOLIST + hVarref j_u_encode_block_local_0 NOLIST ] ] - hIfStmt NONAME [ - hBinop != [ - hVarref emax_mc_proc_local_2 NOLIST - hLiteral 0 NOLIST + hPortbinding NONAME [ + hFieldaccess NONAME [ + hBinop ARRAYSUBSCRIPT [ + hVarref u_xt NOLIST + hVarref j_u_encode_block_local_0 NOLIST + ] + hField m_ready NOLIST ] - hBinop -= [ - hVarref emax_mc_proc_local_2 NOLIST - hLiteral 1 [ - hTypeinfo NONAME [ - hType sc_uint [ - hLiteral 11 NOLIST - ] - ] + hVarref m_ready NOLIST + ] + hPortbinding NONAME [ + hFieldaccess NONAME [ + hBinop ARRAYSUBSCRIPT [ + hVarref u_yt NOLIST + hVarref j_u_encode_block_local_0 NOLIST ] + hField clk NOLIST ] + hVarref clk NOLIST ] - hMethodCall fp_t11_52__fp_t_func_0 [ - hVarref fp_mc_proc_local_3 NOLIST - hSigAssignR read [ - hVarref s_fp##data NOLIST + hPortbinding NONAME [ + hFieldaccess NONAME [ + hBinop ARRAYSUBSCRIPT [ + hVarref u_yt NOLIST + hVarref j_u_encode_block_local_0 NOLIST + ] + hField reset NOLIST ] + hVarref reset NOLIST ] - hVarAssign NONAME [ - hVarref hid_mc_proc_local_4 NOLIST - hBinop != [ - hVarref fp_mc_proc_local_3##expo NOLIST + hPortbinding NONAME [ + hFieldaccess NONAME [ + hBinop ARRAYSUBSCRIPT [ + hVarref u_yt NOLIST + hVarref j_u_encode_block_local_0 NOLIST + ] + hField s_valid NOLIST + ] + hBinop ARRAYSUBSCRIPT [ + hVarref c_xt_valid_scclang_global_2 NOLIST hLiteral 0 NOLIST ] ] - hVarAssign NONAME [ - hVarref ui_mc_proc_local_5 NOLIST - hBinop >> [ - hBinop concat [ - hBinop concat [ - hVarref hid_mc_proc_local_4 NOLIST - hVarref fp_mc_proc_local_3##frac NOLIST - ] - hLiteral 0 [ - hTypeinfo NONAME [ - hType sc_uint [ - hLiteral 9 NOLIST - ] - ] - ] - ] - hBinop - [ - hVarref emax_mc_proc_local_2 NOLIST - hVarref fp_mc_proc_local_3##expo NOLIST + hPortbinding NONAME [ + hFieldaccess NONAME [ + hBinop ARRAYSUBSCRIPT [ + hVarref u_yt NOLIST + hVarref j_u_encode_block_local_0 NOLIST ] + hField s_ready NOLIST + ] + hBinop ARRAYSUBSCRIPT [ + hVarref c_yt_ready_scclang_global_4 NOLIST + hVarref j_u_encode_block_local_0 NOLIST ] ] - hIfStmt NONAME [ - hVarref fp_mc_proc_local_3##sign NOLIST - hBinop = [ - hVarref si_mc_proc_local_6 NOLIST - hUnop - [ - hVarref ui_mc_proc_local_5 NOLIST + hPortbinding NONAME [ + hFieldaccess NONAME [ + hBinop ARRAYSUBSCRIPT [ + hVarref u_yt NOLIST + hVarref j_u_encode_block_local_0 NOLIST ] + hField m_valid NOLIST ] - hBinop = [ - hVarref si_mc_proc_local_6 NOLIST - hVarref ui_mc_proc_local_5 NOLIST + hBinop ARRAYSUBSCRIPT [ + hVarref c_yt_valid_scclang_global_5 NOLIST + hVarref j_u_encode_block_local_0 NOLIST ] ] - hSigAssignL write [ - hVarref c_int_scclang_global_0 NOLIST - hVarref si_mc_proc_local_6 NOLIST + hPortbinding NONAME [ + hFieldaccess NONAME [ + hBinop ARRAYSUBSCRIPT [ + hVarref u_yt NOLIST + hVarref j_u_encode_block_local_0 NOLIST + ] + hField m_ready NOLIST + ] + hVarref m_ready NOLIST ] - ] - ] - ] - hProcess ms_proc [ - hMethod ms_proc [ - hCStmt NONAME [ - hIfStmt NONAME [ - hBinop == [ - hVarref reset NOLIST + hForStmt NONAME [ + hVarAssign NONAME [ + hVarref i_u_encode_block_local_1 NOLIST hLiteral 0 NOLIST ] + hBinop < [ + hVarref i_u_encode_block_local_1 NOLIST + hLiteral 4 NOLIST + ] + hPostfix ++ [ + hVarref i_u_encode_block_local_1 NOLIST + ] hCStmt NONAME [ - hBinop = [ - hVarref count_scclang_global_2 NOLIST - hLiteral 0 [ - hTypeinfo NONAME [ - hType sc_uint [ + hPortbinding NONAME [ + hBinop ARRAYSUBSCRIPT [ + hFieldaccess NONAME [ + hBinop ARRAYSUBSCRIPT [ + hVarref u_xt NOLIST + hVarref j_u_encode_block_local_0 NOLIST + ] + hField s_port NOLIST + ] + hVarref i_u_encode_block_local_1 NOLIST + ] + hBinop ARRAYSUBSCRIPT [ + hVarref s_block NOLIST + hBinop + [ + hBinop * [ + hVarref j_u_encode_block_local_0 NOLIST hLiteral 4 NOLIST ] + hVarref i_u_encode_block_local_1 NOLIST ] ] ] - hSigAssignL write [ - hVarref m_valid NOLIST - hLiteral 0 NOLIST - ] - ] - hCStmt NONAME [ - hIfStmt NONAME [ - hVarref c_sync_scclang_global_1 NOLIST - hCStmt NONAME [ - hIfStmt NONAME [ - hBinop == [ - hSigAssignR read [ - hVarref count_scclang_global_2 NOLIST - ] - hBinop - [ - hLiteral 16 NOLIST - hLiteral 1 NOLIST - ] - ] - hCStmt NONAME [ - hBinop = [ - hVarref count_scclang_global_2 NOLIST - hLiteral 0 [ - hTypeinfo NONAME [ - hType sc_uint [ - hLiteral 4 NOLIST - ] - ] - ] - ] - hSigAssignL write [ - hVarref m_valid NOLIST - hLiteral 1 NOLIST - ] - ] - hCStmt NONAME [ - hBinop = [ - hVarref count_scclang_global_2 NOLIST - hBinop + [ - hSigAssignR read [ - hVarref count_scclang_global_2 NOLIST - ] - hLiteral 1 NOLIST - ] - ] - hSigAssignL write [ - hVarref m_valid NOLIST - hLiteral 0 NOLIST - ] + hPortbinding NONAME [ + hBinop ARRAYSUBSCRIPT [ + hFieldaccess NONAME [ + hBinop ARRAYSUBSCRIPT [ + hVarref u_xt NOLIST + hVarref j_u_encode_block_local_0 NOLIST ] + hField m_port NOLIST + ] + hVarref i_u_encode_block_local_1 NOLIST + ] + hBinop ARRAYSUBSCRIPT [ + hBinop ARRAYSUBSCRIPT [ + hVarref c_xt_data_scclang_global_0 NOLIST + hVarref j_u_encode_block_local_0 NOLIST ] - hSigAssignL write [ + hVarref i_u_encode_block_local_1 NOLIST + ] + ] + hPortbinding NONAME [ + hBinop ARRAYSUBSCRIPT [ + hFieldaccess NONAME [ hBinop ARRAYSUBSCRIPT [ - hVarref m_block NOLIST - hSigAssignR read [ - hVarref count_scclang_global_2 NOLIST - ] - ] - hSigAssignR read [ - hVarref c_int_scclang_global_0 NOLIST + hVarref u_yt NOLIST + hVarref j_u_encode_block_local_0 NOLIST ] + hField s_port NOLIST ] + hVarref i_u_encode_block_local_1 NOLIST ] - hIfStmt NONAME [ - hSigAssignR read [ - hVarref m_ready NOLIST + hBinop ARRAYSUBSCRIPT [ + hBinop ARRAYSUBSCRIPT [ + hVarref c_xt_data_scclang_global_0 NOLIST + hVarref i_u_encode_block_local_1 NOLIST ] - hSigAssignL write [ - hVarref m_valid NOLIST - hLiteral 0 NOLIST + hVarref j_u_encode_block_local_0 NOLIST + ] + ] + hPortbinding NONAME [ + hBinop ARRAYSUBSCRIPT [ + hFieldaccess NONAME [ + hBinop ARRAYSUBSCRIPT [ + hVarref u_yt NOLIST + hVarref j_u_encode_block_local_0 NOLIST + ] + hField m_port NOLIST + ] + hVarref i_u_encode_block_local_1 NOLIST + ] + hBinop ARRAYSUBSCRIPT [ + hBinop ARRAYSUBSCRIPT [ + hVarref c_yt_data_scclang_global_3 NOLIST + hVarref i_u_encode_block_local_1 NOLIST ] + hVarref j_u_encode_block_local_0 NOLIST ] ] ] @@ -3715,68 +3372,13 @@ ] ] ] - hFunction fp_t11_52__fp_t_func_0 [ - hFunctionRetType NONAME [ - hTypeinfo NONAME [ - hType void NOLIST - ] - ] - hFunctionParams NONAME [ - hFunctionParamIO hthis [ - hTypeinfo NONAME [ - hType fp_t_11_52_ NOLIST - ] - ] - hFunctionParamI NONAME [ - hTypeinfo NONAME [ - hType fp_t_11_52_ NOLIST - ] - ] - ] - hCStmt NONAME [ - hBinop = [ - hVarref _actual_scclang_global_3 NOLIST - hVarref NONAME NOLIST - ] - ] - ] - ] - hModinitblock u_fwd_cast [ hSenslist mc_proc [ - hSensvar NONAME [ - hVarref s_ex##valid NOLIST - hNoop always NOLIST - ] - hSensvar NONAME [ - hVarref s_ex##data NOLIST - hNoop always NOLIST - ] - hSensvar NONAME [ - hVarref s_fp##valid NOLIST - hNoop always NOLIST - ] - hSensvar NONAME [ - hVarref s_fp##data NOLIST - hNoop always NOLIST - ] hSensvar NONAME [ hVarref m_ready NOLIST hNoop always NOLIST ] - hSensvar NONAME [ - hVarref count_scclang_global_2 NOLIST - hNoop always NOLIST - ] - hSensvar NONAME [ - hVarref c_sync_scclang_global_1 NOLIST - hNoop always NOLIST - ] - hSensvar NONAME [ - hVarref c_int_scclang_global_0 NOLIST - hNoop always NOLIST - ] ] - hSenslist ms_proc [ + hSenslist ms_fwd_order [ hSensvar NONAME [ hVarref clk NOLIST hBuiltinFunction pos NOLIST @@ -3784,7 +3386,7 @@ ] ] ] - hModule encode_block_sc_module_5 [ + hModule fwd_lift_sc_module_13 [ hPortsigvarlist NONAME [ hPortin clk [ hTypeinfo NONAME [ @@ -3800,9 +3402,9 @@ ] ] ] - hPortin s_block [ + hPortin s_port [ hTypeinfo NONAME [ - hType array##16 [ + hType array##4 [ hType sc_in [ hType sc_int [ hLiteral 64 NOLIST @@ -3832,11 +3434,11 @@ ] ] ] - hPortout m_block [ + hPortout m_port [ hTypeinfo NONAME [ - hType array##16 [ + hType array##4 [ hType sc_out [ - hType sc_uint [ + hType sc_int [ hLiteral 64 NOLIST ] ] @@ -3850,38 +3452,29 @@ ] ] ] - hSigdecl c_xt_data_scclang_global_0 [ - hTypeinfo NONAME [ - hType array##4##4 [ - hType sc_signal [ - hType sc_int [ - hLiteral 64 NOLIST - ] - ] - ] - ] - ] - hSigdecl c_xt_ready_scclang_global_1 [ + hSigdecl v_scclang_global_0 [ hTypeinfo NONAME [ - hType array##4 [ - hType sc_signal [ - hType _Bool NOLIST + hType sc_signal [ + hType sc_bv [ + hLiteral 6 NOLIST ] ] ] ] - hSigdecl c_xt_valid_scclang_global_2 [ + hSigdecl w_scclang_global_1 [ hTypeinfo NONAME [ - hType array##4 [ + hType array##6 [ hType sc_signal [ - hType _Bool NOLIST + hType sc_int [ + hLiteral 64 NOLIST + ] ] ] ] ] - hSigdecl c_yt_data_scclang_global_3 [ + hSigdecl x_scclang_global_2 [ hTypeinfo NONAME [ - hType array##4##4 [ + hType array##6 [ hType sc_signal [ hType sc_int [ hLiteral 64 NOLIST @@ -3890,36 +3483,34 @@ ] ] ] - hSigdecl c_yt_ready_scclang_global_4 [ + hSigdecl y_scclang_global_3 [ hTypeinfo NONAME [ - hType array##4 [ + hType array##6 [ hType sc_signal [ - hType _Bool NOLIST + hType sc_int [ + hLiteral 64 NOLIST + ] ] ] ] ] - hSigdecl c_yt_valid_scclang_global_5 [ + hSigdecl z_scclang_global_4 [ hTypeinfo NONAME [ - hType array##4 [ + hType array##6 [ hType sc_signal [ - hType _Bool NOLIST + hType sc_int [ + hLiteral 64 NOLIST + ] ] ] ] ] - hModdecl u_xt [ + hVardecl stages_scclang_global_5 [ hTypeinfo NONAME [ - hType array##4 [ - hType fwd_lift_sc_module_16 NOLIST - ] + hType int NOLIST ] - ] - hModdecl u_yt [ - hTypeinfo NONAME [ - hType array##4 [ - hType fwd_lift_sc_module_17 NOLIST - ] + hVarInit NONAME [ + hLiteral 6 NOLIST ] ] ] @@ -3933,810 +3524,631 @@ hVarref m_ready NOLIST ] ] - ] - ] - ] - hProcess ms_fwd_order [ - hMethod ms_fwd_order [ - hCStmt NONAME [ - hIfStmt NONAME [ - hSigAssignR read [ - hVarref m_ready NOLIST + hSigAssignL write [ + hBinop ARRAYSUBSCRIPT [ + hVarref m_port NOLIST + hLiteral 0 NOLIST ] - hCStmt NONAME [ - hSigAssignL write [ - hBinop ARRAYSUBSCRIPT [ - hVarref m_block NOLIST - hLiteral 0 NOLIST - ] - hBinop ^ [ - hBinop + [ - hSigAssignR read [ - hBinop ARRAYSUBSCRIPT [ - hBinop ARRAYSUBSCRIPT [ - hVarref c_yt_data_scclang_global_3 NOLIST - hLiteral 0 NOLIST - ] - hLiteral 0 NOLIST - ] - ] - hLiteral -6148914691236517206 [ - hTypeinfo NONAME [ - hType sc_uint [ - hLiteral 64 NOLIST - ] - ] - ] - ] - hLiteral -6148914691236517206 [ - hTypeinfo NONAME [ - hType sc_uint [ - hLiteral 64 NOLIST - ] - ] - ] - ] - ] - hSigAssignL write [ - hBinop ARRAYSUBSCRIPT [ - hVarref m_block NOLIST - hLiteral 1 NOLIST - ] - hBinop ^ [ - hBinop + [ - hSigAssignR read [ - hBinop ARRAYSUBSCRIPT [ - hBinop ARRAYSUBSCRIPT [ - hVarref c_yt_data_scclang_global_3 NOLIST - hLiteral 0 NOLIST - ] - hLiteral 1 NOLIST - ] - ] - hLiteral -6148914691236517206 [ - hTypeinfo NONAME [ - hType sc_uint [ - hLiteral 64 NOLIST - ] - ] - ] - ] - hLiteral -6148914691236517206 [ - hTypeinfo NONAME [ - hType sc_uint [ - hLiteral 64 NOLIST - ] - ] - ] - ] + hBinop ARRAYSUBSCRIPT [ + hVarref x_scclang_global_2 NOLIST + hBinop - [ + hLiteral 6 NOLIST + hLiteral 1 NOLIST ] - hSigAssignL write [ - hBinop ARRAYSUBSCRIPT [ - hVarref m_block NOLIST - hLiteral 2 NOLIST - ] - hBinop ^ [ - hBinop + [ - hSigAssignR read [ - hBinop ARRAYSUBSCRIPT [ - hBinop ARRAYSUBSCRIPT [ - hVarref c_yt_data_scclang_global_3 NOLIST - hLiteral 1 NOLIST - ] - hLiteral 0 NOLIST - ] - ] - hLiteral -6148914691236517206 [ - hTypeinfo NONAME [ - hType sc_uint [ - hLiteral 64 NOLIST - ] - ] - ] - ] - hLiteral -6148914691236517206 [ - hTypeinfo NONAME [ - hType sc_uint [ - hLiteral 64 NOLIST - ] - ] - ] - ] + ] + ] + hSigAssignL write [ + hBinop ARRAYSUBSCRIPT [ + hVarref m_port NOLIST + hLiteral 1 NOLIST + ] + hBinop ARRAYSUBSCRIPT [ + hVarref y_scclang_global_3 NOLIST + hBinop - [ + hLiteral 6 NOLIST + hLiteral 1 NOLIST ] - hSigAssignL write [ - hBinop ARRAYSUBSCRIPT [ - hVarref m_block NOLIST - hLiteral 3 NOLIST - ] - hBinop ^ [ - hBinop + [ - hSigAssignR read [ - hBinop ARRAYSUBSCRIPT [ - hBinop ARRAYSUBSCRIPT [ - hVarref c_yt_data_scclang_global_3 NOLIST - hLiteral 1 NOLIST - ] - hLiteral 1 NOLIST - ] - ] - hLiteral -6148914691236517206 [ - hTypeinfo NONAME [ - hType sc_uint [ - hLiteral 64 NOLIST - ] - ] - ] - ] - hLiteral -6148914691236517206 [ - hTypeinfo NONAME [ - hType sc_uint [ - hLiteral 64 NOLIST - ] - ] - ] - ] + ] + ] + hSigAssignL write [ + hBinop ARRAYSUBSCRIPT [ + hVarref m_port NOLIST + hLiteral 2 NOLIST + ] + hBinop ARRAYSUBSCRIPT [ + hVarref z_scclang_global_4 NOLIST + hBinop - [ + hLiteral 6 NOLIST + hLiteral 1 NOLIST ] - hSigAssignL write [ - hBinop ARRAYSUBSCRIPT [ - hVarref m_block NOLIST - hLiteral 4 NOLIST - ] - hBinop ^ [ - hBinop + [ - hSigAssignR read [ - hBinop ARRAYSUBSCRIPT [ - hBinop ARRAYSUBSCRIPT [ - hVarref c_yt_data_scclang_global_3 NOLIST - hLiteral 0 NOLIST - ] - hLiteral 2 NOLIST - ] - ] - hLiteral -6148914691236517206 [ - hTypeinfo NONAME [ - hType sc_uint [ - hLiteral 64 NOLIST - ] - ] - ] - ] - hLiteral -6148914691236517206 [ - hTypeinfo NONAME [ - hType sc_uint [ - hLiteral 64 NOLIST - ] - ] - ] - ] + ] + ] + hSigAssignL write [ + hBinop ARRAYSUBSCRIPT [ + hVarref m_port NOLIST + hLiteral 3 NOLIST + ] + hBinop ARRAYSUBSCRIPT [ + hVarref w_scclang_global_1 NOLIST + hBinop - [ + hLiteral 6 NOLIST + hLiteral 1 NOLIST ] - hSigAssignL write [ - hBinop ARRAYSUBSCRIPT [ - hVarref m_block NOLIST - hLiteral 5 NOLIST + ] + ] + hSigAssignL write [ + hVarref m_valid NOLIST + hBuiltinFunction to_bool [ + hBinop ARRAYSUBSCRIPT [ + hSigAssignR read [ + hVarref v_scclang_global_0 NOLIST ] - hBinop ^ [ - hBinop + [ - hSigAssignR read [ - hBinop ARRAYSUBSCRIPT [ - hBinop ARRAYSUBSCRIPT [ - hVarref c_yt_data_scclang_global_3 NOLIST - hLiteral 2 NOLIST - ] - hLiteral 0 NOLIST - ] - ] - hLiteral -6148914691236517206 [ - hTypeinfo NONAME [ - hType sc_uint [ - hLiteral 64 NOLIST - ] - ] - ] - ] - hLiteral -6148914691236517206 [ - hTypeinfo NONAME [ - hType sc_uint [ - hLiteral 64 NOLIST - ] - ] - ] + hBinop - [ + hLiteral 6 NOLIST + hLiteral 1 NOLIST ] ] - hSigAssignL write [ - hBinop ARRAYSUBSCRIPT [ - hVarref m_block NOLIST - hLiteral 6 NOLIST + ] + ] + ] + ] + ] + hProcess ms_proc [ + hMethod ms_proc [ + hVardecl i_ms_proc_local_2 [ + hTypeinfo NONAME [ + hType int NOLIST + ] + ] + hCStmt NONAME [ + hIfStmt NONAME [ + hBinop == [ + hVarref reset NOLIST + hLiteral 0 NOLIST + ] + hCStmt NONAME [ + hForStmt NONAME [ + hVarAssign NONAME [ + hVarref i_ms_proc_local_2 NOLIST + hLiteral 0 NOLIST ] - hBinop ^ [ - hBinop + [ - hSigAssignR read [ - hBinop ARRAYSUBSCRIPT [ - hBinop ARRAYSUBSCRIPT [ - hVarref c_yt_data_scclang_global_3 NOLIST - hLiteral 1 NOLIST - ] - hLiteral 2 NOLIST - ] - ] - hLiteral -6148914691236517206 [ - hTypeinfo NONAME [ - hType sc_uint [ - hLiteral 64 NOLIST - ] - ] - ] - ] - hLiteral -6148914691236517206 [ - hTypeinfo NONAME [ - hType sc_uint [ - hLiteral 64 NOLIST - ] - ] - ] + hBinop < [ + hVarref i_ms_proc_local_2 NOLIST + hLiteral 6 NOLIST ] - ] - hSigAssignL write [ - hBinop ARRAYSUBSCRIPT [ - hVarref m_block NOLIST - hLiteral 7 NOLIST + hPostfix ++ [ + hVarref i_ms_proc_local_2 NOLIST ] - hBinop ^ [ - hBinop + [ - hSigAssignR read [ - hBinop ARRAYSUBSCRIPT [ - hBinop ARRAYSUBSCRIPT [ - hVarref c_yt_data_scclang_global_3 NOLIST - hLiteral 2 NOLIST - ] - hLiteral 1 NOLIST - ] + hCStmt NONAME [ + hSigAssignL write [ + hBinop ARRAYSUBSCRIPT [ + hVarref x_scclang_global_2 NOLIST + hVarref i_ms_proc_local_2 NOLIST ] - hLiteral -6148914691236517206 [ + hLiteral 0 [ hTypeinfo NONAME [ - hType sc_uint [ + hType sc_int [ hLiteral 64 NOLIST ] ] ] ] - hLiteral -6148914691236517206 [ - hTypeinfo NONAME [ - hType sc_uint [ - hLiteral 64 NOLIST - ] - ] - ] - ] - ] - hSigAssignL write [ - hBinop ARRAYSUBSCRIPT [ - hVarref m_block NOLIST - hLiteral 8 NOLIST - ] - hBinop ^ [ - hBinop + [ - hSigAssignR read [ - hBinop ARRAYSUBSCRIPT [ - hBinop ARRAYSUBSCRIPT [ - hVarref c_yt_data_scclang_global_3 NOLIST - hLiteral 0 NOLIST - ] - hLiteral 3 NOLIST - ] + hSigAssignL write [ + hBinop ARRAYSUBSCRIPT [ + hVarref y_scclang_global_3 NOLIST + hVarref i_ms_proc_local_2 NOLIST ] - hLiteral -6148914691236517206 [ + hLiteral 0 [ hTypeinfo NONAME [ - hType sc_uint [ + hType sc_int [ hLiteral 64 NOLIST ] ] ] ] - hLiteral -6148914691236517206 [ - hTypeinfo NONAME [ - hType sc_uint [ - hLiteral 64 NOLIST - ] - ] - ] - ] - ] - hSigAssignL write [ - hBinop ARRAYSUBSCRIPT [ - hVarref m_block NOLIST - hLiteral 9 NOLIST - ] - hBinop ^ [ - hBinop + [ - hSigAssignR read [ - hBinop ARRAYSUBSCRIPT [ - hBinop ARRAYSUBSCRIPT [ - hVarref c_yt_data_scclang_global_3 NOLIST - hLiteral 3 NOLIST - ] - hLiteral 0 NOLIST - ] + hSigAssignL write [ + hBinop ARRAYSUBSCRIPT [ + hVarref z_scclang_global_4 NOLIST + hVarref i_ms_proc_local_2 NOLIST ] - hLiteral -6148914691236517206 [ + hLiteral 0 [ hTypeinfo NONAME [ - hType sc_uint [ + hType sc_int [ hLiteral 64 NOLIST ] ] ] ] - hLiteral -6148914691236517206 [ - hTypeinfo NONAME [ - hType sc_uint [ - hLiteral 64 NOLIST - ] - ] - ] - ] - ] - hSigAssignL write [ - hBinop ARRAYSUBSCRIPT [ - hVarref m_block NOLIST - hLiteral 10 NOLIST - ] - hBinop ^ [ - hBinop + [ - hSigAssignR read [ - hBinop ARRAYSUBSCRIPT [ - hBinop ARRAYSUBSCRIPT [ - hVarref c_yt_data_scclang_global_3 NOLIST - hLiteral 2 NOLIST - ] - hLiteral 2 NOLIST - ] + hSigAssignL write [ + hBinop ARRAYSUBSCRIPT [ + hVarref w_scclang_global_1 NOLIST + hVarref i_ms_proc_local_2 NOLIST ] - hLiteral -6148914691236517206 [ + hLiteral 0 [ hTypeinfo NONAME [ - hType sc_uint [ + hType sc_int [ hLiteral 64 NOLIST ] ] ] ] - hLiteral -6148914691236517206 [ - hTypeinfo NONAME [ - hType sc_uint [ - hLiteral 64 NOLIST - ] - ] - ] ] ] hSigAssignL write [ - hBinop ARRAYSUBSCRIPT [ - hVarref m_block NOLIST - hLiteral 11 NOLIST + hVarref v_scclang_global_0 NOLIST + hLiteral 0 [ + hTypeinfo NONAME [ + hType sc_bv [ + hLiteral 6 NOLIST + ] + ] ] - hBinop ^ [ - hBinop + [ - hSigAssignR read [ - hBinop ARRAYSUBSCRIPT [ + ] + ] + hIfStmt NONAME [ + hSigAssignR read [ + hVarref m_ready NOLIST + ] + hCStmt NONAME [ + hSigAssignL write [ + hBinop ARRAYSUBSCRIPT [ + hVarref x_scclang_global_2 NOLIST + hLiteral 0 NOLIST + ] + hBinop >> [ + hBinop + [ + hSigAssignR read [ hBinop ARRAYSUBSCRIPT [ - hVarref c_yt_data_scclang_global_3 NOLIST - hLiteral 1 NOLIST + hVarref s_port NOLIST + hLiteral 0 NOLIST ] - hLiteral 3 NOLIST ] - ] - hLiteral -6148914691236517206 [ - hTypeinfo NONAME [ - hType sc_uint [ - hLiteral 64 NOLIST + hSigAssignR read [ + hBinop ARRAYSUBSCRIPT [ + hVarref s_port NOLIST + hLiteral 3 NOLIST ] ] ] + hLiteral 1 NOLIST ] - hLiteral -6148914691236517206 [ - hTypeinfo NONAME [ - hType sc_uint [ - hLiteral 64 NOLIST - ] + ] + hSigAssignL write [ + hBinop ARRAYSUBSCRIPT [ + hVarref y_scclang_global_3 NOLIST + hLiteral 0 NOLIST + ] + hSigAssignR read [ + hBinop ARRAYSUBSCRIPT [ + hVarref s_port NOLIST + hLiteral 1 NOLIST ] ] ] - ] - hSigAssignL write [ - hBinop ARRAYSUBSCRIPT [ - hVarref m_block NOLIST - hLiteral 12 NOLIST - ] - hBinop ^ [ - hBinop + [ - hSigAssignR read [ - hBinop ARRAYSUBSCRIPT [ + hSigAssignL write [ + hBinop ARRAYSUBSCRIPT [ + hVarref z_scclang_global_4 NOLIST + hLiteral 0 NOLIST + ] + hBinop >> [ + hBinop + [ + hSigAssignR read [ hBinop ARRAYSUBSCRIPT [ - hVarref c_yt_data_scclang_global_3 NOLIST - hLiteral 3 NOLIST + hVarref s_port NOLIST + hLiteral 2 NOLIST ] - hLiteral 1 NOLIST ] - ] - hLiteral -6148914691236517206 [ - hTypeinfo NONAME [ - hType sc_uint [ - hLiteral 64 NOLIST + hSigAssignR read [ + hBinop ARRAYSUBSCRIPT [ + hVarref s_port NOLIST + hLiteral 1 NOLIST ] ] ] + hLiteral 1 NOLIST ] - hLiteral -6148914691236517206 [ - hTypeinfo NONAME [ - hType sc_uint [ - hLiteral 64 NOLIST - ] + ] + hSigAssignL write [ + hBinop ARRAYSUBSCRIPT [ + hVarref w_scclang_global_1 NOLIST + hLiteral 0 NOLIST + ] + hSigAssignR read [ + hBinop ARRAYSUBSCRIPT [ + hVarref s_port NOLIST + hLiteral 3 NOLIST ] ] ] - ] - hSigAssignL write [ - hBinop ARRAYSUBSCRIPT [ - hVarref m_block NOLIST - hLiteral 13 NOLIST - ] - hBinop ^ [ - hBinop + [ - hSigAssignR read [ - hBinop ARRAYSUBSCRIPT [ + hSigAssignL write [ + hBinop ARRAYSUBSCRIPT [ + hVarref x_scclang_global_2 NOLIST + hLiteral 1 NOLIST + ] + hBinop >> [ + hBinop + [ + hSigAssignR read [ hBinop ARRAYSUBSCRIPT [ - hVarref c_yt_data_scclang_global_3 NOLIST - hLiteral 2 NOLIST + hVarref x_scclang_global_2 NOLIST + hLiteral 0 NOLIST ] - hLiteral 3 NOLIST ] - ] - hLiteral -6148914691236517206 [ - hTypeinfo NONAME [ - hType sc_uint [ - hLiteral 64 NOLIST + hSigAssignR read [ + hBinop ARRAYSUBSCRIPT [ + hVarref z_scclang_global_4 NOLIST + hLiteral 0 NOLIST ] ] ] - ] - hLiteral -6148914691236517206 [ - hTypeinfo NONAME [ - hType sc_uint [ - hLiteral 64 NOLIST - ] - ] - ] - ] - ] - hSigAssignL write [ - hBinop ARRAYSUBSCRIPT [ - hVarref m_block NOLIST - hLiteral 14 NOLIST + hLiteral 1 NOLIST + ] ] - hBinop ^ [ - hBinop + [ + hSigAssignL write [ + hBinop ARRAYSUBSCRIPT [ + hVarref y_scclang_global_3 NOLIST + hLiteral 1 NOLIST + ] + hBinop - [ hSigAssignR read [ hBinop ARRAYSUBSCRIPT [ - hBinop ARRAYSUBSCRIPT [ - hVarref c_yt_data_scclang_global_3 NOLIST - hLiteral 3 NOLIST - ] - hLiteral 2 NOLIST + hVarref y_scclang_global_3 NOLIST + hLiteral 0 NOLIST ] ] - hLiteral -6148914691236517206 [ - hTypeinfo NONAME [ - hType sc_uint [ - hLiteral 64 NOLIST - ] + hSigAssignR read [ + hBinop ARRAYSUBSCRIPT [ + hVarref z_scclang_global_4 NOLIST + hLiteral 0 NOLIST ] ] ] - hLiteral -6148914691236517206 [ - hTypeinfo NONAME [ - hType sc_uint [ - hLiteral 64 NOLIST - ] + ] + hSigAssignL write [ + hBinop ARRAYSUBSCRIPT [ + hVarref z_scclang_global_4 NOLIST + hLiteral 1 NOLIST + ] + hSigAssignR read [ + hBinop ARRAYSUBSCRIPT [ + hVarref z_scclang_global_4 NOLIST + hLiteral 0 NOLIST ] ] ] - ] - hSigAssignL write [ - hBinop ARRAYSUBSCRIPT [ - hVarref m_block NOLIST - hLiteral 15 NOLIST - ] - hBinop ^ [ - hBinop + [ + hSigAssignL write [ + hBinop ARRAYSUBSCRIPT [ + hVarref w_scclang_global_1 NOLIST + hLiteral 1 NOLIST + ] + hBinop - [ hSigAssignR read [ hBinop ARRAYSUBSCRIPT [ - hBinop ARRAYSUBSCRIPT [ - hVarref c_yt_data_scclang_global_3 NOLIST - hLiteral 3 NOLIST - ] - hLiteral 3 NOLIST + hVarref w_scclang_global_1 NOLIST + hLiteral 0 NOLIST ] ] - hLiteral -6148914691236517206 [ - hTypeinfo NONAME [ - hType sc_uint [ - hLiteral 64 NOLIST - ] + hSigAssignR read [ + hBinop ARRAYSUBSCRIPT [ + hVarref x_scclang_global_2 NOLIST + hLiteral 0 NOLIST ] ] ] - hLiteral -6148914691236517206 [ - hTypeinfo NONAME [ - hType sc_uint [ - hLiteral 64 NOLIST - ] + ] + hSigAssignL write [ + hBinop ARRAYSUBSCRIPT [ + hVarref x_scclang_global_2 NOLIST + hLiteral 2 NOLIST + ] + hSigAssignR read [ + hBinop ARRAYSUBSCRIPT [ + hVarref x_scclang_global_2 NOLIST + hLiteral 1 NOLIST ] ] ] - ] - hSigAssignL write [ - hVarref m_valid NOLIST - hSigAssignR read [ + hSigAssignL write [ hBinop ARRAYSUBSCRIPT [ - hVarref c_yt_valid_scclang_global_5 NOLIST - hLiteral 0 NOLIST + hVarref y_scclang_global_3 NOLIST + hLiteral 2 NOLIST + ] + hSigAssignR read [ + hBinop ARRAYSUBSCRIPT [ + hVarref y_scclang_global_3 NOLIST + hLiteral 1 NOLIST + ] ] ] - ] - ] - ] - ] - ] - ] - ] - hModinitblock u_encode_block [ - hVardeclrn j_u_encode_block_local_0 [ - hTypeinfo NONAME [ - hType int NOLIST - ] - hLiteral j NOLIST - ] - hVardeclrn i_u_encode_block_local_1 [ - hTypeinfo NONAME [ - hType int NOLIST - ] - hLiteral i NOLIST - ] - hCStmt NONAME [ - hForStmt NONAME [ - hVarAssign NONAME [ - hVarref j_u_encode_block_local_0 NOLIST - hLiteral 0 NOLIST - ] - hBinop < [ - hVarref j_u_encode_block_local_0 NOLIST - hLiteral 4 NOLIST - ] - hPostfix ++ [ - hVarref j_u_encode_block_local_0 NOLIST - ] - hCStmt NONAME [ - hPortbinding u_xt [ - hVarref clk [ - hBinop ARRAYSUBSCRIPT [ - hVarref u_xt NOLIST - hVarref j_u_encode_block_local_0 NOLIST - ] - ] - hVarref clk NOLIST - ] - hPortbinding u_xt [ - hVarref reset [ - hBinop ARRAYSUBSCRIPT [ - hVarref u_xt NOLIST - hVarref j_u_encode_block_local_0 NOLIST - ] - ] - hVarref reset NOLIST - ] - hPortbinding u_xt [ - hVarref s_valid [ - hBinop ARRAYSUBSCRIPT [ - hVarref u_xt NOLIST - hVarref j_u_encode_block_local_0 NOLIST - ] - ] - hVarref s_valid NOLIST - ] - hPortbinding u_xt [ - hVarref s_ready [ - hBinop ARRAYSUBSCRIPT [ - hVarref u_xt NOLIST - hVarref j_u_encode_block_local_0 NOLIST - ] - ] - hBinop ARRAYSUBSCRIPT [ - hVarref c_xt_ready_scclang_global_1 NOLIST - hVarref j_u_encode_block_local_0 NOLIST - ] - ] - hPortbinding u_xt [ - hVarref m_valid [ - hBinop ARRAYSUBSCRIPT [ - hVarref u_xt NOLIST - hVarref j_u_encode_block_local_0 NOLIST - ] - ] - hBinop ARRAYSUBSCRIPT [ - hVarref c_xt_valid_scclang_global_2 NOLIST - hVarref j_u_encode_block_local_0 NOLIST - ] - ] - hPortbinding u_xt [ - hVarref m_ready [ - hBinop ARRAYSUBSCRIPT [ - hVarref u_xt NOLIST - hVarref j_u_encode_block_local_0 NOLIST - ] - ] - hVarref m_ready NOLIST - ] - hPortbinding u_yt [ - hVarref clk [ - hBinop ARRAYSUBSCRIPT [ - hVarref u_yt NOLIST - hVarref j_u_encode_block_local_0 NOLIST - ] - ] - hVarref clk NOLIST - ] - hPortbinding u_yt [ - hVarref reset [ - hBinop ARRAYSUBSCRIPT [ - hVarref u_yt NOLIST - hVarref j_u_encode_block_local_0 NOLIST - ] - ] - hVarref reset NOLIST - ] - hPortbinding u_yt [ - hVarref s_valid [ - hBinop ARRAYSUBSCRIPT [ - hVarref u_yt NOLIST - hVarref j_u_encode_block_local_0 NOLIST - ] - ] - hBinop ARRAYSUBSCRIPT [ - hVarref c_xt_valid_scclang_global_2 NOLIST - hLiteral 0 NOLIST - ] - ] - hPortbinding u_yt [ - hVarref s_ready [ - hBinop ARRAYSUBSCRIPT [ - hVarref u_yt NOLIST - hVarref j_u_encode_block_local_0 NOLIST - ] - ] - hBinop ARRAYSUBSCRIPT [ - hVarref c_yt_ready_scclang_global_4 NOLIST - hVarref j_u_encode_block_local_0 NOLIST - ] - ] - hPortbinding u_yt [ - hVarref m_valid [ - hBinop ARRAYSUBSCRIPT [ - hVarref u_yt NOLIST - hVarref j_u_encode_block_local_0 NOLIST - ] - ] - hBinop ARRAYSUBSCRIPT [ - hVarref c_yt_valid_scclang_global_5 NOLIST - hVarref j_u_encode_block_local_0 NOLIST - ] - ] - hPortbinding u_yt [ - hVarref m_ready [ - hBinop ARRAYSUBSCRIPT [ - hVarref u_yt NOLIST - hVarref j_u_encode_block_local_0 NOLIST - ] - ] - hVarref m_ready NOLIST - ] - hForStmt NONAME [ - hVarAssign NONAME [ - hVarref i_u_encode_block_local_1 NOLIST - hLiteral 0 NOLIST - ] - hBinop < [ - hVarref i_u_encode_block_local_1 NOLIST - hLiteral 4 NOLIST - ] - hPostfix ++ [ - hVarref i_u_encode_block_local_1 NOLIST - ] - hCStmt NONAME [ - hPortbinding u_xt [ - hBinop ARRAYSUBSCRIPT [ - hVarref s_port [ + hSigAssignL write [ + hBinop ARRAYSUBSCRIPT [ + hVarref z_scclang_global_4 NOLIST + hLiteral 2 NOLIST + ] + hBinop - [ + hSigAssignR read [ + hBinop ARRAYSUBSCRIPT [ + hVarref z_scclang_global_4 NOLIST + hLiteral 1 NOLIST + ] + ] + hSigAssignR read [ + hBinop ARRAYSUBSCRIPT [ + hVarref x_scclang_global_2 NOLIST + hLiteral 1 NOLIST + ] + ] + ] + ] + hSigAssignL write [ + hBinop ARRAYSUBSCRIPT [ + hVarref w_scclang_global_1 NOLIST + hLiteral 2 NOLIST + ] + hBinop >> [ + hBinop + [ + hSigAssignR read [ + hBinop ARRAYSUBSCRIPT [ + hVarref w_scclang_global_1 NOLIST + hLiteral 1 NOLIST + ] + ] + hSigAssignR read [ + hBinop ARRAYSUBSCRIPT [ + hVarref y_scclang_global_3 NOLIST + hLiteral 1 NOLIST + ] + ] + ] + hLiteral 1 NOLIST + ] + ] + hSigAssignL write [ + hBinop ARRAYSUBSCRIPT [ + hVarref x_scclang_global_2 NOLIST + hLiteral 3 NOLIST + ] + hSigAssignR read [ hBinop ARRAYSUBSCRIPT [ - hVarref u_xt NOLIST - hVarref j_u_encode_block_local_0 NOLIST + hVarref x_scclang_global_2 NOLIST + hLiteral 2 NOLIST ] ] - hVarref i_u_encode_block_local_1 NOLIST ] - hBinop ARRAYSUBSCRIPT [ - hVarref s_block NOLIST - hBinop + [ - hBinop * [ - hVarref j_u_encode_block_local_0 NOLIST - hLiteral 4 NOLIST + hSigAssignL write [ + hBinop ARRAYSUBSCRIPT [ + hVarref y_scclang_global_3 NOLIST + hLiteral 3 NOLIST + ] + hBinop - [ + hSigAssignR read [ + hBinop ARRAYSUBSCRIPT [ + hVarref y_scclang_global_3 NOLIST + hLiteral 2 NOLIST + ] + ] + hSigAssignR read [ + hBinop ARRAYSUBSCRIPT [ + hVarref w_scclang_global_1 NOLIST + hLiteral 2 NOLIST + ] ] - hVarref i_u_encode_block_local_1 NOLIST ] ] - ] - hPortbinding u_xt [ - hBinop ARRAYSUBSCRIPT [ - hVarref m_port [ + hSigAssignL write [ + hBinop ARRAYSUBSCRIPT [ + hVarref z_scclang_global_4 NOLIST + hLiteral 3 NOLIST + ] + hSigAssignR read [ hBinop ARRAYSUBSCRIPT [ - hVarref u_xt NOLIST - hVarref j_u_encode_block_local_0 NOLIST + hVarref z_scclang_global_4 NOLIST + hLiteral 2 NOLIST ] ] - hVarref i_u_encode_block_local_1 NOLIST ] - hBinop ARRAYSUBSCRIPT [ + hSigAssignL write [ hBinop ARRAYSUBSCRIPT [ - hVarref c_xt_data_scclang_global_0 NOLIST - hVarref j_u_encode_block_local_0 NOLIST + hVarref w_scclang_global_1 NOLIST + hLiteral 3 NOLIST + ] + hSigAssignR read [ + hBinop ARRAYSUBSCRIPT [ + hVarref w_scclang_global_1 NOLIST + hLiteral 2 NOLIST + ] ] - hVarref i_u_encode_block_local_1 NOLIST ] - ] - hPortbinding u_yt [ - hBinop ARRAYSUBSCRIPT [ - hVarref s_port [ + hSigAssignL write [ + hBinop ARRAYSUBSCRIPT [ + hVarref x_scclang_global_2 NOLIST + hLiteral 4 NOLIST + ] + hSigAssignR read [ hBinop ARRAYSUBSCRIPT [ - hVarref u_yt NOLIST - hVarref j_u_encode_block_local_0 NOLIST + hVarref x_scclang_global_2 NOLIST + hLiteral 3 NOLIST ] ] - hVarref i_u_encode_block_local_1 NOLIST ] - hBinop ARRAYSUBSCRIPT [ + hSigAssignL write [ hBinop ARRAYSUBSCRIPT [ - hVarref c_xt_data_scclang_global_0 NOLIST - hVarref i_u_encode_block_local_1 NOLIST + hVarref y_scclang_global_3 NOLIST + hLiteral 4 NOLIST + ] + hSigAssignR read [ + hBinop ARRAYSUBSCRIPT [ + hVarref y_scclang_global_3 NOLIST + hLiteral 3 NOLIST + ] ] - hVarref j_u_encode_block_local_0 NOLIST ] - ] - hPortbinding u_yt [ - hBinop ARRAYSUBSCRIPT [ - hVarref m_port [ + hSigAssignL write [ + hBinop ARRAYSUBSCRIPT [ + hVarref z_scclang_global_4 NOLIST + hLiteral 4 NOLIST + ] + hSigAssignR read [ hBinop ARRAYSUBSCRIPT [ - hVarref u_yt NOLIST - hVarref j_u_encode_block_local_0 NOLIST + hVarref z_scclang_global_4 NOLIST + hLiteral 3 NOLIST ] ] - hVarref i_u_encode_block_local_1 NOLIST ] - hBinop ARRAYSUBSCRIPT [ + hSigAssignL write [ hBinop ARRAYSUBSCRIPT [ - hVarref c_yt_data_scclang_global_3 NOLIST - hVarref i_u_encode_block_local_1 NOLIST + hVarref w_scclang_global_1 NOLIST + hLiteral 4 NOLIST + ] + hBinop + [ + hSigAssignR read [ + hBinop ARRAYSUBSCRIPT [ + hVarref w_scclang_global_1 NOLIST + hLiteral 3 NOLIST + ] + ] + hBinop >> [ + hSigAssignR read [ + hBinop ARRAYSUBSCRIPT [ + hVarref y_scclang_global_3 NOLIST + hLiteral 3 NOLIST + ] + ] + hLiteral 1 NOLIST + ] + ] + ] + hSigAssignL write [ + hBinop ARRAYSUBSCRIPT [ + hVarref x_scclang_global_2 NOLIST + hLiteral 5 NOLIST + ] + hSigAssignR read [ + hBinop ARRAYSUBSCRIPT [ + hVarref x_scclang_global_2 NOLIST + hLiteral 4 NOLIST + ] + ] + ] + hSigAssignL write [ + hBinop ARRAYSUBSCRIPT [ + hVarref y_scclang_global_3 NOLIST + hLiteral 5 NOLIST + ] + hBinop - [ + hSigAssignR read [ + hBinop ARRAYSUBSCRIPT [ + hVarref y_scclang_global_3 NOLIST + hLiteral 4 NOLIST + ] + ] + hBinop >> [ + hSigAssignR read [ + hBinop ARRAYSUBSCRIPT [ + hVarref w_scclang_global_1 NOLIST + hLiteral 4 NOLIST + ] + ] + hLiteral 1 NOLIST + ] + ] + ] + hSigAssignL write [ + hBinop ARRAYSUBSCRIPT [ + hVarref z_scclang_global_4 NOLIST + hLiteral 5 NOLIST + ] + hSigAssignR read [ + hBinop ARRAYSUBSCRIPT [ + hVarref z_scclang_global_4 NOLIST + hLiteral 4 NOLIST + ] + ] + ] + hSigAssignL write [ + hBinop ARRAYSUBSCRIPT [ + hVarref w_scclang_global_1 NOLIST + hLiteral 5 NOLIST + ] + hSigAssignR read [ + hBinop ARRAYSUBSCRIPT [ + hVarref w_scclang_global_1 NOLIST + hLiteral 4 NOLIST + ] + ] + ] + hSigAssignL write [ + hVarref v_scclang_global_0 NOLIST + hBinop | [ + hBinop << [ + hSigAssignR read [ + hVarref v_scclang_global_0 NOLIST + ] + hLiteral 1 NOLIST + ] + hSigAssignR read [ + hVarref s_valid NOLIST + ] ] - hVarref j_u_encode_block_local_0 NOLIST ] ] ] ] ] ] - ] - hSenslist mc_proc [ + ] + ] + hModinitblock u_xt [ + hSenslist mc_proc [ + hSensvar NONAME [ + hVarref m_ready NOLIST + hNoop always NOLIST + ] + hSensvar NONAME [ + hBinop ARRAYSUBSCRIPT [ + hVarref x_scclang_global_2 NOLIST + hBinop - [ + hLiteral 6 NOLIST + hLiteral 1 NOLIST + ] + ] + hNoop always NOLIST + ] + hSensvar NONAME [ + hBinop ARRAYSUBSCRIPT [ + hVarref y_scclang_global_3 NOLIST + hBinop - [ + hLiteral 6 NOLIST + hLiteral 1 NOLIST + ] + ] + hNoop always NOLIST + ] hSensvar NONAME [ - hVarref m_ready NOLIST + hBinop ARRAYSUBSCRIPT [ + hVarref z_scclang_global_4 NOLIST + hBinop - [ + hLiteral 6 NOLIST + hLiteral 1 NOLIST + ] + ] + hNoop always NOLIST + ] + hSensvar NONAME [ + hBinop ARRAYSUBSCRIPT [ + hVarref w_scclang_global_1 NOLIST + hBinop - [ + hLiteral 6 NOLIST + hLiteral 1 NOLIST + ] + ] + hNoop always NOLIST + ] + hSensvar NONAME [ + hVarref v_scclang_global_0 NOLIST hNoop always NOLIST ] ] - hSenslist ms_fwd_order [ + hSenslist ms_proc [ hSensvar NONAME [ hVarref clk NOLIST hBuiltinFunction pos NOLIST @@ -4744,7 +4156,7 @@ ] ] ] - hModule fwd_lift_sc_module_16 [ + hModule fwd_lift_sc_module_14 [ hPortsigvarlist NONAME [ hPortin clk [ hTypeinfo NONAME [ @@ -5375,78 +4787,339 @@ ] ] ] - hSigAssignL write [ - hBinop ARRAYSUBSCRIPT [ - hVarref x_scclang_global_2 NOLIST - hLiteral 5 NOLIST - ] - hSigAssignR read [ - hBinop ARRAYSUBSCRIPT [ - hVarref x_scclang_global_2 NOLIST - hLiteral 4 NOLIST - ] - ] + hSigAssignL write [ + hBinop ARRAYSUBSCRIPT [ + hVarref x_scclang_global_2 NOLIST + hLiteral 5 NOLIST + ] + hSigAssignR read [ + hBinop ARRAYSUBSCRIPT [ + hVarref x_scclang_global_2 NOLIST + hLiteral 4 NOLIST + ] + ] + ] + hSigAssignL write [ + hBinop ARRAYSUBSCRIPT [ + hVarref y_scclang_global_3 NOLIST + hLiteral 5 NOLIST + ] + hBinop - [ + hSigAssignR read [ + hBinop ARRAYSUBSCRIPT [ + hVarref y_scclang_global_3 NOLIST + hLiteral 4 NOLIST + ] + ] + hBinop >> [ + hSigAssignR read [ + hBinop ARRAYSUBSCRIPT [ + hVarref w_scclang_global_1 NOLIST + hLiteral 4 NOLIST + ] + ] + hLiteral 1 NOLIST + ] + ] + ] + hSigAssignL write [ + hBinop ARRAYSUBSCRIPT [ + hVarref z_scclang_global_4 NOLIST + hLiteral 5 NOLIST + ] + hSigAssignR read [ + hBinop ARRAYSUBSCRIPT [ + hVarref z_scclang_global_4 NOLIST + hLiteral 4 NOLIST + ] + ] + ] + hSigAssignL write [ + hBinop ARRAYSUBSCRIPT [ + hVarref w_scclang_global_1 NOLIST + hLiteral 5 NOLIST + ] + hSigAssignR read [ + hBinop ARRAYSUBSCRIPT [ + hVarref w_scclang_global_1 NOLIST + hLiteral 4 NOLIST + ] + ] + ] + hSigAssignL write [ + hVarref v_scclang_global_0 NOLIST + hBinop | [ + hBinop << [ + hSigAssignR read [ + hVarref v_scclang_global_0 NOLIST + ] + hLiteral 1 NOLIST + ] + hSigAssignR read [ + hVarref s_valid NOLIST + ] + ] + ] + ] + ] + ] + ] + ] + ] + ] + hModinitblock u_yt [ + hSenslist mc_proc [ + hSensvar NONAME [ + hVarref m_ready NOLIST + hNoop always NOLIST + ] + hSensvar NONAME [ + hBinop ARRAYSUBSCRIPT [ + hVarref x_scclang_global_2 NOLIST + hBinop - [ + hLiteral 6 NOLIST + hLiteral 1 NOLIST + ] + ] + hNoop always NOLIST + ] + hSensvar NONAME [ + hBinop ARRAYSUBSCRIPT [ + hVarref y_scclang_global_3 NOLIST + hBinop - [ + hLiteral 6 NOLIST + hLiteral 1 NOLIST + ] + ] + hNoop always NOLIST + ] + hSensvar NONAME [ + hBinop ARRAYSUBSCRIPT [ + hVarref z_scclang_global_4 NOLIST + hBinop - [ + hLiteral 6 NOLIST + hLiteral 1 NOLIST + ] + ] + hNoop always NOLIST + ] + hSensvar NONAME [ + hBinop ARRAYSUBSCRIPT [ + hVarref w_scclang_global_1 NOLIST + hBinop - [ + hLiteral 6 NOLIST + hLiteral 1 NOLIST + ] + ] + hNoop always NOLIST + ] + hSensvar NONAME [ + hVarref v_scclang_global_0 NOLIST + hNoop always NOLIST + ] + ] + hSenslist ms_proc [ + hSensvar NONAME [ + hVarref clk NOLIST + hBuiltinFunction pos NOLIST + ] + ] + ] + ] + hModule block_buffer_sc_module_5 [ + hPortsigvarlist NONAME [ + hPortin clk [ + hTypeinfo NONAME [ + hType sc_in [ + hType _Bool NOLIST + ] + ] + ] + hPortin reset [ + hTypeinfo NONAME [ + hType sc_in [ + hType _Bool NOLIST + ] + ] + ] + hPortin s_block [ + hTypeinfo NONAME [ + hType array##16 [ + hType sc_in [ + hType sc_uint [ + hLiteral 64 NOLIST + ] + ] + ] + ] + ] + hPortin s_valid [ + hTypeinfo NONAME [ + hType sc_in [ + hType _Bool NOLIST + ] + ] + ] + hPortin m_ready [ + hTypeinfo NONAME [ + hType sc_in [ + hType _Bool NOLIST + ] + ] + ] + hPortout s_ready [ + hTypeinfo NONAME [ + hType sc_out [ + hType _Bool NOLIST + ] + ] + ] + hPortout m_block [ + hTypeinfo NONAME [ + hType array##16 [ + hType sc_out [ + hType sc_uint [ + hLiteral 64 NOLIST + ] + ] + ] + ] + ] + hPortout m_valid [ + hTypeinfo NONAME [ + hType sc_out [ + hType _Bool NOLIST + ] + ] + ] + hSigdecl c_bi_scclang_global_0 [ + hTypeinfo NONAME [ + hType sc_signal [ + hType sc_bv [ + hLiteral 1024 NOLIST + ] + ] + ] + ] + hSigdecl c_bo_scclang_global_1 [ + hTypeinfo NONAME [ + hType sc_signal [ + hType sc_bv [ + hLiteral 1024 NOLIST + ] + ] + ] + ] + hModdecl u_bbuf [ + hTypeinfo NONAME [ + hType fifo_cc_sc_module_15 NOLIST + ] + ] + ] + hProcesses NONAME [ + hProcess mc_proc [ + hMethod mc_proc [ + hVardecl bbufi_mc_proc_local_2 [ + hTypeinfo NONAME [ + hType sc_bv [ + hLiteral 1024 NOLIST + ] + ] + ] + hVardecl bbufo_mc_proc_local_3 [ + hTypeinfo NONAME [ + hType sc_bv [ + hLiteral 1024 NOLIST + ] + ] + ] + hVardecl i_mc_proc_local_4 [ + hTypeinfo NONAME [ + hType int NOLIST + ] + ] + hVardecl i_mc_proc_local_5 [ + hTypeinfo NONAME [ + hType int NOLIST + ] + ] + hCStmt NONAME [ + hForStmt NONAME [ + hVarAssign NONAME [ + hVarref i_mc_proc_local_4 NOLIST + hLiteral 0 NOLIST + ] + hBinop < [ + hVarref i_mc_proc_local_4 NOLIST + hLiteral 16 NOLIST + ] + hPostfix ++ [ + hVarref i_mc_proc_local_4 NOLIST + ] + hBinop = [ + hBinop SLICE [ + hVarref bbufi_mc_proc_local_2 NOLIST + hBinop - [ + hBinop * [ + hBinop + [ + hVarref i_mc_proc_local_4 NOLIST + hLiteral 1 NOLIST + ] + hLiteral 64 NOLIST + ] + hLiteral 1 NOLIST + ] + hBinop * [ + hVarref i_mc_proc_local_4 NOLIST + hLiteral 64 NOLIST ] - hSigAssignL write [ - hBinop ARRAYSUBSCRIPT [ - hVarref y_scclang_global_3 NOLIST - hLiteral 5 NOLIST - ] - hBinop - [ - hSigAssignR read [ - hBinop ARRAYSUBSCRIPT [ - hVarref y_scclang_global_3 NOLIST - hLiteral 4 NOLIST - ] - ] - hBinop >> [ - hSigAssignR read [ - hBinop ARRAYSUBSCRIPT [ - hVarref w_scclang_global_1 NOLIST - hLiteral 4 NOLIST - ] - ] + ] + hBinop ARRAYSUBSCRIPT [ + hVarref s_block NOLIST + hVarref i_mc_proc_local_4 NOLIST + ] + ] + ] + hBinop = [ + hVarref c_bi_scclang_global_0 NOLIST + hVarref bbufi_mc_proc_local_2 NOLIST + ] + hBinop = [ + hVarref bbufo_mc_proc_local_3 NOLIST + hVarref c_bo_scclang_global_1 NOLIST + ] + hForStmt NONAME [ + hVarAssign NONAME [ + hVarref i_mc_proc_local_5 NOLIST + hLiteral 0 NOLIST + ] + hBinop < [ + hVarref i_mc_proc_local_5 NOLIST + hLiteral 16 NOLIST + ] + hPostfix ++ [ + hVarref i_mc_proc_local_5 NOLIST + ] + hSigAssignL write [ + hBinop ARRAYSUBSCRIPT [ + hVarref m_block NOLIST + hVarref i_mc_proc_local_5 NOLIST + ] + hBinop SLICE [ + hVarref bbufo_mc_proc_local_3 NOLIST + hBinop - [ + hBinop * [ + hBinop + [ + hVarref i_mc_proc_local_5 NOLIST hLiteral 1 NOLIST ] + hLiteral 64 NOLIST ] + hLiteral 1 NOLIST ] - hSigAssignL write [ - hBinop ARRAYSUBSCRIPT [ - hVarref z_scclang_global_4 NOLIST - hLiteral 5 NOLIST - ] - hSigAssignR read [ - hBinop ARRAYSUBSCRIPT [ - hVarref z_scclang_global_4 NOLIST - hLiteral 4 NOLIST - ] - ] - ] - hSigAssignL write [ - hBinop ARRAYSUBSCRIPT [ - hVarref w_scclang_global_1 NOLIST - hLiteral 5 NOLIST - ] - hSigAssignR read [ - hBinop ARRAYSUBSCRIPT [ - hVarref w_scclang_global_1 NOLIST - hLiteral 4 NOLIST - ] - ] - ] - hSigAssignL write [ - hVarref v_scclang_global_0 NOLIST - hBinop | [ - hBinop << [ - hSigAssignR read [ - hVarref v_scclang_global_0 NOLIST - ] - hLiteral 1 NOLIST - ] - hSigAssignR read [ - hVarref s_valid NOLIST - ] - ] + hBinop * [ + hVarref i_mc_proc_local_5 NOLIST + hLiteral 64 NOLIST ] ] ] @@ -5455,66 +5128,76 @@ ] ] ] - hModinitblock u_xt [ - hSenslist mc_proc [ - hSensvar NONAME [ + hModinitblock u_block_buffer [ + hVardeclrn i_u_block_buffer_local_1 [ + hTypeinfo NONAME [ + hType int NOLIST + ] + hLiteral i NOLIST + ] + hCStmt NONAME [ + hPortbinding u_bbuf [ + hVarref clk NOLIST + hVarref clk NOLIST + ] + hPortbinding u_bbuf [ + hVarref reset NOLIST + hVarref reset NOLIST + ] + hPortbinding u_bbuf [ + hVarref din NOLIST + hVarref c_bi_scclang_global_0 NOLIST + ] + hPortbinding u_bbuf [ + hVarref wr_en NOLIST + hVarref s_valid NOLIST + ] + hPortbinding u_bbuf [ + hVarref full NOLIST + hVarref s_ready NOLIST + ] + hPortbinding u_bbuf [ + hVarref dout NOLIST + hVarref c_bo_scclang_global_1 NOLIST + ] + hPortbinding u_bbuf [ + hVarref rd_en NOLIST hVarref m_ready NOLIST - hNoop always NOLIST ] - hSensvar NONAME [ - hBinop ARRAYSUBSCRIPT [ - hVarref x_scclang_global_2 NOLIST - hBinop - [ - hLiteral 6 NOLIST - hLiteral 1 NOLIST - ] - ] - hNoop always NOLIST + hPortbinding u_bbuf [ + hVarref empty NOLIST + hVarref m_valid NOLIST ] - hSensvar NONAME [ - hBinop ARRAYSUBSCRIPT [ - hVarref y_scclang_global_3 NOLIST - hBinop - [ - hLiteral 6 NOLIST - hLiteral 1 NOLIST - ] + hForStmt NONAME [ + hVarAssign NONAME [ + hVarref i_u_block_buffer_local_1 NOLIST + hLiteral 0 NOLIST ] - hNoop always NOLIST - ] - hSensvar NONAME [ - hBinop ARRAYSUBSCRIPT [ - hVarref z_scclang_global_4 NOLIST - hBinop - [ - hLiteral 6 NOLIST - hLiteral 1 NOLIST - ] + hBinop < [ + hVarref i_u_block_buffer_local_1 NOLIST + hLiteral 16 NOLIST ] - hNoop always NOLIST - ] - hSensvar NONAME [ - hBinop ARRAYSUBSCRIPT [ - hVarref w_scclang_global_1 NOLIST - hBinop - [ - hLiteral 6 NOLIST - hLiteral 1 NOLIST + hPostfix ++ [ + hVarref i_u_block_buffer_local_1 NOLIST + ] + hSensvar mc_proc [ + hBinop ARRAYSUBSCRIPT [ + hVarref s_block NOLIST + hVarref i_u_block_buffer_local_1 NOLIST ] + hNoop always NOLIST ] - hNoop always NOLIST - ] - hSensvar NONAME [ - hVarref v_scclang_global_0 NOLIST - hNoop always NOLIST ] ] - hSenslist ms_proc [ + hSenslist mc_proc [ hSensvar NONAME [ - hVarref clk NOLIST - hBuiltinFunction pos NOLIST + hVarref c_bo_scclang_global_1 NOLIST + hNoop always NOLIST ] ] ] ] - hModule fwd_lift_sc_module_17 [ + hModule fifo_cc_sc_module_15 [ hPortsigvarlist NONAME [ hPortin clk [ hTypeinfo NONAME [ @@ -5530,691 +5213,366 @@ ] ] ] - hPortin s_port [ + hPortin din [ hTypeinfo NONAME [ - hType array##4 [ - hType sc_in [ - hType sc_int [ - hLiteral 64 NOLIST - ] + hType sc_in [ + hType sc_bv [ + hLiteral 1024 NOLIST ] ] ] ] - hPortin s_valid [ + hPortin wr_en [ hTypeinfo NONAME [ hType sc_in [ hType _Bool NOLIST ] ] ] - hPortin m_ready [ + hPortin rd_en [ hTypeinfo NONAME [ hType sc_in [ hType _Bool NOLIST ] ] ] - hPortout s_ready [ + hPortout full [ hTypeinfo NONAME [ hType sc_out [ hType _Bool NOLIST ] ] ] - hPortout m_port [ - hTypeinfo NONAME [ - hType array##4 [ - hType sc_out [ - hType sc_int [ - hLiteral 64 NOLIST - ] - ] - ] - ] - ] - hPortout m_valid [ + hPortout dout [ hTypeinfo NONAME [ hType sc_out [ - hType _Bool NOLIST - ] - ] - ] - hSigdecl v_scclang_global_0 [ - hTypeinfo NONAME [ - hType sc_signal [ hType sc_bv [ - hLiteral 6 NOLIST - ] - ] - ] - ] - hSigdecl w_scclang_global_1 [ - hTypeinfo NONAME [ - hType array##6 [ - hType sc_signal [ - hType sc_int [ - hLiteral 64 NOLIST - ] + hLiteral 1024 NOLIST ] ] ] ] - hSigdecl x_scclang_global_2 [ + hPortout empty [ hTypeinfo NONAME [ - hType array##6 [ - hType sc_signal [ - hType sc_int [ - hLiteral 64 NOLIST - ] - ] + hType sc_out [ + hType _Bool NOLIST ] ] ] - hSigdecl y_scclang_global_3 [ + hSigdecl data_scclang_global_0 [ hTypeinfo NONAME [ - hType array##6 [ + hType array##2 [ hType sc_signal [ - hType sc_int [ - hLiteral 64 NOLIST + hType sc_bv [ + hLiteral 1024 NOLIST ] ] ] ] ] - hSigdecl z_scclang_global_4 [ + hSigdecl empty_i_scclang_global_1 [ hTypeinfo NONAME [ - hType array##6 [ - hType sc_signal [ - hType sc_int [ - hLiteral 64 NOLIST - ] - ] + hType sc_signal [ + hType _Bool NOLIST ] ] ] - hVardecl stages_scclang_global_5 [ + hSigdecl full_i_scclang_global_2 [ hTypeinfo NONAME [ - hType int NOLIST - ] - hVarInit NONAME [ - hLiteral 6 NOLIST - ] - ] - ] - hProcesses NONAME [ - hProcess mc_proc [ - hMethod mc_proc [ - hCStmt NONAME [ - hSigAssignL write [ - hVarref s_ready NOLIST - hSigAssignR read [ - hVarref m_ready NOLIST - ] - ] - hSigAssignL write [ - hBinop ARRAYSUBSCRIPT [ - hVarref m_port NOLIST - hLiteral 0 NOLIST - ] - hBinop ARRAYSUBSCRIPT [ - hVarref x_scclang_global_2 NOLIST - hBinop - [ - hLiteral 6 NOLIST - hLiteral 1 NOLIST - ] - ] - ] - hSigAssignL write [ - hBinop ARRAYSUBSCRIPT [ - hVarref m_port NOLIST - hLiteral 1 NOLIST - ] - hBinop ARRAYSUBSCRIPT [ - hVarref y_scclang_global_3 NOLIST - hBinop - [ - hLiteral 6 NOLIST - hLiteral 1 NOLIST - ] - ] - ] - hSigAssignL write [ - hBinop ARRAYSUBSCRIPT [ - hVarref m_port NOLIST - hLiteral 2 NOLIST - ] - hBinop ARRAYSUBSCRIPT [ - hVarref z_scclang_global_4 NOLIST - hBinop - [ - hLiteral 6 NOLIST - hLiteral 1 NOLIST - ] - ] - ] - hSigAssignL write [ - hBinop ARRAYSUBSCRIPT [ - hVarref m_port NOLIST - hLiteral 3 NOLIST - ] - hBinop ARRAYSUBSCRIPT [ - hVarref w_scclang_global_1 NOLIST - hBinop - [ - hLiteral 6 NOLIST - hLiteral 1 NOLIST - ] - ] - ] - hSigAssignL write [ - hVarref m_valid NOLIST - hBuiltinFunction to_bool [ - hBinop ARRAYSUBSCRIPT [ - hSigAssignR read [ - hVarref v_scclang_global_0 NOLIST - ] - hBinop - [ - hLiteral 6 NOLIST - hLiteral 1 NOLIST - ] - ] - ] - ] - ] - ] - ] - hProcess ms_proc [ - hMethod ms_proc [ - hVardecl i_ms_proc_local_2 [ - hTypeinfo NONAME [ - hType int NOLIST - ] - ] - hCStmt NONAME [ - hIfStmt NONAME [ - hBinop == [ - hVarref reset NOLIST - hLiteral 0 NOLIST - ] - hCStmt NONAME [ - hForStmt NONAME [ - hVarAssign NONAME [ - hVarref i_ms_proc_local_2 NOLIST - hLiteral 0 NOLIST - ] - hBinop < [ - hVarref i_ms_proc_local_2 NOLIST - hLiteral 6 NOLIST - ] - hPostfix ++ [ - hVarref i_ms_proc_local_2 NOLIST - ] - hCStmt NONAME [ - hSigAssignL write [ - hBinop ARRAYSUBSCRIPT [ - hVarref x_scclang_global_2 NOLIST - hVarref i_ms_proc_local_2 NOLIST - ] - hLiteral 0 [ - hTypeinfo NONAME [ - hType sc_int [ - hLiteral 64 NOLIST - ] - ] - ] - ] - hSigAssignL write [ - hBinop ARRAYSUBSCRIPT [ - hVarref y_scclang_global_3 NOLIST - hVarref i_ms_proc_local_2 NOLIST - ] - hLiteral 0 [ - hTypeinfo NONAME [ - hType sc_int [ - hLiteral 64 NOLIST - ] - ] - ] - ] - hSigAssignL write [ - hBinop ARRAYSUBSCRIPT [ - hVarref z_scclang_global_4 NOLIST - hVarref i_ms_proc_local_2 NOLIST - ] - hLiteral 0 [ - hTypeinfo NONAME [ - hType sc_int [ - hLiteral 64 NOLIST - ] - ] - ] - ] - hSigAssignL write [ - hBinop ARRAYSUBSCRIPT [ - hVarref w_scclang_global_1 NOLIST - hVarref i_ms_proc_local_2 NOLIST - ] - hLiteral 0 [ - hTypeinfo NONAME [ - hType sc_int [ - hLiteral 64 NOLIST - ] - ] - ] + hType sc_signal [ + hType _Bool NOLIST + ] + ] + ] + hSigdecl rd_en_i_scclang_global_3 [ + hTypeinfo NONAME [ + hType sc_signal [ + hType _Bool NOLIST + ] + ] + ] + hSigdecl rd_idx_scclang_global_4 [ + hTypeinfo NONAME [ + hType sc_signal [ + hType sc_uint [ + hLiteral 1 NOLIST + ] + ] + ] + ] + hSigdecl wr_en_i_scclang_global_5 [ + hTypeinfo NONAME [ + hType sc_signal [ + hType _Bool NOLIST + ] + ] + ] + hSigdecl wr_idx_scclang_global_6 [ + hTypeinfo NONAME [ + hType sc_signal [ + hType sc_uint [ + hLiteral 1 NOLIST + ] + ] + ] + ] + hVardecl MAX_DEPTH_scclang_global_7 [ + hTypeinfo NONAME [ + hType int NOLIST + ] + hVarInit NONAME [ + hLiteral 2 NOLIST + ] + ] + ] + hProcesses NONAME [ + hProcess mc_proc [ + hMethod mc_proc [ + hCStmt NONAME [ + hIfStmt NONAME [ + hLiteral 1 NOLIST + hCStmt NONAME [ + hBinop = [ + hVarref dout NOLIST + hBinop ARRAYSUBSCRIPT [ + hVarref data_scclang_global_0 NOLIST + hSigAssignR read [ + hVarref rd_idx_scclang_global_4 NOLIST ] ] ] - hSigAssignL write [ - hVarref v_scclang_global_0 NOLIST - hLiteral 0 [ - hTypeinfo NONAME [ - hType sc_bv [ - hLiteral 6 NOLIST - ] - ] - ] + ] + ] + hBinop = [ + hVarref wr_en_i_scclang_global_5 NOLIST + hBinop && [ + hVarref wr_en NOLIST + hUnop ! [ + hVarref full_i_scclang_global_2 NOLIST ] ] - hIfStmt NONAME [ - hSigAssignR read [ - hVarref m_ready NOLIST + ] + hBinop = [ + hVarref rd_en_i_scclang_global_3 NOLIST + hBinop && [ + hVarref rd_en NOLIST + hUnop ! [ + hVarref empty_i_scclang_global_1 NOLIST ] - hCStmt NONAME [ - hSigAssignL write [ - hBinop ARRAYSUBSCRIPT [ - hVarref x_scclang_global_2 NOLIST - hLiteral 0 NOLIST - ] - hBinop >> [ - hBinop + [ - hSigAssignR read [ - hBinop ARRAYSUBSCRIPT [ - hVarref s_port NOLIST - hLiteral 0 NOLIST - ] - ] - hSigAssignR read [ - hBinop ARRAYSUBSCRIPT [ - hVarref s_port NOLIST - hLiteral 3 NOLIST - ] - ] - ] - hLiteral 1 NOLIST - ] - ] - hSigAssignL write [ - hBinop ARRAYSUBSCRIPT [ - hVarref y_scclang_global_3 NOLIST - hLiteral 0 NOLIST - ] - hSigAssignR read [ - hBinop ARRAYSUBSCRIPT [ - hVarref s_port NOLIST - hLiteral 1 NOLIST - ] - ] - ] - hSigAssignL write [ - hBinop ARRAYSUBSCRIPT [ - hVarref z_scclang_global_4 NOLIST - hLiteral 0 NOLIST - ] - hBinop >> [ - hBinop + [ - hSigAssignR read [ - hBinop ARRAYSUBSCRIPT [ - hVarref s_port NOLIST - hLiteral 2 NOLIST - ] - ] - hSigAssignR read [ - hBinop ARRAYSUBSCRIPT [ - hVarref s_port NOLIST - hLiteral 1 NOLIST - ] - ] - ] - hLiteral 1 NOLIST - ] - ] - hSigAssignL write [ - hBinop ARRAYSUBSCRIPT [ - hVarref w_scclang_global_1 NOLIST - hLiteral 0 NOLIST - ] - hSigAssignR read [ - hBinop ARRAYSUBSCRIPT [ - hVarref s_port NOLIST - hLiteral 3 NOLIST - ] - ] - ] - hSigAssignL write [ - hBinop ARRAYSUBSCRIPT [ - hVarref x_scclang_global_2 NOLIST - hLiteral 1 NOLIST - ] - hBinop >> [ - hBinop + [ - hSigAssignR read [ - hBinop ARRAYSUBSCRIPT [ - hVarref x_scclang_global_2 NOLIST - hLiteral 0 NOLIST - ] - ] - hSigAssignR read [ - hBinop ARRAYSUBSCRIPT [ - hVarref z_scclang_global_4 NOLIST - hLiteral 0 NOLIST - ] - ] - ] - hLiteral 1 NOLIST - ] - ] - hSigAssignL write [ - hBinop ARRAYSUBSCRIPT [ - hVarref y_scclang_global_3 NOLIST - hLiteral 1 NOLIST - ] - hBinop - [ - hSigAssignR read [ - hBinop ARRAYSUBSCRIPT [ - hVarref y_scclang_global_3 NOLIST - hLiteral 0 NOLIST - ] - ] - hSigAssignR read [ - hBinop ARRAYSUBSCRIPT [ - hVarref z_scclang_global_4 NOLIST - hLiteral 0 NOLIST - ] - ] - ] - ] - hSigAssignL write [ - hBinop ARRAYSUBSCRIPT [ - hVarref z_scclang_global_4 NOLIST - hLiteral 1 NOLIST - ] - hSigAssignR read [ - hBinop ARRAYSUBSCRIPT [ - hVarref z_scclang_global_4 NOLIST - hLiteral 0 NOLIST - ] - ] - ] - hSigAssignL write [ - hBinop ARRAYSUBSCRIPT [ - hVarref w_scclang_global_1 NOLIST - hLiteral 1 NOLIST - ] - hBinop - [ - hSigAssignR read [ - hBinop ARRAYSUBSCRIPT [ - hVarref w_scclang_global_1 NOLIST - hLiteral 0 NOLIST - ] - ] - hSigAssignR read [ - hBinop ARRAYSUBSCRIPT [ - hVarref x_scclang_global_2 NOLIST - hLiteral 0 NOLIST - ] - ] - ] - ] - hSigAssignL write [ - hBinop ARRAYSUBSCRIPT [ - hVarref x_scclang_global_2 NOLIST - hLiteral 2 NOLIST - ] - hSigAssignR read [ - hBinop ARRAYSUBSCRIPT [ - hVarref x_scclang_global_2 NOLIST - hLiteral 1 NOLIST - ] - ] + ] + ] + hBinop = [ + hVarref full NOLIST + hBinop == [ + hVarref full_i_scclang_global_2 NOLIST + hLiteral 0 NOLIST + ] + ] + hBinop = [ + hVarref empty NOLIST + hBinop == [ + hVarref empty_i_scclang_global_1 NOLIST + hLiteral 0 NOLIST + ] + ] + ] + ] + ] + hProcess ms_proc [ + hMethod ms_proc [ + hVardecl wr_inc_ms_proc_local_3 [ + hTypeinfo NONAME [ + hType sc_uint [ + hLiteral 1 NOLIST + ] + ] + ] + hVardecl rd_inc_ms_proc_local_4 [ + hTypeinfo NONAME [ + hType sc_uint [ + hLiteral 1 NOLIST + ] + ] + ] + hVardecl i_ms_proc_local_5 [ + hTypeinfo NONAME [ + hType unsigned_int NOLIST + ] + ] + hCStmt NONAME [ + hBinop = [ + hVarref wr_inc_ms_proc_local_3 NOLIST + hBinop % [ + hBinop + [ + hSigAssignR read [ + hVarref wr_idx_scclang_global_6 NOLIST ] - hSigAssignL write [ - hBinop ARRAYSUBSCRIPT [ - hVarref y_scclang_global_3 NOLIST - hLiteral 2 NOLIST - ] - hSigAssignR read [ - hBinop ARRAYSUBSCRIPT [ - hVarref y_scclang_global_3 NOLIST - hLiteral 1 NOLIST - ] - ] + hLiteral 1 NOLIST + ] + hLiteral 2 NOLIST + ] + ] + hBinop = [ + hVarref rd_inc_ms_proc_local_4 NOLIST + hBinop % [ + hBinop + [ + hSigAssignR read [ + hVarref rd_idx_scclang_global_4 NOLIST ] - hSigAssignL write [ - hBinop ARRAYSUBSCRIPT [ - hVarref z_scclang_global_4 NOLIST - hLiteral 2 NOLIST - ] - hBinop - [ - hSigAssignR read [ - hBinop ARRAYSUBSCRIPT [ - hVarref z_scclang_global_4 NOLIST - hLiteral 1 NOLIST - ] - ] - hSigAssignR read [ - hBinop ARRAYSUBSCRIPT [ - hVarref x_scclang_global_2 NOLIST - hLiteral 1 NOLIST - ] - ] - ] + hLiteral 1 NOLIST + ] + hLiteral 2 NOLIST + ] + ] + hIfStmt NONAME [ + hBinop == [ + hVarref reset NOLIST + hLiteral 0 NOLIST + ] + hCStmt NONAME [ + hIfStmt NONAME [ + hUnop ! [ + hLiteral 1 NOLIST ] - hSigAssignL write [ - hBinop ARRAYSUBSCRIPT [ - hVarref w_scclang_global_1 NOLIST - hLiteral 2 NOLIST - ] - hBinop >> [ - hBinop + [ - hSigAssignR read [ - hBinop ARRAYSUBSCRIPT [ - hVarref w_scclang_global_1 NOLIST - hLiteral 1 NOLIST - ] - ] - hSigAssignR read [ - hBinop ARRAYSUBSCRIPT [ - hVarref y_scclang_global_3 NOLIST - hLiteral 1 NOLIST - ] - ] - ] - hLiteral 1 NOLIST - ] + hBinop = [ + hVarref dout NOLIST + hLiteral 0 NOLIST ] - hSigAssignL write [ - hBinop ARRAYSUBSCRIPT [ - hVarref x_scclang_global_2 NOLIST - hLiteral 3 NOLIST - ] - hSigAssignR read [ - hBinop ARRAYSUBSCRIPT [ - hVarref x_scclang_global_2 NOLIST - hLiteral 2 NOLIST - ] - ] + ] + hForStmt NONAME [ + hVarAssign NONAME [ + hVarref i_ms_proc_local_5 NOLIST + hLiteral 0 NOLIST ] - hSigAssignL write [ - hBinop ARRAYSUBSCRIPT [ - hVarref y_scclang_global_3 NOLIST - hLiteral 3 NOLIST - ] - hBinop - [ - hSigAssignR read [ - hBinop ARRAYSUBSCRIPT [ - hVarref y_scclang_global_3 NOLIST - hLiteral 2 NOLIST - ] - ] - hSigAssignR read [ - hBinop ARRAYSUBSCRIPT [ - hVarref w_scclang_global_1 NOLIST - hLiteral 2 NOLIST - ] - ] - ] + hBinop < [ + hVarref i_ms_proc_local_5 NOLIST + hLiteral 2 NOLIST ] - hSigAssignL write [ - hBinop ARRAYSUBSCRIPT [ - hVarref z_scclang_global_4 NOLIST - hLiteral 3 NOLIST - ] - hSigAssignR read [ - hBinop ARRAYSUBSCRIPT [ - hVarref z_scclang_global_4 NOLIST - hLiteral 2 NOLIST - ] - ] + hPostfix ++ [ + hVarref i_ms_proc_local_5 NOLIST ] - hSigAssignL write [ + hBinop = [ hBinop ARRAYSUBSCRIPT [ - hVarref w_scclang_global_1 NOLIST - hLiteral 3 NOLIST - ] - hSigAssignR read [ - hBinop ARRAYSUBSCRIPT [ - hVarref w_scclang_global_1 NOLIST - hLiteral 2 NOLIST - ] + hVarref data_scclang_global_0 NOLIST + hVarref i_ms_proc_local_5 NOLIST ] + hLiteral 0 NOLIST ] - hSigAssignL write [ - hBinop ARRAYSUBSCRIPT [ - hVarref x_scclang_global_2 NOLIST - hLiteral 4 NOLIST - ] - hSigAssignR read [ - hBinop ARRAYSUBSCRIPT [ - hVarref x_scclang_global_2 NOLIST - hLiteral 3 NOLIST + ] + hBinop = [ + hVarref rd_idx_scclang_global_4 NOLIST + hLiteral 0 [ + hTypeinfo NONAME [ + hType sc_uint [ + hLiteral 1 NOLIST ] ] ] - hSigAssignL write [ - hBinop ARRAYSUBSCRIPT [ - hVarref y_scclang_global_3 NOLIST - hLiteral 4 NOLIST - ] - hSigAssignR read [ - hBinop ARRAYSUBSCRIPT [ - hVarref y_scclang_global_3 NOLIST - hLiteral 3 NOLIST + ] + hBinop = [ + hVarref wr_idx_scclang_global_6 NOLIST + hLiteral 0 [ + hTypeinfo NONAME [ + hType sc_uint [ + hLiteral 1 NOLIST ] ] ] - hSigAssignL write [ - hBinop ARRAYSUBSCRIPT [ - hVarref z_scclang_global_4 NOLIST - hLiteral 4 NOLIST - ] - hSigAssignR read [ - hBinop ARRAYSUBSCRIPT [ - hVarref z_scclang_global_4 NOLIST - hLiteral 3 NOLIST - ] - ] + ] + hBinop = [ + hVarref full_i_scclang_global_2 NOLIST + hLiteral 0 NOLIST + ] + hBinop = [ + hVarref empty_i_scclang_global_1 NOLIST + hLiteral 1 NOLIST + ] + ] + hCStmt NONAME [ + hIfStmt NONAME [ + hUnop ! [ + hLiteral 1 NOLIST ] - hSigAssignL write [ - hBinop ARRAYSUBSCRIPT [ - hVarref w_scclang_global_1 NOLIST - hLiteral 4 NOLIST - ] - hBinop + [ - hSigAssignR read [ + hCStmt NONAME [ + hIfStmt NONAME [ + hVarref rd_en_i_scclang_global_3 NOLIST + hBinop = [ + hVarref dout NOLIST hBinop ARRAYSUBSCRIPT [ - hVarref w_scclang_global_1 NOLIST - hLiteral 3 NOLIST - ] - ] - hBinop >> [ - hSigAssignR read [ - hBinop ARRAYSUBSCRIPT [ - hVarref y_scclang_global_3 NOLIST - hLiteral 3 NOLIST + hVarref data_scclang_global_0 NOLIST + hSigAssignR read [ + hVarref rd_idx_scclang_global_4 NOLIST ] ] - hLiteral 1 NOLIST ] ] ] - hSigAssignL write [ - hBinop ARRAYSUBSCRIPT [ - hVarref x_scclang_global_2 NOLIST - hLiteral 5 NOLIST - ] - hSigAssignR read [ + ] + hIfStmt NONAME [ + hVarref wr_en_i_scclang_global_5 NOLIST + hCStmt NONAME [ + hBinop = [ hBinop ARRAYSUBSCRIPT [ - hVarref x_scclang_global_2 NOLIST - hLiteral 4 NOLIST + hVarref data_scclang_global_0 NOLIST + hSigAssignR read [ + hVarref wr_idx_scclang_global_6 NOLIST + ] ] + hVarref din NOLIST ] - ] - hSigAssignL write [ - hBinop ARRAYSUBSCRIPT [ - hVarref y_scclang_global_3 NOLIST - hLiteral 5 NOLIST + hBinop = [ + hVarref wr_idx_scclang_global_6 NOLIST + hVarref wr_inc_ms_proc_local_3 NOLIST ] - hBinop - [ - hSigAssignR read [ - hBinop ARRAYSUBSCRIPT [ - hVarref y_scclang_global_3 NOLIST - hLiteral 4 NOLIST - ] + hIfStmt NONAME [ + hUnop ! [ + hVarref rd_en_i_scclang_global_3 NOLIST ] - hBinop >> [ - hSigAssignR read [ - hBinop ARRAYSUBSCRIPT [ - hVarref w_scclang_global_1 NOLIST - hLiteral 4 NOLIST + hCStmt NONAME [ + hIfStmt NONAME [ + hBinop == [ + hVarref wr_inc_ms_proc_local_3 NOLIST + hVarref rd_idx_scclang_global_4 NOLIST + ] + hBinop = [ + hVarref full_i_scclang_global_2 NOLIST + hLiteral 1 NOLIST ] ] - hLiteral 1 NOLIST - ] - ] - ] - hSigAssignL write [ - hBinop ARRAYSUBSCRIPT [ - hVarref z_scclang_global_4 NOLIST - hLiteral 5 NOLIST - ] - hSigAssignR read [ - hBinop ARRAYSUBSCRIPT [ - hVarref z_scclang_global_4 NOLIST - hLiteral 4 NOLIST + hBinop = [ + hVarref empty_i_scclang_global_1 NOLIST + hLiteral 0 NOLIST + ] ] ] ] - hSigAssignL write [ - hBinop ARRAYSUBSCRIPT [ - hVarref w_scclang_global_1 NOLIST - hLiteral 5 NOLIST + ] + hIfStmt NONAME [ + hVarref rd_en_i_scclang_global_3 NOLIST + hCStmt NONAME [ + hBinop = [ + hVarref rd_idx_scclang_global_4 NOLIST + hVarref rd_inc_ms_proc_local_4 NOLIST ] - hSigAssignR read [ - hBinop ARRAYSUBSCRIPT [ - hVarref w_scclang_global_1 NOLIST - hLiteral 4 NOLIST + hIfStmt NONAME [ + hUnop ! [ + hVarref wr_en_i_scclang_global_5 NOLIST ] - ] - ] - hSigAssignL write [ - hVarref v_scclang_global_0 NOLIST - hBinop | [ - hBinop << [ - hSigAssignR read [ - hVarref v_scclang_global_0 NOLIST + hCStmt NONAME [ + hBinop = [ + hVarref full_i_scclang_global_2 NOLIST + hLiteral 0 NOLIST + ] + hIfStmt NONAME [ + hBinop == [ + hVarref rd_inc_ms_proc_local_4 NOLIST + hVarref wr_idx_scclang_global_6 NOLIST + ] + hBinop = [ + hVarref empty_i_scclang_global_1 NOLIST + hLiteral 1 NOLIST + ] ] - hLiteral 1 NOLIST - ] - hSigAssignR read [ - hVarref s_valid NOLIST ] ] ] @@ -6225,54 +5583,60 @@ ] ] ] - hModinitblock u_yt [ - hSenslist mc_proc [ - hSensvar NONAME [ - hVarref m_ready NOLIST - hNoop always NOLIST + hModinitblock u_bbuf [ + hVardeclrn i_u_bbuf_local_1 [ + hTypeinfo NONAME [ + hType int NOLIST ] - hSensvar NONAME [ - hBinop ARRAYSUBSCRIPT [ - hVarref x_scclang_global_2 NOLIST - hBinop - [ - hLiteral 6 NOLIST - hLiteral 1 NOLIST + hLiteral i NOLIST + ] + hCStmt NONAME [ + hIfStmt NONAME [ + hBinop <= [ + hLiteral 2 NOLIST + hLiteral 0 NOLIST + ] + ] + hForStmt NONAME [ + hVarAssign NONAME [ + hVarref i_u_bbuf_local_1 NOLIST + hLiteral 0 NOLIST + ] + hBinop < [ + hVarref i_u_bbuf_local_1 NOLIST + hLiteral 2 NOLIST + ] + hPostfix ++ [ + hVarref i_u_bbuf_local_1 NOLIST + ] + hSensvar mc_proc [ + hBinop ARRAYSUBSCRIPT [ + hVarref data_scclang_global_0 NOLIST + hVarref i_u_bbuf_local_1 NOLIST ] + hNoop always NOLIST ] + ] + ] + hSenslist mc_proc [ + hSensvar NONAME [ + hVarref wr_en NOLIST hNoop always NOLIST ] hSensvar NONAME [ - hBinop ARRAYSUBSCRIPT [ - hVarref y_scclang_global_3 NOLIST - hBinop - [ - hLiteral 6 NOLIST - hLiteral 1 NOLIST - ] - ] + hVarref rd_en NOLIST hNoop always NOLIST ] hSensvar NONAME [ - hBinop ARRAYSUBSCRIPT [ - hVarref z_scclang_global_4 NOLIST - hBinop - [ - hLiteral 6 NOLIST - hLiteral 1 NOLIST - ] - ] + hVarref full_i_scclang_global_2 NOLIST hNoop always NOLIST ] hSensvar NONAME [ - hBinop ARRAYSUBSCRIPT [ - hVarref w_scclang_global_1 NOLIST - hBinop - [ - hLiteral 6 NOLIST - hLiteral 1 NOLIST - ] - ] + hVarref empty_i_scclang_global_1 NOLIST hNoop always NOLIST ] hSensvar NONAME [ - hVarref v_scclang_global_0 NOLIST + hVarref rd_idx_scclang_global_4 NOLIST hNoop always NOLIST ] ] @@ -6284,654 +5648,1413 @@ ] ] ] - hModule block_buffer_sc_module_6 [ + hModule encode_ints_sc_module_6 [ hPortsigvarlist NONAME [ hPortin clk [ hTypeinfo NONAME [ - hType sc_in [ + hType sc_in [ + hType _Bool NOLIST + ] + ] + ] + hPortin reset [ + hTypeinfo NONAME [ + hType sc_in [ + hType _Bool NOLIST + ] + ] + ] + hPortin s_block [ + hTypeinfo NONAME [ + hType array##16 [ + hType sc_in [ + hType sc_uint [ + hLiteral 64 NOLIST + ] + ] + ] + ] + ] + hPortin s_valid [ + hTypeinfo NONAME [ + hType sc_in [ + hType _Bool NOLIST + ] + ] + ] + hPortin s_flush [ + hTypeinfo NONAME [ + hType sc_in [ + hType _Bool NOLIST + ] + ] + ] + hPortin m_ready [ + hTypeinfo NONAME [ + hType sc_in [ + hType _Bool NOLIST + ] + ] + ] + hPortout s_ready [ + hTypeinfo NONAME [ + hType sc_out [ + hType _Bool NOLIST + ] + ] + ] + hPortout m_bc [ + hTypeinfo NONAME [ + hType sc_out [ + hType sc_uint [ + hLiteral 6 NOLIST + ] + ] + ] + ] + hPortout m_bp [ + hTypeinfo NONAME [ + hType sc_out [ + hType sc_bv [ + hLiteral 33 NOLIST + ] + ] + ] + ] + hPortout m_last [ + hTypeinfo NONAME [ + hType sc_out [ hType _Bool NOLIST ] ] ] - hPortin reset [ + hPortout m_valid [ hTypeinfo NONAME [ - hType sc_in [ + hType sc_out [ hType _Bool NOLIST ] ] ] - hPortin s_block [ + hSigdecl bc1_scclang_global_0 [ hTypeinfo NONAME [ - hType array##16 [ - hType sc_in [ - hType sc_uint [ - hLiteral 64 NOLIST - ] + hType sc_signal [ + hType sc_uint [ + hLiteral 5 NOLIST ] ] ] ] - hPortin s_valid [ + hSigdecl bp1_scclang_global_1 [ hTypeinfo NONAME [ - hType sc_in [ - hType _Bool NOLIST + hType sc_signal [ + hType sc_bv [ + hLiteral 16 NOLIST + ] ] ] ] - hPortin m_ready [ + hSigdecl c_bplane_scclang_global_2 [ hTypeinfo NONAME [ - hType sc_in [ - hType _Bool NOLIST + hType array##64 [ + hType sc_signal [ + hType sc_bv [ + hLiteral 16 NOLIST + ] + ] ] ] ] - hPortout s_ready [ + hSigdecl flush1_scclang_global_3 [ hTypeinfo NONAME [ - hType sc_out [ + hType sc_signal [ hType _Bool NOLIST ] ] ] - hPortout m_block [ + hSigdecl k0_scclang_global_4 [ hTypeinfo NONAME [ - hType array##16 [ - hType sc_out [ - hType sc_uint [ - hLiteral 64 NOLIST - ] + hType sc_signal [ + hType sc_uint [ + hLiteral 6 NOLIST ] ] ] ] - hPortout m_valid [ + hSigdecl last1_scclang_global_5 [ hTypeinfo NONAME [ - hType sc_out [ + hType sc_signal [ hType _Bool NOLIST ] ] ] - hSigdecl c_bi_scclang_global_0 [ + hSigdecl n0_scclang_global_6 [ hTypeinfo NONAME [ hType sc_signal [ - hType sc_bv [ - hLiteral 1024 NOLIST + hType sc_uint [ + hLiteral 5 NOLIST ] ] ] ] - hSigdecl c_bo_scclang_global_1 [ + hSigdecl n1_scclang_global_7 [ hTypeinfo NONAME [ hType sc_signal [ - hType sc_bv [ - hLiteral 1024 NOLIST + hType sc_uint [ + hLiteral 5 NOLIST ] ] ] ] - hModdecl u_bbuf [ + hSigdecl valid1_scclang_global_8 [ hTypeinfo NONAME [ - hType fifo_cc_sc_module_18 NOLIST + hType sc_signal [ + hType _Bool NOLIST + ] + ] + ] + hVardecl planes_scclang_global_9 [ + hTypeinfo NONAME [ + hType int NOLIST + ] + hVarInit NONAME [ + hLiteral 64 NOLIST ] ] ] hProcesses NONAME [ hProcess mc_proc [ hMethod mc_proc [ - hVardecl bbufi_mc_proc_local_2 [ + hVardecl last_mc_proc_local_3 [ hTypeinfo NONAME [ - hType sc_bv [ - hLiteral 1024 NOLIST - ] + hType bool NOLIST ] ] - hVardecl bbufo_mc_proc_local_3 [ + hVardecl tmp_mc_proc_local_4 [ hTypeinfo NONAME [ hType sc_bv [ - hLiteral 1024 NOLIST + hLiteral 16 NOLIST ] ] ] - hVardecl i_mc_proc_local_4 [ + hVardecl j_mc_proc_local_5 [ hTypeinfo NONAME [ hType int NOLIST ] ] - hVardecl i_mc_proc_local_5 [ + hVardecl i_mc_proc_local_6 [ hTypeinfo NONAME [ hType int NOLIST ] ] hCStmt NONAME [ - hForStmt NONAME [ - hVarAssign NONAME [ - hVarref i_mc_proc_local_4 NOLIST - hLiteral 0 NOLIST - ] - hBinop < [ - hVarref i_mc_proc_local_4 NOLIST - hLiteral 16 NOLIST - ] - hPostfix ++ [ - hVarref i_mc_proc_local_4 NOLIST - ] - hBinop = [ - hBinop SLICE [ - hVarref bbufi_mc_proc_local_2 NOLIST - hBinop - [ - hBinop * [ - hBinop + [ - hVarref i_mc_proc_local_4 NOLIST - hLiteral 1 NOLIST - ] - hLiteral 64 NOLIST - ] - hLiteral 1 NOLIST + hVarAssign NONAME [ + hVarref last_mc_proc_local_3 NOLIST + hBinop || [ + hBinop == [ + hSigAssignR read [ + hVarref k0_scclang_global_4 NOLIST ] - hBinop * [ - hVarref i_mc_proc_local_4 NOLIST + hBinop - [ hLiteral 64 NOLIST + hLiteral 1 NOLIST ] ] - hBinop ARRAYSUBSCRIPT [ - hVarref s_block NOLIST - hVarref i_mc_proc_local_4 NOLIST + hBinop && [ + hSigAssignR read [ + hVarref s_flush NOLIST + ] + hBinop != [ + hSigAssignR read [ + hVarref s_flush NOLIST + ] + hSigAssignR read [ + hVarref flush1_scclang_global_3 NOLIST + ] + ] ] ] ] - hBinop = [ - hVarref c_bi_scclang_global_0 NOLIST - hVarref bbufi_mc_proc_local_2 NOLIST - ] - hBinop = [ - hVarref bbufo_mc_proc_local_3 NOLIST - hVarref c_bo_scclang_global_1 NOLIST - ] hForStmt NONAME [ hVarAssign NONAME [ - hVarref i_mc_proc_local_5 NOLIST + hVarref j_mc_proc_local_5 NOLIST hLiteral 0 NOLIST ] hBinop < [ - hVarref i_mc_proc_local_5 NOLIST - hLiteral 16 NOLIST + hVarref j_mc_proc_local_5 NOLIST + hLiteral 64 NOLIST ] hPostfix ++ [ - hVarref i_mc_proc_local_5 NOLIST + hVarref j_mc_proc_local_5 NOLIST ] - hSigAssignL write [ - hBinop ARRAYSUBSCRIPT [ - hVarref m_block NOLIST - hVarref i_mc_proc_local_5 NOLIST - ] - hBinop SLICE [ - hVarref bbufo_mc_proc_local_3 NOLIST - hBinop - [ - hBinop * [ - hBinop + [ - hVarref i_mc_proc_local_5 NOLIST - hLiteral 1 NOLIST + hCStmt NONAME [ + hForStmt NONAME [ + hVarAssign NONAME [ + hVarref i_mc_proc_local_6 NOLIST + hLiteral 0 NOLIST + ] + hBinop < [ + hVarref i_mc_proc_local_6 NOLIST + hLiteral 16 NOLIST + ] + hPostfix ++ [ + hVarref i_mc_proc_local_6 NOLIST + ] + hCStmt NONAME [ + hBinop = [ + hBinop ARRAYSUBSCRIPT [ + hVarref tmp_mc_proc_local_4 NOLIST + hVarref i_mc_proc_local_6 NOLIST + ] + hBuiltinFunction to_bool [ + hBinop ARRAYSUBSCRIPT [ + hSigAssignR read [ + hBinop ARRAYSUBSCRIPT [ + hVarref s_block NOLIST + hVarref i_mc_proc_local_6 NOLIST + ] + ] + hVarref j_mc_proc_local_5 NOLIST + ] ] - hLiteral 64 NOLIST ] - hLiteral 1 NOLIST - ] - hBinop * [ - hVarref i_mc_proc_local_5 NOLIST - hLiteral 64 NOLIST ] ] - ] - ] - ] - ] - ] - ] - hModinitblock u_block_buffer [ - hVardeclrn i_u_block_buffer_local_1 [ - hTypeinfo NONAME [ - hType int NOLIST - ] - hLiteral i NOLIST - ] - hCStmt NONAME [ - hPortbinding u_bbuf [ - hVarref clk NOLIST - hVarref clk NOLIST - ] - hPortbinding u_bbuf [ - hVarref reset NOLIST - hVarref reset NOLIST - ] - hPortbinding u_bbuf [ - hVarref din NOLIST - hVarref c_bi_scclang_global_0 NOLIST - ] - hPortbinding u_bbuf [ - hVarref wr_en NOLIST - hVarref s_valid NOLIST - ] - hPortbinding u_bbuf [ - hVarref full NOLIST - hVarref s_ready NOLIST - ] - hPortbinding u_bbuf [ - hVarref dout NOLIST - hVarref c_bo_scclang_global_1 NOLIST - ] - hPortbinding u_bbuf [ - hVarref rd_en NOLIST - hVarref m_ready NOLIST - ] - hPortbinding u_bbuf [ - hVarref empty NOLIST - hVarref m_valid NOLIST + hSigAssignL write [ + hBinop ARRAYSUBSCRIPT [ + hVarref c_bplane_scclang_global_2 NOLIST + hBinop - [ + hBinop - [ + hLiteral 64 NOLIST + hLiteral 1 NOLIST + ] + hVarref j_mc_proc_local_5 NOLIST + ] + ] + hVarref tmp_mc_proc_local_4 NOLIST + ] + ] + ] + hSigAssignL write [ + hVarref s_ready NOLIST + hBinop || [ + hBinop && [ + hVarref last_mc_proc_local_3 NOLIST + hSigAssignR read [ + hVarref m_ready NOLIST + ] + ] + hUnop ! [ + hSigAssignR read [ + hVarref s_valid NOLIST + ] + ] + ] + ] + ] ] - hForStmt NONAME [ - hVarAssign NONAME [ - hVarref i_u_block_buffer_local_1 NOLIST - hLiteral 0 NOLIST + ] + hProcess ms_proc [ + hMethod ms_proc [ + hVardecl last_ms_proc_local_7 [ + hTypeinfo NONAME [ + hType bool NOLIST + ] ] - hBinop < [ - hVarref i_u_block_buffer_local_1 NOLIST - hLiteral 16 NOLIST + hVardecl b_ms_proc_local_8 [ + hTypeinfo NONAME [ + hType unsigned_int NOLIST + ] ] - hPostfix ++ [ - hVarref i_u_block_buffer_local_1 NOLIST + hVardecl frst_ms_proc_local_9 [ + hTypeinfo NONAME [ + hType bool NOLIST + ] ] - hSensvar mc_proc [ - hBinop ARRAYSUBSCRIPT [ - hVarref s_block NOLIST - hVarref i_u_block_buffer_local_1 NOLIST + hVardecl i_ms_proc_local_10 [ + hTypeinfo NONAME [ + hType unsigned_int NOLIST ] - hNoop always NOLIST ] - ] - ] - hSenslist mc_proc [ - hSensvar NONAME [ - hVarref c_bo_scclang_global_1 NOLIST - hNoop always NOLIST - ] - ] - ] - ] - hModule fifo_cc_sc_module_18 [ - hPortsigvarlist NONAME [ - hPortin clk [ - hTypeinfo NONAME [ - hType sc_in [ - hType _Bool NOLIST + hVardecl tmp_ms_proc_local_11 [ + hTypeinfo NONAME [ + hType sc_bv [ + hLiteral 33 NOLIST + ] + ] ] - ] - ] - hPortin reset [ - hTypeinfo NONAME [ - hType sc_in [ - hType _Bool NOLIST + hVardecl n_ms_proc_local_12 [ + hTypeinfo NONAME [ + hType unsigned_int NOLIST + ] ] - ] - ] - hPortin din [ - hTypeinfo NONAME [ - hType sc_in [ - hType sc_bv [ - hLiteral 1024 NOLIST + hVardecl shiftamt_ms_proc_local_13 [ + hTypeinfo NONAME [ + hType unsigned_int NOLIST ] ] - ] - ] - hPortin wr_en [ - hTypeinfo NONAME [ - hType sc_in [ - hType _Bool NOLIST + hVardecl n1_shiftamt_ms_proc_local_14 [ + hTypeinfo NONAME [ + hType unsigned_int NOLIST + ] ] - ] - ] - hPortin rd_en [ - hTypeinfo NONAME [ - hType sc_in [ - hType _Bool NOLIST + hVardecl first_after_bc_ms_proc_local_15 [ + hTypeinfo NONAME [ + hType unsigned_int NOLIST + ] ] - ] - ] - hPortout full [ - hTypeinfo NONAME [ - hType sc_out [ - hType _Bool NOLIST + hVardecl last_n_ms_proc_local_16 [ + hTypeinfo NONAME [ + hType unsigned_int NOLIST + ] ] - ] - ] - hPortout dout [ - hTypeinfo NONAME [ - hType sc_out [ - hType sc_bv [ - hLiteral 1024 NOLIST + hVardecl found_ms_proc_local_17 [ + hTypeinfo NONAME [ + hType bool NOLIST ] ] - ] - ] - hPortout empty [ - hTypeinfo NONAME [ - hType sc_out [ - hType _Bool NOLIST + hVardecl shiftmask_ms_proc_local_18 [ + hTypeinfo NONAME [ + hType sc_bv [ + hLiteral 33 NOLIST + ] + ] ] - ] - ] - hSigdecl data_scclang_global_0 [ - hTypeinfo NONAME [ - hType array##2 [ - hType sc_signal [ + hVardecl delta_ms_proc_local_19 [ + hTypeinfo NONAME [ + hType unsigned_int NOLIST + ] + ] + hVardecl shiftmask_2_ms_proc_local_20 [ + hTypeinfo NONAME [ hType sc_bv [ - hLiteral 1024 NOLIST + hLiteral 33 NOLIST + ] + ] + ] + hVardecl j_ms_proc_local_21 [ + hTypeinfo NONAME [ + hType unsigned_int NOLIST + ] + ] + hCStmt NONAME [ + hIfStmt NONAME [ + hBinop == [ + hVarref reset NOLIST + hLiteral 0 NOLIST + ] + hCStmt NONAME [ + hBinop = [ + hVarref k0_scclang_global_4 NOLIST + hLiteral 0 [ + hTypeinfo NONAME [ + hType sc_uint [ + hLiteral 6 NOLIST + ] + ] + ] + ] + hBinop = [ + hVarref n0_scclang_global_6 NOLIST + hLiteral 0 [ + hTypeinfo NONAME [ + hType sc_uint [ + hLiteral 5 NOLIST + ] + ] + ] + ] + hBinop = [ + hVarref n1_scclang_global_7 NOLIST + hLiteral 0 [ + hTypeinfo NONAME [ + hType sc_uint [ + hLiteral 5 NOLIST + ] + ] + ] + ] + hBinop = [ + hVarref bc1_scclang_global_0 NOLIST + hLiteral 0 [ + hTypeinfo NONAME [ + hType sc_uint [ + hLiteral 5 NOLIST + ] + ] + ] + ] + hBinop = [ + hVarref m_bc NOLIST + hLiteral 0 [ + hTypeinfo NONAME [ + hType sc_uint [ + hLiteral 6 NOLIST + ] + ] + ] + ] + hBinop = [ + hVarref bp1_scclang_global_1 NOLIST + hLiteral 0 [ + hTypeinfo NONAME [ + hType sc_bv [ + hLiteral 16 NOLIST + ] + ] + ] + ] + hBinop = [ + hVarref m_bp NOLIST + hLiteral 0 [ + hTypeinfo NONAME [ + hType sc_bv [ + hLiteral 33 NOLIST + ] + ] + ] + ] + hBinop = [ + hVarref last1_scclang_global_5 NOLIST + hLiteral 0 NOLIST + ] + hBinop = [ + hVarref m_last NOLIST + hLiteral 0 NOLIST + ] + hBinop = [ + hVarref valid1_scclang_global_8 NOLIST + hLiteral 0 NOLIST + ] + hBinop = [ + hVarref m_valid NOLIST + hLiteral 0 NOLIST + ] ] - ] - ] - ] - ] - hSigdecl empty_i_scclang_global_1 [ - hTypeinfo NONAME [ - hType sc_signal [ - hType _Bool NOLIST - ] - ] - ] - hSigdecl full_i_scclang_global_2 [ - hTypeinfo NONAME [ - hType sc_signal [ - hType _Bool NOLIST - ] - ] - ] - hSigdecl rd_en_i_scclang_global_3 [ - hTypeinfo NONAME [ - hType sc_signal [ - hType _Bool NOLIST - ] - ] - ] - hSigdecl rd_idx_scclang_global_4 [ - hTypeinfo NONAME [ - hType sc_signal [ - hType sc_uint [ - hLiteral 1 NOLIST - ] - ] - ] - ] - hSigdecl wr_en_i_scclang_global_5 [ - hTypeinfo NONAME [ - hType sc_signal [ - hType _Bool NOLIST - ] - ] - ] - hSigdecl wr_idx_scclang_global_6 [ - hTypeinfo NONAME [ - hType sc_signal [ - hType sc_uint [ - hLiteral 1 NOLIST - ] - ] - ] - ] - hVardecl MAX_DEPTH_scclang_global_7 [ - hTypeinfo NONAME [ - hType int NOLIST - ] - hVarInit NONAME [ - hLiteral 2 NOLIST - ] - ] - ] - hProcesses NONAME [ - hProcess mc_proc [ - hMethod mc_proc [ - hCStmt NONAME [ - hIfStmt NONAME [ - hLiteral 1 NOLIST hCStmt NONAME [ - hBinop = [ - hVarref dout NOLIST - hBinop ARRAYSUBSCRIPT [ - hVarref data_scclang_global_0 NOLIST - hSigAssignR read [ - hVarref rd_idx_scclang_global_4 NOLIST + hIfStmt NONAME [ + hSigAssignR read [ + hVarref m_ready NOLIST + ] + hCStmt NONAME [ + hVarAssign NONAME [ + hVarref last_ms_proc_local_7 NOLIST + hBinop || [ + hBinop == [ + hSigAssignR read [ + hVarref k0_scclang_global_4 NOLIST + ] + hBinop - [ + hLiteral 64 NOLIST + hLiteral 1 NOLIST + ] + ] + hBinop && [ + hSigAssignR read [ + hVarref s_flush NOLIST + ] + hBinop != [ + hSigAssignR read [ + hVarref s_flush NOLIST + ] + hSigAssignR read [ + hVarref flush1_scclang_global_3 NOLIST + ] + ] + ] + ] + ] + hVarAssign NONAME [ + hVarref b_ms_proc_local_8 NOLIST + hLiteral 0 NOLIST + ] + hVarAssign NONAME [ + hVarref frst_ms_proc_local_9 NOLIST + hLiteral 1 NOLIST + ] + hForStmt NONAME [ + hVarAssign NONAME [ + hVarref i_ms_proc_local_10 NOLIST + hLiteral 16 NOLIST + ] + hBinop > [ + hVarref i_ms_proc_local_10 NOLIST + hLiteral 0 NOLIST + ] + hPostfix -- [ + hVarref i_ms_proc_local_10 NOLIST + ] + hCStmt NONAME [ + hIfStmt NONAME [ + hBinop ARRAYSUBSCRIPT [ + hSigAssignR read [ + hBinop ARRAYSUBSCRIPT [ + hVarref c_bplane_scclang_global_2 NOLIST + hSigAssignR read [ + hVarref k0_scclang_global_4 NOLIST + ] + ] + ] + hBinop - [ + hVarref i_ms_proc_local_10 NOLIST + hLiteral 1 NOLIST + ] + ] + hCStmt NONAME [ + hIfStmt NONAME [ + hVarref frst_ms_proc_local_9 NOLIST + hCStmt NONAME [ + hBinop = [ + hVarref frst_ms_proc_local_9 NOLIST + hLiteral 0 NOLIST + ] + hBinop = [ + hVarref b_ms_proc_local_8 NOLIST + hVarref i_ms_proc_local_10 NOLIST + ] + ] + ] + ] + ] + ] + ] + hSigAssignL write [ + hVarref n1_scclang_global_7 NOLIST + hSigAssignR read [ + hVarref n0_scclang_global_6 NOLIST + ] + ] + hSigAssignL write [ + hVarref bc1_scclang_global_0 NOLIST + hVarref b_ms_proc_local_8 NOLIST + ] + hSigAssignL write [ + hVarref bp1_scclang_global_1 NOLIST + hSigAssignR read [ + hBinop ARRAYSUBSCRIPT [ + hVarref c_bplane_scclang_global_2 NOLIST + hSigAssignR read [ + hVarref k0_scclang_global_4 NOLIST + ] + ] + ] + ] + hSigAssignL write [ + hVarref last1_scclang_global_5 NOLIST + hVarref last_ms_proc_local_7 NOLIST + ] + hSigAssignL write [ + hVarref valid1_scclang_global_8 NOLIST + hSigAssignR read [ + hVarref s_valid NOLIST + ] + ] + hSigAssignL write [ + hVarref flush1_scclang_global_3 NOLIST + hSigAssignR read [ + hVarref s_flush NOLIST + ] + ] + hIfStmt NONAME [ + hSigAssignR read [ + hVarref s_valid NOLIST + ] + hCStmt NONAME [ + hIfStmt NONAME [ + hBinop > [ + hVarref b_ms_proc_local_8 NOLIST + hSigAssignR read [ + hVarref n0_scclang_global_6 NOLIST + ] + ] + hSigAssignL write [ + hVarref n0_scclang_global_6 NOLIST + hVarref b_ms_proc_local_8 NOLIST + ] + ] + hIfStmt NONAME [ + hVarref last_ms_proc_local_7 NOLIST + hCStmt NONAME [ + hBinop = [ + hVarref k0_scclang_global_4 NOLIST + hLiteral 0 [ + hTypeinfo NONAME [ + hType sc_uint [ + hLiteral 6 NOLIST + ] + ] + ] + ] + hBinop = [ + hVarref n0_scclang_global_6 NOLIST + hLiteral 0 [ + hTypeinfo NONAME [ + hType sc_uint [ + hLiteral 5 NOLIST + ] + ] + ] + ] + ] + hBinop = [ + hVarref k0_scclang_global_4 NOLIST + hBinop + [ + hSigAssignR read [ + hVarref k0_scclang_global_4 NOLIST + ] + hLiteral 1 NOLIST + ] + ] + ] + ] ] - ] - ] - ] - ] - hBinop = [ - hVarref wr_en_i_scclang_global_5 NOLIST - hBinop && [ - hVarref wr_en NOLIST - hUnop ! [ - hVarref full_i_scclang_global_2 NOLIST - ] - ] - ] - hBinop = [ - hVarref rd_en_i_scclang_global_3 NOLIST - hBinop && [ - hVarref rd_en NOLIST - hUnop ! [ - hVarref empty_i_scclang_global_1 NOLIST - ] - ] - ] - hBinop = [ - hVarref full NOLIST - hBinop == [ - hVarref full_i_scclang_global_2 NOLIST - hLiteral 0 NOLIST - ] - ] - hBinop = [ - hVarref empty NOLIST - hBinop == [ - hVarref empty_i_scclang_global_1 NOLIST - hLiteral 0 NOLIST - ] - ] - ] - ] - ] - hProcess ms_proc [ - hMethod ms_proc [ - hVardecl wr_inc_ms_proc_local_3 [ - hTypeinfo NONAME [ - hType sc_uint [ - hLiteral 1 NOLIST - ] - ] - ] - hVardecl rd_inc_ms_proc_local_4 [ - hTypeinfo NONAME [ - hType sc_uint [ - hLiteral 1 NOLIST - ] - ] - ] - hVardecl i_ms_proc_local_5 [ - hTypeinfo NONAME [ - hType unsigned_int NOLIST - ] - ] - hCStmt NONAME [ - hBinop = [ - hVarref wr_inc_ms_proc_local_3 NOLIST - hBinop % [ - hBinop + [ - hSigAssignR read [ - hVarref wr_idx_scclang_global_6 NOLIST - ] - hLiteral 1 NOLIST - ] - hLiteral 2 NOLIST - ] - ] - hBinop = [ - hVarref rd_inc_ms_proc_local_4 NOLIST - hBinop % [ - hBinop + [ - hSigAssignR read [ - hVarref rd_idx_scclang_global_4 NOLIST - ] - hLiteral 1 NOLIST - ] - hLiteral 2 NOLIST - ] - ] - hIfStmt NONAME [ - hBinop == [ - hVarref reset NOLIST - hLiteral 0 NOLIST - ] - hCStmt NONAME [ - hIfStmt NONAME [ - hUnop ! [ - hLiteral 1 NOLIST - ] - hBinop = [ - hVarref dout NOLIST - hLiteral 0 NOLIST - ] - ] - hForStmt NONAME [ - hVarAssign NONAME [ - hVarref i_ms_proc_local_5 NOLIST - hLiteral 0 NOLIST - ] - hBinop < [ - hVarref i_ms_proc_local_5 NOLIST - hLiteral 2 NOLIST - ] - hPostfix ++ [ - hVarref i_ms_proc_local_5 NOLIST - ] - hBinop = [ - hBinop ARRAYSUBSCRIPT [ - hVarref data_scclang_global_0 NOLIST - hVarref i_ms_proc_local_5 NOLIST + hVarAssign NONAME [ + hVarref tmp_ms_proc_local_11 NOLIST + hLiteral 0 [ + hTypeinfo NONAME [ + hType sc_bv [ + hLiteral 33 NOLIST + ] + ] + ] + ] + hVarAssign NONAME [ + hVarref shiftamt_ms_proc_local_13 NOLIST + hLiteral 0 NOLIST + ] + hVarAssign NONAME [ + hVarref n1_shiftamt_ms_proc_local_14 NOLIST + hLiteral 0 NOLIST + ] + hVarAssign NONAME [ + hVarref first_after_bc_ms_proc_local_15 NOLIST + hSigAssignR read [ + hVarref n1_scclang_global_7 NOLIST + ] + ] + hVarAssign NONAME [ + hVarref last_n_ms_proc_local_16 NOLIST + hSigAssignR read [ + hVarref n1_scclang_global_7 NOLIST + ] + ] + hVarAssign NONAME [ + hVarref found_ms_proc_local_17 NOLIST + hLiteral 0 NOLIST + ] + hBinop = [ + hVarref shiftamt_ms_proc_local_13 NOLIST + hLiteral 0 NOLIST + ] + hForStmt NONAME [ + hBinop = [ + hVarref n_ms_proc_local_12 NOLIST + hLiteral 0 NOLIST + ] + hBinop < [ + hVarref n_ms_proc_local_12 NOLIST + hLiteral 16 NOLIST + ] + hPostfix ++ [ + hVarref n_ms_proc_local_12 NOLIST + ] + hCStmt NONAME [ + hIfStmt NONAME [ + hBinop == [ + hVarref n_ms_proc_local_12 NOLIST + hSigAssignR read [ + hVarref n1_scclang_global_7 NOLIST + ] + ] + hCStmt NONAME [ + hBinop = [ + hVarref n1_shiftamt_ms_proc_local_14 NOLIST + hVarref shiftamt_ms_proc_local_13 NOLIST + ] + ] + ] + hIfStmt NONAME [ + hBinop == [ + hVarref n_ms_proc_local_12 NOLIST + hLiteral 0 NOLIST + ] + hCStmt NONAME [ + hBinop += [ + hVarref shiftamt_ms_proc_local_13 NOLIST + hLiteral 2 NOLIST + ] + hIfStmt NONAME [ + hBinop ARRAYSUBSCRIPT [ + hSigAssignR read [ + hVarref bp1_scclang_global_1 NOLIST + ] + hLiteral 0 NOLIST + ] + hCStmt NONAME [ + hBinop = [ + hBinop ARRAYSUBSCRIPT [ + hVarref tmp_ms_proc_local_11 NOLIST + hLiteral 0 NOLIST + ] + hLiteral 1 NOLIST + ] + hBinop = [ + hBinop ARRAYSUBSCRIPT [ + hVarref tmp_ms_proc_local_11 NOLIST + hLiteral 1 NOLIST + ] + hLiteral 1 NOLIST + ] + ] + hCStmt NONAME [ + hBinop = [ + hBinop ARRAYSUBSCRIPT [ + hVarref tmp_ms_proc_local_11 NOLIST + hLiteral 0 NOLIST + ] + hLiteral 1 NOLIST + ] + hBinop = [ + hBinop ARRAYSUBSCRIPT [ + hVarref tmp_ms_proc_local_11 NOLIST + hLiteral 1 NOLIST + ] + hLiteral 0 NOLIST + ] + ] + ] + ] + hCStmt NONAME [ + hIfStmt NONAME [ + hBinop && [ + hBuiltinFunction to_bool [ + hBinop ARRAYSUBSCRIPT [ + hSigAssignR read [ + hVarref bp1_scclang_global_1 NOLIST + ] + hVarref n_ms_proc_local_12 NOLIST + ] + ] + hBuiltinFunction to_bool [ + hBinop ARRAYSUBSCRIPT [ + hSigAssignR read [ + hVarref bp1_scclang_global_1 NOLIST + ] + hBinop - [ + hVarref n_ms_proc_local_12 NOLIST + hLiteral 1 NOLIST + ] + ] + ] + ] + hCStmt NONAME [ + hBinop = [ + hBinop ARRAYSUBSCRIPT [ + hVarref tmp_ms_proc_local_11 NOLIST + hVarref shiftamt_ms_proc_local_13 NOLIST + ] + hLiteral 1 NOLIST + ] + hBinop = [ + hBinop ARRAYSUBSCRIPT [ + hVarref tmp_ms_proc_local_11 NOLIST + hBinop + [ + hVarref shiftamt_ms_proc_local_13 NOLIST + hLiteral 1 NOLIST + ] + ] + hLiteral 1 NOLIST + ] + hBinop = [ + hVarref shiftamt_ms_proc_local_13 NOLIST + hBinop + [ + hVarref shiftamt_ms_proc_local_13 NOLIST + hLiteral 2 NOLIST + ] + ] + ] + hIfStmt NONAME [ + hBinop && [ + hBuiltinFunction to_bool [ + hBinop ARRAYSUBSCRIPT [ + hSigAssignR read [ + hVarref bp1_scclang_global_1 NOLIST + ] + hVarref n_ms_proc_local_12 NOLIST + ] + ] + hUnop ! [ + hBuiltinFunction to_bool [ + hBinop ARRAYSUBSCRIPT [ + hSigAssignR read [ + hVarref bp1_scclang_global_1 NOLIST + ] + hBinop - [ + hVarref n_ms_proc_local_12 NOLIST + hLiteral 1 NOLIST + ] + ] + ] + ] + ] + hCStmt NONAME [ + hIfStmt NONAME [ + hBinop != [ + hVarref n_ms_proc_local_12 NOLIST + hBinop - [ + hLiteral 16 NOLIST + hLiteral 1 NOLIST + ] + ] + hCStmt NONAME [ + hBinop = [ + hBinop ARRAYSUBSCRIPT [ + hVarref tmp_ms_proc_local_11 NOLIST + hVarref shiftamt_ms_proc_local_13 NOLIST + ] + hLiteral 1 NOLIST + ] + hBinop = [ + hVarref shiftamt_ms_proc_local_13 NOLIST + hBinop + [ + hVarref shiftamt_ms_proc_local_13 NOLIST + hLiteral 1 NOLIST + ] + ] + ] + ] + ] + hIfStmt NONAME [ + hBinop && [ + hUnop ! [ + hBuiltinFunction to_bool [ + hBinop ARRAYSUBSCRIPT [ + hSigAssignR read [ + hVarref bp1_scclang_global_1 NOLIST + ] + hVarref n_ms_proc_local_12 NOLIST + ] + ] + ] + hUnop ! [ + hBuiltinFunction to_bool [ + hBinop ARRAYSUBSCRIPT [ + hSigAssignR read [ + hVarref bp1_scclang_global_1 NOLIST + ] + hBinop - [ + hVarref n_ms_proc_local_12 NOLIST + hLiteral 1 NOLIST + ] + ] + ] + ] + ] + hCStmt NONAME [ + hBinop = [ + hBinop ARRAYSUBSCRIPT [ + hVarref tmp_ms_proc_local_11 NOLIST + hVarref shiftamt_ms_proc_local_13 NOLIST + ] + hLiteral 0 NOLIST + ] + hBinop = [ + hVarref shiftamt_ms_proc_local_13 NOLIST + hBinop + [ + hVarref shiftamt_ms_proc_local_13 NOLIST + hLiteral 1 NOLIST + ] + ] + ] + hIfStmt NONAME [ + hBinop && [ + hUnop ! [ + hBuiltinFunction to_bool [ + hBinop ARRAYSUBSCRIPT [ + hSigAssignR read [ + hVarref bp1_scclang_global_1 NOLIST + ] + hVarref n_ms_proc_local_12 NOLIST + ] + ] + ] + hBuiltinFunction to_bool [ + hBinop ARRAYSUBSCRIPT [ + hSigAssignR read [ + hVarref bp1_scclang_global_1 NOLIST + ] + hBinop - [ + hVarref n_ms_proc_local_12 NOLIST + hLiteral 1 NOLIST + ] + ] + ] + ] + hCStmt NONAME [ + hBinop = [ + hBinop ARRAYSUBSCRIPT [ + hVarref tmp_ms_proc_local_11 NOLIST + hVarref shiftamt_ms_proc_local_13 NOLIST + ] + hLiteral 1 NOLIST + ] + hBinop = [ + hBinop ARRAYSUBSCRIPT [ + hVarref tmp_ms_proc_local_11 NOLIST + hBinop + [ + hVarref shiftamt_ms_proc_local_13 NOLIST + hLiteral 1 NOLIST + ] + ] + hLiteral 0 NOLIST + ] + hBinop = [ + hVarref shiftamt_ms_proc_local_13 NOLIST + hBinop + [ + hVarref shiftamt_ms_proc_local_13 NOLIST + hLiteral 2 NOLIST + ] + ] + ] + ] + ] + ] + ] + ] + ] + hIfStmt NONAME [ + hBinop && [ + hBinop && [ + hBinop && [ + hUnop ! [ + hVarref found_ms_proc_local_17 NOLIST + ] + hBuiltinFunction to_bool [ + hBinop ARRAYSUBSCRIPT [ + hSigAssignR read [ + hVarref bp1_scclang_global_1 NOLIST + ] + hVarref n_ms_proc_local_12 NOLIST + ] + ] + ] + hBinop >= [ + hVarref n_ms_proc_local_12 NOLIST + hBinop - [ + hSigAssignR read [ + hVarref bc1_scclang_global_0 NOLIST + ] + hLiteral 1 NOLIST + ] + ] + ] + hBinop < [ + hVarref n1_scclang_global_7 NOLIST + hSigAssignR read [ + hVarref bc1_scclang_global_0 NOLIST + ] + ] + ] + hCStmt NONAME [ + hBinop = [ + hVarref found_ms_proc_local_17 NOLIST + hLiteral 1 NOLIST + ] + hIfStmt NONAME [ + hBinop && [ + hBuiltinFunction to_bool [ + hBinop ARRAYSUBSCRIPT [ + hSigAssignR read [ + hVarref bp1_scclang_global_1 NOLIST + ] + hVarref n_ms_proc_local_12 NOLIST + ] + ] + hUnop ! [ + hBuiltinFunction to_bool [ + hBinop ARRAYSUBSCRIPT [ + hSigAssignR read [ + hVarref bp1_scclang_global_1 NOLIST + ] + hBinop - [ + hVarref n_ms_proc_local_12 NOLIST + hLiteral 1 NOLIST + ] + ] + ] + ] + ] + hCStmt NONAME [ + hIfStmt NONAME [ + hBinop != [ + hVarref n_ms_proc_local_12 NOLIST + hBinop - [ + hLiteral 16 NOLIST + hLiteral 1 NOLIST + ] + ] + hBinop = [ + hVarref first_after_bc_ms_proc_local_15 NOLIST + hVarref shiftamt_ms_proc_local_13 NOLIST + ] + hCStmt NONAME [ + hIfStmt NONAME [ + hBinop == [ + hSigAssignR read [ + hVarref bc1_scclang_global_0 NOLIST + ] + hLiteral 16 NOLIST + ] + hCStmt NONAME [ + hBinop = [ + hVarref first_after_bc_ms_proc_local_15 NOLIST + hVarref shiftamt_ms_proc_local_13 NOLIST + ] + ] + hCStmt NONAME [ + hBinop = [ + hVarref first_after_bc_ms_proc_local_15 NOLIST + hBinop - [ + hVarref shiftamt_ms_proc_local_13 NOLIST + hLiteral 1 NOLIST + ] + ] + ] + ] + ] + ] + ] + hCStmt NONAME [ + hIfStmt NONAME [ + hBinop != [ + hVarref n_ms_proc_local_12 NOLIST + hBinop - [ + hLiteral 16 NOLIST + hLiteral 1 NOLIST + ] + ] + hBinop = [ + hVarref first_after_bc_ms_proc_local_15 NOLIST + hVarref shiftamt_ms_proc_local_13 NOLIST + ] + hBinop = [ + hVarref first_after_bc_ms_proc_local_15 NOLIST + hBinop - [ + hVarref shiftamt_ms_proc_local_13 NOLIST + hLiteral 1 NOLIST + ] + ] + ] + ] + ] + hBinop = [ + hVarref last_n_ms_proc_local_16 NOLIST + hBinop + [ + hVarref n_ms_proc_local_12 NOLIST + hLiteral 1 NOLIST + ] + ] + ] + ] + ] ] - hLiteral 0 NOLIST - ] - ] - hBinop = [ - hVarref rd_idx_scclang_global_4 NOLIST - hLiteral 0 [ - hTypeinfo NONAME [ - hType sc_uint [ + hVarAssign NONAME [ + hVarref shiftmask_ms_proc_local_18 NOLIST + hUnop - [ hLiteral 1 NOLIST ] ] - ] - ] - hBinop = [ - hVarref wr_idx_scclang_global_6 NOLIST - hLiteral 0 [ - hTypeinfo NONAME [ - hType sc_uint [ - hLiteral 1 NOLIST + hIfStmt NONAME [ + hBinop < [ + hVarref first_after_bc_ms_proc_local_15 NOLIST + hLiteral 33 NOLIST + ] + hCStmt NONAME [ + hBinop = [ + hVarref tmp_ms_proc_local_11 NOLIST + hBinop & [ + hVarref tmp_ms_proc_local_11 NOLIST + hUnop ~ [ + hBinop << [ + hVarref shiftmask_ms_proc_local_18 NOLIST + hVarref first_after_bc_ms_proc_local_15 NOLIST + ] + ] + ] + ] ] ] - ] - ] - hBinop = [ - hVarref full_i_scclang_global_2 NOLIST - hLiteral 0 NOLIST - ] - hBinop = [ - hVarref empty_i_scclang_global_1 NOLIST - hLiteral 1 NOLIST - ] - ] - hCStmt NONAME [ - hIfStmt NONAME [ - hUnop ! [ - hLiteral 1 NOLIST - ] - hCStmt NONAME [ + hVarAssign NONAME [ + hVarref delta_ms_proc_local_19 NOLIST + hLiteral 0 NOLIST + ] hIfStmt NONAME [ - hVarref rd_en_i_scclang_global_3 NOLIST + hBinop != [ + hVarref last_n_ms_proc_local_16 NOLIST + hLiteral 16 NOLIST + ] hBinop = [ - hVarref dout NOLIST hBinop ARRAYSUBSCRIPT [ - hVarref data_scclang_global_0 NOLIST - hSigAssignR read [ - hVarref rd_idx_scclang_global_4 NOLIST + hVarref tmp_ms_proc_local_11 NOLIST + hVarref first_after_bc_ms_proc_local_15 NOLIST + ] + hLiteral 0 NOLIST + ] + ] + hIfStmt NONAME [ + hBinop >= [ + hSigAssignR read [ + hVarref n1_scclang_global_7 NOLIST + ] + hSigAssignR read [ + hVarref bc1_scclang_global_0 NOLIST + ] + ] + hCStmt NONAME [ + hBinop = [ + hVarref tmp_ms_proc_local_11 NOLIST + hLiteral 0 NOLIST + ] + ] + hCStmt NONAME [ + hIfStmt NONAME [ + hBinop == [ + hSigAssignR read [ + hVarref n1_scclang_global_7 NOLIST + ] + hLiteral 0 NOLIST + ] + hCStmt NONAME NOLIST + hCStmt NONAME [ + hIfStmt NONAME [ + hBinop || [ + hBinop && [ + hUnop ! [ + hBinop ARRAYSUBSCRIPT [ + hSigAssignR read [ + hVarref bp1_scclang_global_1 NOLIST + ] + hSigAssignR read [ + hVarref n1_scclang_global_7 NOLIST + ] + ] + ] + hUnop ! [ + hBinop ARRAYSUBSCRIPT [ + hSigAssignR read [ + hVarref bp1_scclang_global_1 NOLIST + ] + hBinop - [ + hSigAssignR read [ + hVarref n1_scclang_global_7 NOLIST + ] + hLiteral 1 NOLIST + ] + ] + ] + ] + hBinop && [ + hBinop ARRAYSUBSCRIPT [ + hSigAssignR read [ + hVarref bp1_scclang_global_1 NOLIST + ] + hSigAssignR read [ + hVarref n1_scclang_global_7 NOLIST + ] + ] + hUnop ! [ + hBinop ARRAYSUBSCRIPT [ + hSigAssignR read [ + hVarref bp1_scclang_global_1 NOLIST + ] + hBinop - [ + hSigAssignR read [ + hVarref n1_scclang_global_7 NOLIST + ] + hLiteral 1 NOLIST + ] + ] + ] + ] + ] + hCStmt NONAME [ + hBinop = [ + hVarref tmp_ms_proc_local_11 NOLIST + hBinop << [ + hBinop | [ + hBinop << [ + hBinop >> [ + hVarref tmp_ms_proc_local_11 NOLIST + hVarref n1_shiftamt_ms_proc_local_14 NOLIST + ] + hLiteral 1 NOLIST + ] + hLiteral 1 NOLIST + ] + hSigAssignR read [ + hVarref n1_scclang_global_7 NOLIST + ] + ] + ] + hBinop = [ + hVarref delta_ms_proc_local_19 NOLIST + hLiteral 1 NOLIST + ] + ] + hCStmt NONAME [ + hBinop = [ + hVarref tmp_ms_proc_local_11 NOLIST + hBinop << [ + hBinop >> [ + hVarref tmp_ms_proc_local_11 NOLIST + hVarref n1_shiftamt_ms_proc_local_14 NOLIST + ] + hSigAssignR read [ + hVarref n1_scclang_global_7 NOLIST + ] + ] + ] + ] + ] + ] + ] + ] + ] + hVarAssign NONAME [ + hVarref shiftmask_2_ms_proc_local_20 NOLIST + hUnop - [ + hLiteral 1 NOLIST + ] + ] + hBinop = [ + hVarref tmp_ms_proc_local_11 NOLIST + hBinop | [ + hBinop & [ + hVarref tmp_ms_proc_local_11 NOLIST + hBinop << [ + hVarref shiftmask_2_ms_proc_local_20 NOLIST + hSigAssignR read [ + hVarref n1_scclang_global_7 NOLIST + ] ] ] - ] - ] - ] - ] - hIfStmt NONAME [ - hVarref wr_en_i_scclang_global_5 NOLIST - hCStmt NONAME [ - hBinop = [ - hBinop ARRAYSUBSCRIPT [ - hVarref data_scclang_global_0 NOLIST - hSigAssignR read [ - hVarref wr_idx_scclang_global_6 NOLIST + hBinop & [ + hSigAssignR read [ + hVarref bp1_scclang_global_1 NOLIST + ] + hUnop ~ [ + hBinop << [ + hVarref shiftmask_2_ms_proc_local_20 NOLIST + hSigAssignR read [ + hVarref n1_scclang_global_7 NOLIST + ] + ] + ] ] ] - hVarref din NOLIST ] - hBinop = [ - hVarref wr_idx_scclang_global_6 NOLIST - hVarref wr_inc_ms_proc_local_3 NOLIST + hVarAssign NONAME [ + hVarref j_ms_proc_local_21 NOLIST + hLiteral 0 NOLIST ] hIfStmt NONAME [ - hUnop ! [ - hVarref rd_en_i_scclang_global_3 NOLIST + hBinop >= [ + hSigAssignR read [ + hVarref n1_scclang_global_7 NOLIST + ] + hSigAssignR read [ + hVarref bc1_scclang_global_0 NOLIST + ] ] hCStmt NONAME [ + hBinop = [ + hVarref j_ms_proc_local_21 NOLIST + hSigAssignR read [ + hVarref n1_scclang_global_7 NOLIST + ] + ] hIfStmt NONAME [ - hBinop == [ - hVarref wr_inc_ms_proc_local_3 NOLIST - hVarref rd_idx_scclang_global_4 NOLIST + hBinop != [ + hSigAssignR read [ + hVarref n1_scclang_global_7 NOLIST + ] + hLiteral 16 NOLIST ] - hBinop = [ - hVarref full_i_scclang_global_2 NOLIST - hLiteral 1 NOLIST + hCStmt NONAME [ + hBinop = [ + hVarref j_ms_proc_local_21 NOLIST + hBinop + [ + hVarref j_ms_proc_local_21 NOLIST + hLiteral 1 NOLIST + ] + ] ] ] + ] + hCStmt NONAME [ hBinop = [ - hVarref empty_i_scclang_global_1 NOLIST - hLiteral 0 NOLIST + hVarref j_ms_proc_local_21 NOLIST + hBinop + [ + hBinop - [ + hBinop + [ + hVarref first_after_bc_ms_proc_local_15 NOLIST + hVarref delta_ms_proc_local_19 NOLIST + ] + hVarref n1_shiftamt_ms_proc_local_14 NOLIST + ] + hSigAssignR read [ + hVarref n1_scclang_global_7 NOLIST + ] + ] + ] + hIfStmt NONAME [ + hBinop != [ + hVarref last_n_ms_proc_local_16 NOLIST + hLiteral 16 NOLIST + ] + hCStmt NONAME [ + hBinop = [ + hVarref j_ms_proc_local_21 NOLIST + hBinop + [ + hVarref j_ms_proc_local_21 NOLIST + hLiteral 1 NOLIST + ] + ] + ] ] ] ] + hSigAssignL write [ + hVarref m_bc NOLIST + hVarref j_ms_proc_local_21 NOLIST + ] + hSigAssignL write [ + hVarref m_bp NOLIST + hVarref tmp_ms_proc_local_11 NOLIST + ] + hSigAssignL write [ + hVarref m_last NOLIST + hSigAssignR read [ + hVarref last1_scclang_global_5 NOLIST + ] + ] + hSigAssignL write [ + hVarref m_valid NOLIST + hSigAssignR read [ + hVarref valid1_scclang_global_8 NOLIST + ] + ] ] - ] - hIfStmt NONAME [ - hVarref rd_en_i_scclang_global_3 NOLIST hCStmt NONAME [ - hBinop = [ - hVarref rd_idx_scclang_global_4 NOLIST - hVarref rd_inc_ms_proc_local_4 NOLIST - ] hIfStmt NONAME [ hUnop ! [ - hVarref wr_en_i_scclang_global_5 NOLIST - ] - hCStmt NONAME [ - hBinop = [ - hVarref full_i_scclang_global_2 NOLIST - hLiteral 0 NOLIST - ] - hIfStmt NONAME [ - hBinop == [ - hVarref rd_inc_ms_proc_local_4 NOLIST - hVarref wr_idx_scclang_global_6 NOLIST - ] - hBinop = [ - hVarref empty_i_scclang_global_1 NOLIST - hLiteral 1 NOLIST - ] + hSigAssignR read [ + hVarref s_flush NOLIST ] ] + hSigAssignL write [ + hVarref flush1_scclang_global_3 NOLIST + hLiteral 0 NOLIST + ] ] ] ] @@ -6941,36 +7064,30 @@ ] ] ] - hModinitblock u_bbuf [ - hVardeclrn i_u_bbuf_local_1 [ + hModinitblock u_encode_ints [ + hVardeclrn i_u_encode_ints_local_1 [ hTypeinfo NONAME [ hType int NOLIST ] hLiteral i NOLIST ] hCStmt NONAME [ - hIfStmt NONAME [ - hBinop <= [ - hLiteral 2 NOLIST - hLiteral 0 NOLIST - ] - ] hForStmt NONAME [ hVarAssign NONAME [ - hVarref i_u_bbuf_local_1 NOLIST + hVarref i_u_encode_ints_local_1 NOLIST hLiteral 0 NOLIST ] hBinop < [ - hVarref i_u_bbuf_local_1 NOLIST - hLiteral 2 NOLIST + hVarref i_u_encode_ints_local_1 NOLIST + hLiteral 16 NOLIST ] hPostfix ++ [ - hVarref i_u_bbuf_local_1 NOLIST + hVarref i_u_encode_ints_local_1 NOLIST ] hSensvar mc_proc [ hBinop ARRAYSUBSCRIPT [ - hVarref data_scclang_global_0 NOLIST - hVarref i_u_bbuf_local_1 NOLIST + hVarref s_block NOLIST + hVarref i_u_encode_ints_local_1 NOLIST ] hNoop always NOLIST ] @@ -6978,23 +7095,23 @@ ] hSenslist mc_proc [ hSensvar NONAME [ - hVarref wr_en NOLIST + hVarref k0_scclang_global_4 NOLIST hNoop always NOLIST ] hSensvar NONAME [ - hVarref rd_en NOLIST + hVarref flush1_scclang_global_3 NOLIST hNoop always NOLIST ] hSensvar NONAME [ - hVarref full_i_scclang_global_2 NOLIST + hVarref m_ready NOLIST hNoop always NOLIST ] hSensvar NONAME [ - hVarref empty_i_scclang_global_1 NOLIST + hVarref s_valid NOLIST hNoop always NOLIST ] hSensvar NONAME [ - hVarref rd_idx_scclang_global_4 NOLIST + hVarref s_flush NOLIST hNoop always NOLIST ] ] @@ -7006,7 +7123,7 @@ ] ] ] - hModule encode_ints_sc_module_7 [ + hModule encode_stream_sc_module_7 [ hPortsigvarlist NONAME [ hPortin clk [ hTypeinfo NONAME [ @@ -7022,1397 +7139,1379 @@ ] ] ] - hPortin s_block [ - hTypeinfo NONAME [ - hType array##16 [ - hType sc_in [ - hType sc_uint [ - hLiteral 64 NOLIST - ] - ] - ] - ] - ] - hPortin s_valid [ + hPortin minbits [ hTypeinfo NONAME [ hType sc_in [ - hType _Bool NOLIST + hType unsigned_short NOLIST ] ] ] - hPortin s_flush [ + hPortin maxbits [ hTypeinfo NONAME [ hType sc_in [ - hType _Bool NOLIST + hType unsigned_short NOLIST ] ] ] - hPortin m_ready [ + hPortin maxprec [ hTypeinfo NONAME [ hType sc_in [ - hType _Bool NOLIST + hType unsigned_short NOLIST ] ] ] - hPortout s_ready [ + hPortin minexp [ hTypeinfo NONAME [ - hType sc_out [ - hType _Bool NOLIST + hType sc_in [ + hType short NOLIST ] ] ] - hPortout m_bc [ + hPortin s_bc [ hTypeinfo NONAME [ - hType sc_out [ + hType sc_in [ hType sc_uint [ hLiteral 6 NOLIST ] ] ] ] - hPortout m_bp [ + hPortin s_bp [ hTypeinfo NONAME [ - hType sc_out [ + hType sc_in [ hType sc_bv [ hLiteral 33 NOLIST ] ] ] ] - hPortout m_last [ + hPortin s_last [ hTypeinfo NONAME [ - hType sc_out [ + hType sc_in [ hType _Bool NOLIST ] ] ] - hPortout m_valid [ + hPortin s_valid [ hTypeinfo NONAME [ - hType sc_out [ + hType sc_in [ hType _Bool NOLIST ] ] ] - hSigdecl bc1_scclang_global_0 [ - hTypeinfo NONAME [ - hType sc_signal [ - hType sc_uint [ - hLiteral 5 NOLIST - ] - ] - ] - ] - hSigdecl bp1_scclang_global_1 [ - hTypeinfo NONAME [ - hType sc_signal [ - hType sc_bv [ - hLiteral 16 NOLIST - ] - ] - ] - ] - hSigdecl c_bplane_scclang_global_2 [ + hPortin s_ex [ hTypeinfo NONAME [ - hType array##64 [ - hType sc_signal [ - hType sc_bv [ - hLiteral 16 NOLIST - ] + hType sc_rvd_in [ + hType sc_uint [ + hLiteral 11 NOLIST ] ] ] ] - hSigdecl flush1_scclang_global_3 [ + hPortout s_ready [ hTypeinfo NONAME [ - hType sc_signal [ + hType sc_out [ hType _Bool NOLIST ] ] ] - hSigdecl k0_scclang_global_4 [ + hPortout m_flush [ hTypeinfo NONAME [ - hType sc_signal [ - hType sc_uint [ - hLiteral 6 NOLIST - ] + hType sc_out [ + hType _Bool NOLIST ] ] ] - hSigdecl last1_scclang_global_5 [ + hPortout m_bits [ hTypeinfo NONAME [ - hType sc_signal [ - hType _Bool NOLIST + hType sc_rvd_out [ + hType bits_t_64_ NOLIST ] ] ] - hSigdecl n0_scclang_global_6 [ + hSigdecl cs_scclang_global_0 [ hTypeinfo NONAME [ hType sc_signal [ - hType sc_uint [ - hLiteral 5 NOLIST - ] + hType state_t_ NOLIST ] ] ] - hSigdecl n1_scclang_global_7 [ + hSigdecl ns_scclang_global_1 [ hTypeinfo NONAME [ hType sc_signal [ - hType sc_uint [ - hLiteral 5 NOLIST - ] + hType state_t_ NOLIST ] ] ] - hSigdecl valid1_scclang_global_8 [ + hVardecl pre_w_scclang_global_2 [ hTypeinfo NONAME [ - hType sc_signal [ - hType _Bool NOLIST - ] + hType int NOLIST + ] + hVarInit NONAME [ + hLiteral 7 NOLIST ] ] - hVardecl planes_scclang_global_9 [ + hVardecl tbc_w_scclang_global_3 [ hTypeinfo NONAME [ hType int NOLIST ] hVarInit NONAME [ - hLiteral 64 NOLIST + hLiteral 12 NOLIST + ] + ] + hVardecl buf_w_scclang_global_4 [ + hTypeinfo NONAME [ + hType int NOLIST + ] + hVarInit NONAME [ + hLiteral 128 NOLIST + ] + ] + hVardecl pos_w_scclang_global_5 [ + hTypeinfo NONAME [ + hType int NOLIST + ] + hVarInit NONAME [ + hLiteral 8 NOLIST + ] + ] + hVardecl bc_actual_scclang_global_6 [ + hTypeinfo NONAME [ + hType sc_uint [ + hLiteral 12 NOLIST + ] + ] + ] + hVardecl bp_actual_scclang_global_7 [ + hTypeinfo NONAME [ + hType sc_bv [ + hLiteral 128 NOLIST + ] + ] + ] + hVardecl done_actual_scclang_global_8 [ + hTypeinfo NONAME [ + hType bool NOLIST ] ] ] hProcesses NONAME [ hProcess mc_proc [ hMethod mc_proc [ - hVardecl last_mc_proc_local_3 [ - hTypeinfo NONAME [ - hType bool NOLIST - ] - ] - hVardecl tmp_mc_proc_local_4 [ - hTypeinfo NONAME [ - hType sc_bv [ - hLiteral 16 NOLIST - ] - ] - ] - hVardecl j_mc_proc_local_5 [ - hTypeinfo NONAME [ - hType int NOLIST - ] - ] - hVardecl i_mc_proc_local_6 [ + hVardecl ts_mc_proc_local_2 [ hTypeinfo NONAME [ - hType int NOLIST - ] - ] - hCStmt NONAME [ - hVarAssign NONAME [ - hVarref last_mc_proc_local_3 NOLIST - hBinop || [ - hBinop == [ - hSigAssignR read [ - hVarref k0_scclang_global_4 NOLIST - ] - hBinop - [ - hLiteral 64 NOLIST - hLiteral 1 NOLIST - ] - ] - hBinop && [ - hSigAssignR read [ - hVarref s_flush NOLIST - ] - hBinop != [ - hSigAssignR read [ - hVarref s_flush NOLIST - ] - hSigAssignR read [ - hVarref flush1_scclang_global_3 NOLIST - ] - ] - ] - ] - ] - hForStmt NONAME [ - hVarAssign NONAME [ - hVarref j_mc_proc_local_5 NOLIST - hLiteral 0 NOLIST - ] - hBinop < [ - hVarref j_mc_proc_local_5 NOLIST - hLiteral 64 NOLIST - ] - hPostfix ++ [ - hVarref j_mc_proc_local_5 NOLIST - ] - hCStmt NONAME [ - hForStmt NONAME [ - hVarAssign NONAME [ - hVarref i_mc_proc_local_6 NOLIST - hLiteral 0 NOLIST - ] - hBinop < [ - hVarref i_mc_proc_local_6 NOLIST - hLiteral 16 NOLIST - ] - hPostfix ++ [ - hVarref i_mc_proc_local_6 NOLIST - ] - hCStmt NONAME [ - hBinop = [ - hBinop ARRAYSUBSCRIPT [ - hVarref tmp_mc_proc_local_4 NOLIST - hVarref i_mc_proc_local_6 NOLIST - ] - hBuiltinFunction to_bool [ - hBinop ARRAYSUBSCRIPT [ - hSigAssignR read [ - hBinop ARRAYSUBSCRIPT [ - hVarref s_block NOLIST - hVarref i_mc_proc_local_6 NOLIST - ] - ] - hVarref j_mc_proc_local_5 NOLIST - ] - ] - ] - ] - ] - hSigAssignL write [ - hBinop ARRAYSUBSCRIPT [ - hVarref c_bplane_scclang_global_2 NOLIST - hBinop - [ - hBinop - [ - hLiteral 64 NOLIST - hLiteral 1 NOLIST - ] - hVarref j_mc_proc_local_5 NOLIST - ] - ] - hVarref tmp_mc_proc_local_4 NOLIST - ] - ] - ] - hSigAssignL write [ - hVarref s_ready NOLIST - hBinop || [ - hBinop && [ - hVarref last_mc_proc_local_3 NOLIST - hSigAssignR read [ - hVarref m_ready NOLIST - ] - ] - hUnop ! [ - hSigAssignR read [ - hVarref s_valid NOLIST - ] - ] - ] + hType state_t_ NOLIST ] ] - ] - ] - hProcess ms_proc [ - hMethod ms_proc [ - hVardecl last_ms_proc_local_7 [ + hVardecl dis_done_mc_proc_local_3 [ hTypeinfo NONAME [ hType bool NOLIST ] ] - hVardecl b_ms_proc_local_8 [ - hTypeinfo NONAME [ - hType unsigned_int NOLIST - ] - ] - hVardecl frst_ms_proc_local_9 [ + hVardecl add_done_mc_proc_local_4 [ hTypeinfo NONAME [ hType bool NOLIST ] ] - hVardecl i_ms_proc_local_10 [ - hTypeinfo NONAME [ - hType unsigned_int NOLIST - ] - ] - hVardecl tmp_ms_proc_local_11 [ - hTypeinfo NONAME [ - hType sc_bv [ - hLiteral 33 NOLIST - ] - ] - ] - hVardecl n_ms_proc_local_12 [ - hTypeinfo NONAME [ - hType unsigned_int NOLIST - ] - ] - hVardecl shiftamt_ms_proc_local_13 [ - hTypeinfo NONAME [ - hType unsigned_int NOLIST - ] - ] - hVardecl n1_shiftamt_ms_proc_local_14 [ - hTypeinfo NONAME [ - hType unsigned_int NOLIST - ] - ] - hVardecl first_after_bc_ms_proc_local_15 [ - hTypeinfo NONAME [ - hType unsigned_int NOLIST - ] - ] - hVardecl last_n_ms_proc_local_16 [ - hTypeinfo NONAME [ - hType unsigned_int NOLIST - ] - ] - hVardecl found_ms_proc_local_17 [ + hVardecl pad_done_mc_proc_local_5 [ hTypeinfo NONAME [ hType bool NOLIST ] ] - hVardecl shiftmask_ms_proc_local_18 [ + hVardecl fls_done_mc_proc_local_6 [ hTypeinfo NONAME [ - hType sc_bv [ - hLiteral 33 NOLIST - ] + hType bool NOLIST ] ] - hVardecl delta_ms_proc_local_19 [ + hVardecl pbits_mc_proc_local_7 [ hTypeinfo NONAME [ - hType unsigned_int NOLIST + hType sc_uint [ + hLiteral 12 NOLIST + ] ] ] - hVardecl shiftmask_2_ms_proc_local_20 [ + hVardecl abits_mc_proc_local_8 [ hTypeinfo NONAME [ - hType sc_bv [ - hLiteral 33 NOLIST + hType sc_uint [ + hLiteral 12 NOLIST ] ] ] - hVardecl j_ms_proc_local_21 [ + hVardecl n_mc_proc_local_9 [ hTypeinfo NONAME [ - hType unsigned_int NOLIST + hType sc_uint [ + hLiteral 12 NOLIST + ] ] ] hCStmt NONAME [ - hIfStmt NONAME [ - hBinop == [ - hVarref reset NOLIST - hLiteral 0 NOLIST - ] + hMethodCall zhw__encode_streamfp_t11_52_2_bits_t64__state_t__state_t_func_0 [ + hVarref ts_mc_proc_local_2 NOLIST + ] + hSigAssignL write [ + hVarref s_ex##ready NOLIST + hLiteral 0 NOLIST + ] + hSigAssignL write [ + hVarref s_ready NOLIST + hLiteral 0 NOLIST + ] + hSigAssignL write [ + hVarref m_flush NOLIST + hLiteral 0 NOLIST + ] + hSigAssignL write [ + hVarref m_bits##valid NOLIST + hLiteral 0 NOLIST + ] + hBinop = [ + hVarref ts_mc_proc_local_2 NOLIST + hVarref cs_scclang_global_0 NOLIST + ] + hSwitchStmt NONAME [ + hVarref ts_mc_proc_local_2##s NOLIST hCStmt NONAME [ - hBinop = [ - hVarref k0_scclang_global_4 NOLIST - hLiteral 0 [ - hTypeinfo NONAME [ - hType sc_uint [ - hLiteral 6 NOLIST - ] - ] - ] - ] - hBinop = [ - hVarref n0_scclang_global_6 NOLIST - hLiteral 0 [ - hTypeinfo NONAME [ - hType sc_uint [ - hLiteral 5 NOLIST - ] - ] - ] - ] - hBinop = [ - hVarref n1_scclang_global_7 NOLIST - hLiteral 0 [ - hTypeinfo NONAME [ - hType sc_uint [ - hLiteral 5 NOLIST - ] - ] - ] - ] - hBinop = [ - hVarref bc1_scclang_global_0 NOLIST - hLiteral 0 [ - hTypeinfo NONAME [ - hType sc_uint [ - hLiteral 5 NOLIST - ] - ] - ] - ] - hBinop = [ - hVarref m_bc NOLIST - hLiteral 0 [ - hTypeinfo NONAME [ - hType sc_uint [ - hLiteral 6 NOLIST - ] - ] - ] - ] - hBinop = [ - hVarref bp1_scclang_global_1 NOLIST - hLiteral 0 [ - hTypeinfo NONAME [ - hType sc_bv [ - hLiteral 16 NOLIST - ] - ] - ] - ] - hBinop = [ - hVarref m_bp NOLIST - hLiteral 0 [ - hTypeinfo NONAME [ - hType sc_bv [ - hLiteral 33 NOLIST - ] - ] - ] - ] - hBinop = [ - hVarref last1_scclang_global_5 NOLIST - hLiteral 0 NOLIST - ] - hBinop = [ - hVarref m_last NOLIST - hLiteral 0 NOLIST - ] - hBinop = [ - hVarref valid1_scclang_global_8 NOLIST - hLiteral 0 NOLIST - ] - hBinop = [ - hVarref m_valid NOLIST + hSwitchCase NONAME [ hLiteral 0 NOLIST - ] - ] - hCStmt NONAME [ - hIfStmt NONAME [ - hSigAssignR read [ - hVarref m_ready NOLIST - ] hCStmt NONAME [ - hVarAssign NONAME [ - hVarref last_ms_proc_local_7 NOLIST - hBinop || [ - hBinop == [ - hSigAssignR read [ - hVarref k0_scclang_global_4 NOLIST - ] - hBinop - [ - hLiteral 64 NOLIST - hLiteral 1 NOLIST - ] - ] - hBinop && [ - hSigAssignR read [ - hVarref s_flush NOLIST - ] - hBinop != [ - hSigAssignR read [ - hVarref s_flush NOLIST - ] - hSigAssignR read [ - hVarref flush1_scclang_global_3 NOLIST - ] - ] + hBinop = [ + hVarref ts_mc_proc_local_2##prec NOLIST + hBuiltinFunction sc_min [ + hSigAssignR read [ + hVarref maxprec NOLIST ] - ] - ] - hVarAssign NONAME [ - hVarref b_ms_proc_local_8 NOLIST - hLiteral 0 NOLIST - ] - hVarAssign NONAME [ - hVarref frst_ms_proc_local_9 NOLIST - hLiteral 1 NOLIST - ] - hForStmt NONAME [ - hVarAssign NONAME [ - hVarref i_ms_proc_local_10 NOLIST - hLiteral 16 NOLIST - ] - hBinop > [ - hVarref i_ms_proc_local_10 NOLIST - hLiteral 0 NOLIST - ] - hPostfix -- [ - hVarref i_ms_proc_local_10 NOLIST - ] - hCStmt NONAME [ - hIfStmt NONAME [ - hBinop ARRAYSUBSCRIPT [ - hSigAssignR read [ - hBinop ARRAYSUBSCRIPT [ - hVarref c_bplane_scclang_global_2 NOLIST - hSigAssignR read [ - hVarref k0_scclang_global_4 NOLIST - ] - ] - ] + hBuiltinFunction sc_max [ + hLiteral 0 NOLIST + hBinop + [ hBinop - [ - hVarref i_ms_proc_local_10 NOLIST - hLiteral 1 NOLIST - ] - ] - hCStmt NONAME [ - hIfStmt NONAME [ - hVarref frst_ms_proc_local_9 NOLIST - hCStmt NONAME [ - hBinop = [ - hVarref frst_ms_proc_local_9 NOLIST - hLiteral 0 NOLIST - ] - hBinop = [ - hVarref b_ms_proc_local_8 NOLIST - hVarref i_ms_proc_local_10 NOLIST - ] + hSigAssignR read [ + hVarref s_ex##data NOLIST ] - ] - ] - ] - ] - ] - hSigAssignL write [ - hVarref n1_scclang_global_7 NOLIST - hSigAssignR read [ - hVarref n0_scclang_global_6 NOLIST - ] - ] - hSigAssignL write [ - hVarref bc1_scclang_global_0 NOLIST - hVarref b_ms_proc_local_8 NOLIST - ] - hSigAssignL write [ - hVarref bp1_scclang_global_1 NOLIST - hSigAssignR read [ - hBinop ARRAYSUBSCRIPT [ - hVarref c_bplane_scclang_global_2 NOLIST - hSigAssignR read [ - hVarref k0_scclang_global_4 NOLIST + hSigAssignR read [ + hVarref minexp NOLIST + ] + ] + hBinop * [ + hLiteral 2 NOLIST + hBinop + [ + hLiteral 2 NOLIST + hLiteral 1 NOLIST + ] + ] ] ] ] ] - hSigAssignL write [ - hVarref last1_scclang_global_5 NOLIST - hVarref last_ms_proc_local_7 NOLIST + hBinop = [ + hVarref ts_mc_proc_local_2##bits NOLIST + hLiteral 0 NOLIST ] - hSigAssignL write [ - hVarref valid1_scclang_global_8 NOLIST - hSigAssignR read [ - hVarref s_valid NOLIST - ] + hBinop = [ + hVarref ts_mc_proc_local_2##planes NOLIST + hLiteral 0 NOLIST ] - hSigAssignL write [ - hVarref flush1_scclang_global_3 NOLIST - hSigAssignR read [ - hVarref s_flush NOLIST - ] + hBinop = [ + hVarref ts_mc_proc_local_2##buf NOLIST + hLiteral 0 NOLIST + ] + hBinop = [ + hVarref ts_mc_proc_local_2##posr NOLIST + hLiteral 0 NOLIST + ] + hBinop = [ + hVarref ts_mc_proc_local_2##posw NOLIST + hLiteral 0 NOLIST ] hIfStmt NONAME [ hSigAssignR read [ - hVarref s_valid NOLIST + hVarref s_ex##valid NOLIST ] hCStmt NONAME [ hIfStmt NONAME [ - hBinop > [ - hVarref b_ms_proc_local_8 NOLIST - hSigAssignR read [ - hVarref n0_scclang_global_6 NOLIST + hBinop && [ + hBinop != [ + hSigAssignR read [ + hVarref s_ex##data NOLIST + ] + hLiteral 0 NOLIST + ] + hBinop != [ + hVarref ts_mc_proc_local_2##prec NOLIST + hLiteral 0 NOLIST ] ] - hSigAssignL write [ - hVarref n0_scclang_global_6 NOLIST - hVarref b_ms_proc_local_8 NOLIST - ] - ] - hIfStmt NONAME [ - hVarref last_ms_proc_local_7 NOLIST hCStmt NONAME [ hBinop = [ - hVarref k0_scclang_global_4 NOLIST - hLiteral 0 [ - hTypeinfo NONAME [ - hType sc_uint [ - hLiteral 6 NOLIST - ] - ] - ] - ] - hBinop = [ - hVarref n0_scclang_global_6 NOLIST - hLiteral 0 [ - hTypeinfo NONAME [ - hType sc_uint [ - hLiteral 5 NOLIST - ] - ] - ] + hVarref ts_mc_proc_local_2##s NOLIST + hLiteral 2 NOLIST ] ] - hBinop = [ - hVarref k0_scclang_global_4 NOLIST - hBinop + [ - hSigAssignR read [ - hVarref k0_scclang_global_4 NOLIST - ] + hCStmt NONAME [ + hBinop = [ + hVarref ts_mc_proc_local_2##s NOLIST hLiteral 1 NOLIST ] ] ] ] ] - hVarAssign NONAME [ - hVarref tmp_ms_proc_local_11 NOLIST - hLiteral 0 [ - hTypeinfo NONAME [ - hType sc_bv [ - hLiteral 33 NOLIST - ] - ] + hBreak NONAME NOLIST + ] + ] + hSwitchCase NONAME [ + hLiteral 1 NOLIST + hCStmt NONAME [ + hBinop = [ + hBinop ARRAYSUBSCRIPT [ + hVarref ts_mc_proc_local_2##buf NOLIST + hLiteral 0 NOLIST ] - ] - hVarAssign NONAME [ - hVarref shiftamt_ms_proc_local_13 NOLIST hLiteral 0 NOLIST ] - hVarAssign NONAME [ - hVarref n1_shiftamt_ms_proc_local_14 NOLIST - hLiteral 0 NOLIST + hBinop = [ + hVarref ts_mc_proc_local_2##bits NOLIST + hLiteral 1 NOLIST ] - hVarAssign NONAME [ - hVarref first_after_bc_ms_proc_local_15 NOLIST - hSigAssignR read [ - hVarref n1_scclang_global_7 NOLIST + hBinop = [ + hVarref ts_mc_proc_local_2##posw NOLIST + hLiteral 1 NOLIST + ] + hSigAssignL write [ + hVarref s_ex##ready NOLIST + hLiteral 1 NOLIST + ] + hBinop = [ + hVarref ts_mc_proc_local_2##s NOLIST + hLiteral 4 NOLIST + ] + hBreak NONAME NOLIST + ] + ] + hSwitchCase NONAME [ + hLiteral 2 NOLIST + hCStmt NONAME [ + hBinop = [ + hBinop ARRAYSUBSCRIPT [ + hVarref ts_mc_proc_local_2##buf NOLIST + hLiteral 0 NOLIST ] + hLiteral 1 NOLIST ] - hVarAssign NONAME [ - hVarref last_n_ms_proc_local_16 NOLIST + hBinop = [ + hBinop SLICE [ + hVarref ts_mc_proc_local_2##buf NOLIST + hLiteral 11 NOLIST + hLiteral 1 NOLIST + ] hSigAssignR read [ - hVarref n1_scclang_global_7 NOLIST + hVarref s_ex##data NOLIST ] ] - hVarAssign NONAME [ - hVarref found_ms_proc_local_17 NOLIST - hLiteral 0 NOLIST - ] hBinop = [ - hVarref shiftamt_ms_proc_local_13 NOLIST - hLiteral 0 NOLIST + hVarref ts_mc_proc_local_2##bits NOLIST + hBinop + [ + hLiteral 11 NOLIST + hLiteral 1 NOLIST + ] ] - hForStmt NONAME [ - hBinop = [ - hVarref n_ms_proc_local_12 NOLIST - hLiteral 0 NOLIST + hBinop = [ + hVarref ts_mc_proc_local_2##posw NOLIST + hBinop + [ + hLiteral 11 NOLIST + hLiteral 1 NOLIST ] + ] + hSigAssignL write [ + hVarref s_ex##ready NOLIST + hLiteral 1 NOLIST + ] + hIfStmt NONAME [ hBinop < [ - hVarref n_ms_proc_local_12 NOLIST - hLiteral 16 NOLIST + hVarref ts_mc_proc_local_2##planes NOLIST + hVarref ts_mc_proc_local_2##prec NOLIST ] - hPostfix ++ [ - hVarref n_ms_proc_local_12 NOLIST + hBinop = [ + hVarref ts_mc_proc_local_2##s NOLIST + hLiteral 3 NOLIST ] - hCStmt NONAME [ - hIfStmt NONAME [ - hBinop == [ - hVarref n_ms_proc_local_12 NOLIST - hSigAssignR read [ - hVarref n1_scclang_global_7 NOLIST - ] - ] - hCStmt NONAME [ - hBinop = [ - hVarref n1_shiftamt_ms_proc_local_14 NOLIST - hVarref shiftamt_ms_proc_local_13 NOLIST - ] - ] - ] - hIfStmt NONAME [ - hBinop == [ - hVarref n_ms_proc_local_12 NOLIST - hLiteral 0 NOLIST - ] - hCStmt NONAME [ - hBinop += [ - hVarref shiftamt_ms_proc_local_13 NOLIST - hLiteral 2 NOLIST - ] - hIfStmt NONAME [ - hBinop ARRAYSUBSCRIPT [ - hSigAssignR read [ - hVarref bp1_scclang_global_1 NOLIST - ] - hLiteral 0 NOLIST - ] - hCStmt NONAME [ - hBinop = [ - hBinop ARRAYSUBSCRIPT [ - hVarref tmp_ms_proc_local_11 NOLIST - hLiteral 0 NOLIST - ] - hLiteral 1 NOLIST - ] - hBinop = [ - hBinop ARRAYSUBSCRIPT [ - hVarref tmp_ms_proc_local_11 NOLIST - hLiteral 1 NOLIST - ] - hLiteral 1 NOLIST - ] - ] - hCStmt NONAME [ - hBinop = [ - hBinop ARRAYSUBSCRIPT [ - hVarref tmp_ms_proc_local_11 NOLIST - hLiteral 0 NOLIST - ] - hLiteral 1 NOLIST - ] - hBinop = [ - hBinop ARRAYSUBSCRIPT [ - hVarref tmp_ms_proc_local_11 NOLIST - hLiteral 1 NOLIST - ] - hLiteral 0 NOLIST - ] - ] + hBinop = [ + hVarref ts_mc_proc_local_2##s NOLIST + hLiteral 4 NOLIST + ] + ] + hBreak NONAME NOLIST + ] + ] + hSwitchCase NONAME [ + hLiteral 3 NOLIST + hCStmt NONAME [ + hIfStmt NONAME [ + hSigAssignR read [ + hVarref s_valid NOLIST + ] + hCStmt NONAME [ + hIfStmt NONAME [ + hMethodCall zhw__encode_streamfp_t11_52_2_bits_t64__pack_bits_func_1 [ + hVarref ts_mc_proc_local_2 NOLIST + hSigAssignR read [ + hVarref s_bc NOLIST + ] + hSigAssignR read [ + hVarref s_bp NOLIST ] ] hCStmt NONAME [ + hSigAssignL write [ + hVarref s_ready NOLIST + hLiteral 1 NOLIST + ] hIfStmt NONAME [ - hBinop && [ - hBuiltinFunction to_bool [ - hBinop ARRAYSUBSCRIPT [ - hSigAssignR read [ - hVarref bp1_scclang_global_1 NOLIST - ] - hVarref n_ms_proc_local_12 NOLIST - ] - ] - hBuiltinFunction to_bool [ - hBinop ARRAYSUBSCRIPT [ - hSigAssignR read [ - hVarref bp1_scclang_global_1 NOLIST - ] - hBinop - [ - hVarref n_ms_proc_local_12 NOLIST - hLiteral 1 NOLIST - ] - ] - ] + hSigAssignR read [ + hVarref s_last NOLIST ] - hCStmt NONAME [ - hBinop = [ - hBinop ARRAYSUBSCRIPT [ - hVarref tmp_ms_proc_local_11 NOLIST - hVarref shiftamt_ms_proc_local_13 NOLIST - ] - hLiteral 1 NOLIST - ] - hBinop = [ - hBinop ARRAYSUBSCRIPT [ - hVarref tmp_ms_proc_local_11 NOLIST - hBinop + [ - hVarref shiftamt_ms_proc_local_13 NOLIST - hLiteral 1 NOLIST - ] - ] - hLiteral 1 NOLIST - ] - hBinop = [ - hVarref shiftamt_ms_proc_local_13 NOLIST - hBinop + [ - hVarref shiftamt_ms_proc_local_13 NOLIST - hLiteral 2 NOLIST - ] - ] + hBinop = [ + hVarref ts_mc_proc_local_2##planes NOLIST + hLiteral 64 NOLIST ] - hIfStmt NONAME [ - hBinop && [ - hBuiltinFunction to_bool [ - hBinop ARRAYSUBSCRIPT [ - hSigAssignR read [ - hVarref bp1_scclang_global_1 NOLIST - ] - hVarref n_ms_proc_local_12 NOLIST - ] - ] - hUnop ! [ - hBuiltinFunction to_bool [ - hBinop ARRAYSUBSCRIPT [ - hSigAssignR read [ - hVarref bp1_scclang_global_1 NOLIST - ] - hBinop - [ - hVarref n_ms_proc_local_12 NOLIST - hLiteral 1 NOLIST - ] - ] - ] - ] - ] - hCStmt NONAME [ - hIfStmt NONAME [ - hBinop != [ - hVarref n_ms_proc_local_12 NOLIST - hBinop - [ - hLiteral 16 NOLIST - hLiteral 1 NOLIST - ] - ] - hCStmt NONAME [ - hBinop = [ - hBinop ARRAYSUBSCRIPT [ - hVarref tmp_ms_proc_local_11 NOLIST - hVarref shiftamt_ms_proc_local_13 NOLIST - ] - hLiteral 1 NOLIST - ] - hBinop = [ - hVarref shiftamt_ms_proc_local_13 NOLIST - hBinop + [ - hVarref shiftamt_ms_proc_local_13 NOLIST - hLiteral 1 NOLIST - ] - ] - ] - ] - ] - hIfStmt NONAME [ - hBinop && [ - hUnop ! [ - hBuiltinFunction to_bool [ - hBinop ARRAYSUBSCRIPT [ - hSigAssignR read [ - hVarref bp1_scclang_global_1 NOLIST - ] - hVarref n_ms_proc_local_12 NOLIST - ] - ] - ] - hUnop ! [ - hBuiltinFunction to_bool [ - hBinop ARRAYSUBSCRIPT [ - hSigAssignR read [ - hVarref bp1_scclang_global_1 NOLIST - ] - hBinop - [ - hVarref n_ms_proc_local_12 NOLIST - hLiteral 1 NOLIST - ] - ] - ] - ] - ] - hCStmt NONAME [ - hBinop = [ - hBinop ARRAYSUBSCRIPT [ - hVarref tmp_ms_proc_local_11 NOLIST - hVarref shiftamt_ms_proc_local_13 NOLIST - ] - hLiteral 0 NOLIST - ] - hBinop = [ - hVarref shiftamt_ms_proc_local_13 NOLIST - hBinop + [ - hVarref shiftamt_ms_proc_local_13 NOLIST - hLiteral 1 NOLIST - ] - ] - ] - hIfStmt NONAME [ - hBinop && [ - hUnop ! [ - hBuiltinFunction to_bool [ - hBinop ARRAYSUBSCRIPT [ - hSigAssignR read [ - hVarref bp1_scclang_global_1 NOLIST - ] - hVarref n_ms_proc_local_12 NOLIST - ] - ] - ] - hBuiltinFunction to_bool [ - hBinop ARRAYSUBSCRIPT [ - hSigAssignR read [ - hVarref bp1_scclang_global_1 NOLIST - ] - hBinop - [ - hVarref n_ms_proc_local_12 NOLIST - hLiteral 1 NOLIST - ] - ] - ] - ] - hCStmt NONAME [ - hBinop = [ - hBinop ARRAYSUBSCRIPT [ - hVarref tmp_ms_proc_local_11 NOLIST - hVarref shiftamt_ms_proc_local_13 NOLIST - ] - hLiteral 1 NOLIST - ] - hBinop = [ - hBinop ARRAYSUBSCRIPT [ - hVarref tmp_ms_proc_local_11 NOLIST - hBinop + [ - hVarref shiftamt_ms_proc_local_13 NOLIST - hLiteral 1 NOLIST - ] - ] - hLiteral 0 NOLIST - ] - hBinop = [ - hVarref shiftamt_ms_proc_local_13 NOLIST - hBinop + [ - hVarref shiftamt_ms_proc_local_13 NOLIST - hLiteral 2 NOLIST - ] - ] - ] - ] + hBinop = [ + hVarref ts_mc_proc_local_2##planes NOLIST + hBinop + [ + hVarref ts_mc_proc_local_2##planes NOLIST + hLiteral 1 NOLIST ] ] ] ] ] + ] + hSigAssignL write [ + hVarref s_ready NOLIST + hLiteral 1 NOLIST + ] + ] + hBinop = [ + hVarref dis_done_mc_proc_local_3 NOLIST + hBinop == [ + hVarref ts_mc_proc_local_2##planes NOLIST + hLiteral 64 NOLIST + ] + ] + hBinop = [ + hVarref add_done_mc_proc_local_4 NOLIST + hBinop || [ + hBinop >= [ + hVarref ts_mc_proc_local_2##planes NOLIST + hVarref ts_mc_proc_local_2##prec NOLIST + ] + hBinop >= [ + hVarref ts_mc_proc_local_2##bits NOLIST + hSigAssignR read [ + hVarref maxbits NOLIST + ] + ] + ] + ] + hBinop = [ + hVarref pad_done_mc_proc_local_5 NOLIST + hBinop >= [ + hVarref ts_mc_proc_local_2##bits NOLIST + hSigAssignR read [ + hVarref minbits NOLIST + ] + ] + ] + hBinop = [ + hVarref fls_done_mc_proc_local_6 NOLIST + hMethodCall zhw__encode_streamfp_t11_52_2_bits_t64__out_bits_func_2 [ + hVarref ts_mc_proc_local_2 NOLIST + hBinop && [ + hVarref add_done_mc_proc_local_4 NOLIST + hVarref pad_done_mc_proc_local_5 NOLIST + ] + ] + ] + hIfStmt NONAME [ + hVarref add_done_mc_proc_local_4 NOLIST + hCStmt NONAME [ hIfStmt NONAME [ hBinop && [ hBinop && [ - hBinop && [ - hUnop ! [ - hVarref found_ms_proc_local_17 NOLIST - ] - hBuiltinFunction to_bool [ - hBinop ARRAYSUBSCRIPT [ - hSigAssignR read [ - hVarref bp1_scclang_global_1 NOLIST - ] - hVarref n_ms_proc_local_12 NOLIST - ] - ] - ] - hBinop >= [ - hVarref n_ms_proc_local_12 NOLIST + hVarref dis_done_mc_proc_local_3 NOLIST + hVarref pad_done_mc_proc_local_5 NOLIST + ] + hVarref fls_done_mc_proc_local_6 NOLIST + ] + hBinop = [ + hVarref ts_mc_proc_local_2##s NOLIST + hLiteral 0 NOLIST + ] + hBinop = [ + hVarref ts_mc_proc_local_2##s NOLIST + hLiteral 4 NOLIST + ] + ] + ] + ] + hBreak NONAME NOLIST + ] + ] + hSwitchCase NONAME [ + hLiteral 4 NOLIST + hCStmt NONAME [ + hIfStmt NONAME [ + hSigAssignR read [ + hVarref s_valid NOLIST + ] + hCStmt NONAME [ + hIfStmt NONAME [ + hBinop < [ + hVarref ts_mc_proc_local_2##planes NOLIST + hLiteral 64 NOLIST + ] + hCStmt NONAME [ + hIfStmt NONAME [ + hBinop < [ + hVarref ts_mc_proc_local_2##planes NOLIST hBinop - [ - hSigAssignR read [ - hVarref bc1_scclang_global_0 NOLIST - ] - hLiteral 1 NOLIST + hLiteral 64 NOLIST + hLiteral 2 NOLIST ] ] - ] - hBinop < [ - hVarref n1_scclang_global_7 NOLIST - hSigAssignR read [ - hVarref bc1_scclang_global_0 NOLIST + hSigAssignL write [ + hVarref m_flush NOLIST + hLiteral 1 NOLIST ] ] - ] - hCStmt NONAME [ - hBinop = [ - hVarref found_ms_proc_local_17 NOLIST + hSigAssignL write [ + hVarref s_ready NOLIST hLiteral 1 NOLIST ] hIfStmt NONAME [ - hBinop && [ - hBuiltinFunction to_bool [ - hBinop ARRAYSUBSCRIPT [ - hSigAssignR read [ - hVarref bp1_scclang_global_1 NOLIST - ] - hVarref n_ms_proc_local_12 NOLIST - ] - ] - hUnop ! [ - hBuiltinFunction to_bool [ - hBinop ARRAYSUBSCRIPT [ - hSigAssignR read [ - hVarref bp1_scclang_global_1 NOLIST - ] - hBinop - [ - hVarref n_ms_proc_local_12 NOLIST - hLiteral 1 NOLIST - ] - ] - ] - ] + hSigAssignR read [ + hVarref s_last NOLIST ] - hCStmt NONAME [ - hIfStmt NONAME [ - hBinop != [ - hVarref n_ms_proc_local_12 NOLIST - hBinop - [ - hLiteral 16 NOLIST - hLiteral 1 NOLIST - ] - ] - hBinop = [ - hVarref first_after_bc_ms_proc_local_15 NOLIST - hVarref shiftamt_ms_proc_local_13 NOLIST - ] - hCStmt NONAME [ - hIfStmt NONAME [ - hBinop == [ - hSigAssignR read [ - hVarref bc1_scclang_global_0 NOLIST - ] - hLiteral 16 NOLIST - ] - hCStmt NONAME [ - hBinop = [ - hVarref first_after_bc_ms_proc_local_15 NOLIST - hVarref shiftamt_ms_proc_local_13 NOLIST - ] - ] - hCStmt NONAME [ - hBinop = [ - hVarref first_after_bc_ms_proc_local_15 NOLIST - hBinop - [ - hVarref shiftamt_ms_proc_local_13 NOLIST - hLiteral 1 NOLIST - ] - ] - ] - ] - ] - ] + hBinop = [ + hVarref ts_mc_proc_local_2##planes NOLIST + hLiteral 64 NOLIST ] - hCStmt NONAME [ - hIfStmt NONAME [ - hBinop != [ - hVarref n_ms_proc_local_12 NOLIST - hBinop - [ - hLiteral 16 NOLIST - hLiteral 1 NOLIST - ] - ] - hBinop = [ - hVarref first_after_bc_ms_proc_local_15 NOLIST - hVarref shiftamt_ms_proc_local_13 NOLIST - ] - hBinop = [ - hVarref first_after_bc_ms_proc_local_15 NOLIST - hBinop - [ - hVarref shiftamt_ms_proc_local_13 NOLIST - hLiteral 1 NOLIST - ] - ] + hBinop = [ + hVarref ts_mc_proc_local_2##planes NOLIST + hBinop + [ + hVarref ts_mc_proc_local_2##planes NOLIST + hLiteral 1 NOLIST ] ] ] - hBinop = [ - hVarref last_n_ms_proc_local_16 NOLIST - hBinop + [ - hVarref n_ms_proc_local_12 NOLIST + ] + ] + ] + hSigAssignL write [ + hVarref s_ready NOLIST + hLiteral 1 NOLIST + ] + ] + hIfStmt NONAME [ + hBinop < [ + hVarref ts_mc_proc_local_2##bits NOLIST + hSigAssignR read [ + hVarref minbits NOLIST + ] + ] + hCStmt NONAME [ + hVarAssign NONAME [ + hVarref pbits_mc_proc_local_7 NOLIST + hBinop - [ + hSigAssignR read [ + hVarref minbits NOLIST + ] + hVarref ts_mc_proc_local_2##bits NOLIST + ] + ] + hVarAssign NONAME [ + hVarref abits_mc_proc_local_8 NOLIST + hBinop - [ + hLiteral 64 NOLIST + hBinop & [ + hVarref ts_mc_proc_local_2##bits NOLIST + hBinop - [ + hLiteral 64 NOLIST hLiteral 1 NOLIST ] ] ] ] + hVarAssign NONAME [ + hVarref n_mc_proc_local_9 NOLIST + hBuiltinFunction sc_min [ + hVarref pbits_mc_proc_local_7 NOLIST + hVarref abits_mc_proc_local_8 NOLIST + ] + ] + hMethodCall zhw__encode_streamfp_t11_52_2_bits_t64__pack_bits_func_1 [ + hVarref ts_mc_proc_local_2 NOLIST + hVarref n_mc_proc_local_9 NOLIST + hLiteral 0 [ + hTypeinfo NONAME [ + hType sc_bv [ + hLiteral 64 NOLIST + ] + ] + ] + ] + ] + ] + hBinop = [ + hVarref dis_done_mc_proc_local_3 NOLIST + hBinop == [ + hVarref ts_mc_proc_local_2##planes NOLIST + hLiteral 64 NOLIST + ] + ] + hBinop = [ + hVarref pad_done_mc_proc_local_5 NOLIST + hBinop >= [ + hVarref ts_mc_proc_local_2##bits NOLIST + hSigAssignR read [ + hVarref minbits NOLIST + ] + ] + ] + hBinop = [ + hVarref fls_done_mc_proc_local_6 NOLIST + hMethodCall zhw__encode_streamfp_t11_52_2_bits_t64__out_bits_func_2 [ + hVarref ts_mc_proc_local_2 NOLIST + hVarref pad_done_mc_proc_local_5 NOLIST + ] + ] + hIfStmt NONAME [ + hBinop && [ + hBinop && [ + hVarref dis_done_mc_proc_local_3 NOLIST + hVarref pad_done_mc_proc_local_5 NOLIST + ] + hVarref fls_done_mc_proc_local_6 NOLIST + ] + hBinop = [ + hVarref ts_mc_proc_local_2##s NOLIST + hLiteral 0 NOLIST ] ] - hVarAssign NONAME [ - hVarref shiftmask_ms_proc_local_18 NOLIST - hUnop - [ - hLiteral 1 NOLIST + hBreak NONAME NOLIST + ] + ] + ] + ] + hBinop = [ + hVarref ns_scclang_global_1 NOLIST + hVarref ts_mc_proc_local_2 NOLIST + ] + ] + ] + ] + hProcess ms_proc [ + hMethod ms_proc [ + hCStmt NONAME [ + hIfStmt NONAME [ + hBinop == [ + hVarref reset NOLIST + hLiteral 0 NOLIST + ] + hCStmt NONAME [ + hBinop = [ + hVarref cs_scclang_global_0 NOLIST + hLiteral 0 NOLIST + ] + ] + hCStmt NONAME [ + hBinop = [ + hVarref cs_scclang_global_0 NOLIST + hVarref ns_scclang_global_1 NOLIST + ] + ] + ] + ] + ] + ] + hFunction zhw__encode_streamfp_t11_52_2_bits_t64__pack_bits_func_1 [ + hFunctionRetType NONAME [ + hTypeinfo NONAME [ + hType bool NOLIST + ] + ] + hFunctionParams NONAME [ + hFunctionParamRef ts [ + hTypeinfo NONAME [ + hType state_t_ NOLIST + ] + ] + hFunctionParamI bc [ + hTypeinfo NONAME [ + hType sc_uint [ + hLiteral 12 NOLIST + ] + ] + ] + hFunctionParamI bp [ + hTypeinfo NONAME [ + hType sc_bv [ + hLiteral 128 NOLIST + ] + ] + ] + ] + hVardecl n__local_10 [ + hTypeinfo NONAME [ + hType sc_uint [ + hLiteral 12 NOLIST + ] + ] + ] + hCStmt NONAME [ + hBinop = [ + hVarref bc_actual_scclang_global_6 NOLIST + hVarref bc NOLIST + ] + hBinop = [ + hVarref bp_actual_scclang_global_7 NOLIST + hVarref bp NOLIST + ] + hBinop = [ + hVarref n__local_10 NOLIST + hBuiltinFunction sc_min [ + hVarref bc_actual_scclang_global_6 NOLIST + hBinop - [ + hSigAssignR read [ + hVarref maxbits NOLIST + ] + hVarref ts##bits NOLIST + ] + ] + ] + hIfStmt NONAME [ + hBinop >= [ + hBinop - [ + hLiteral 128 NOLIST + hVarref ts##posw NOLIST + ] + hVarref n__local_10 NOLIST + ] + hCStmt NONAME [ + hBinop = [ + hBinop SLICE [ + hVarref ts##buf NOLIST + hBinop - [ + hBinop + [ + hVarref ts##posw NOLIST + hVarref n__local_10 NOLIST + ] + hLiteral 1 NOLIST + ] + hVarref ts##posw NOLIST + ] + hBinop SLICE [ + hVarref bp_actual_scclang_global_7 NOLIST + hBinop - [ + hVarref n__local_10 NOLIST + hLiteral 1 NOLIST + ] + hLiteral 0 NOLIST + ] + ] + hBinop = [ + hVarref ts##bits NOLIST + hBinop + [ + hVarref ts##bits NOLIST + hVarref n__local_10 NOLIST + ] + ] + hBinop = [ + hVarref ts##posw NOLIST + hBinop + [ + hVarref ts##posw NOLIST + hVarref n__local_10 NOLIST + ] + ] + hReturnStmt NONAME [ + hLiteral 1 NOLIST + ] + ] + ] + hReturnStmt NONAME [ + hLiteral 0 NOLIST + ] + ] + ] + hFunction zhw__encode_streamfp_t11_52_2_bits_t64__out_bits_func_2 [ + hFunctionRetType NONAME [ + hTypeinfo NONAME [ + hType bool NOLIST + ] + ] + hFunctionParams NONAME [ + hFunctionParamRef ts [ + hTypeinfo NONAME [ + hType state_t_ NOLIST + ] + ] + hFunctionParamI done [ + hTypeinfo NONAME [ + hType bool NOLIST + ] + ] + ] + hVardecl bbits__local_11 [ + hTypeinfo NONAME [ + hType sc_uint [ + hLiteral 8 NOLIST + ] + ] + ] + hVardecl flit__local_12 [ + hTypeinfo NONAME [ + hType bits_t_64_ NOLIST + ] + ] + hCStmt NONAME [ + hBinop = [ + hVarref done_actual_scclang_global_8 NOLIST + hVarref done NOLIST + ] + hBinop = [ + hVarref bbits__local_11 NOLIST + hBinop - [ + hVarref ts##posw NOLIST + hVarref ts##posr NOLIST + ] + ] + hIfStmt NONAME [ + hBinop && [ + hBinop >= [ + hVarref bbits__local_11 NOLIST + hLiteral 64 NOLIST + ] + hSigAssignR read [ + hVarref m_bits##ready NOLIST + ] + ] + hCStmt NONAME [ + hMethodCall bits_t64__bits_t_func_3 [ + hVarref flit__local_12 NOLIST + ] + hBinop = [ + hVarref flit__local_12##tdata NOLIST + hBinop SLICE [ + hVarref ts##buf NOLIST + hBinop - [ + hBinop + [ + hVarref ts##posr NOLIST + hLiteral 64 NOLIST + ] + hLiteral 1 NOLIST + ] + hVarref ts##posr NOLIST + ] + ] + hBinop = [ + hVarref flit__local_12##tlast NOLIST + hBinop && [ + hVarref done_actual_scclang_global_8 NOLIST + hBinop == [ + hVarref bbits__local_11 NOLIST + hLiteral 64 NOLIST + ] + ] + ] + hSigAssignL write [ + hVarref m_bits##data NOLIST + hVarref flit__local_12 NOLIST + ] + hSigAssignL write [ + hVarref m_bits##valid NOLIST + hLiteral 1 NOLIST + ] + hBinop = [ + hBinop SLICE [ + hVarref ts##buf NOLIST + hBinop - [ + hVarref ts##posw NOLIST + hLiteral 64 NOLIST + ] + hLiteral 0 NOLIST + ] + hBinop SLICE [ + hVarref ts##buf NOLIST + hBinop - [ + hVarref ts##posw NOLIST + hLiteral 1 NOLIST + ] + hBinop + [ + hVarref ts##posr NOLIST + hLiteral 64 NOLIST + ] + ] + ] + hBinop = [ + hVarref ts##posr NOLIST + hLiteral 0 NOLIST + ] + hBinop = [ + hVarref ts##posw NOLIST + hBinop - [ + hVarref bbits__local_11 NOLIST + hLiteral 64 NOLIST + ] + ] + hReturnStmt NONAME [ + hVarref flit__local_12##tlast NOLIST + ] + ] + ] + hReturnStmt NONAME [ + hBinop && [ + hVarref done_actual_scclang_global_8 NOLIST + hBinop == [ + hVarref bbits__local_11 NOLIST + hLiteral 0 NOLIST + ] + ] + ] + ] + ] + hFunction zhw__encode_streamfp_t11_52_2_bits_t64__state_t__state_t_func_0 [ + hFunctionRetType NONAME [ + hTypeinfo NONAME [ + hType void NOLIST + ] + ] + hFunctionParams NONAME [ + hFunctionParamIO hthis [ + hTypeinfo NONAME [ + hType state_t_ NOLIST + ] + ] + ] + hCStmt NONAME NOLIST + ] + hFunction bits_t64__bits_t_func_3 [ + hFunctionRetType NONAME [ + hTypeinfo NONAME [ + hType void NOLIST + ] + ] + hFunctionParams NONAME [ + hFunctionParamIO hthis [ + hTypeinfo NONAME [ + hType bits_t_64_ NOLIST + ] + ] + ] + hCStmt NONAME NOLIST + ] + ] + hModinitblock u_encode_stream [ + hSenslist mc_proc [ + hSensvar NONAME [ + hVarref s_ex##valid NOLIST + hNoop always NOLIST + ] + hSensvar NONAME [ + hVarref s_ex##data NOLIST + hNoop always NOLIST + ] + hSensvar NONAME [ + hVarref m_bits##ready NOLIST + hNoop always NOLIST + ] + hSensvar NONAME [ + hVarref minbits NOLIST + hNoop always NOLIST + ] + hSensvar NONAME [ + hVarref maxbits NOLIST + hNoop always NOLIST + ] + hSensvar NONAME [ + hVarref maxprec NOLIST + hNoop always NOLIST + ] + hSensvar NONAME [ + hVarref minexp NOLIST + hNoop always NOLIST + ] + hSensvar NONAME [ + hVarref s_bc NOLIST + hNoop always NOLIST + ] + hSensvar NONAME [ + hVarref s_bp NOLIST + hNoop always NOLIST + ] + hSensvar NONAME [ + hVarref s_last NOLIST + hNoop always NOLIST + ] + hSensvar NONAME [ + hVarref s_valid NOLIST + hNoop always NOLIST + ] + hSensvar NONAME [ + hVarref cs_scclang_global_0 NOLIST + hNoop always NOLIST + ] + ] + hSenslist ms_proc [ + hSensvar NONAME [ + hVarref clk NOLIST + hBuiltinFunction pos NOLIST + ] + ] + ] + ] + hModule find_emax_sc_module_8 [ + hPortsigvarlist NONAME [ + hPortin clk [ + hTypeinfo NONAME [ + hType sc_in [ + hType _Bool NOLIST + ] + ] + ] + hPortin reset [ + hTypeinfo NONAME [ + hType sc_in [ + hType _Bool NOLIST + ] + ] + ] + hPortin s_fp [ + hTypeinfo NONAME [ + hType sc_rvd_in [ + hType fp_t_11_52_ NOLIST + ] + ] + ] + hPortout m_fp [ + hTypeinfo NONAME [ + hType sc_rvd_out [ + hType fp_t_11_52_ NOLIST + ] + ] + ] + hPortout m_ex [ + hTypeinfo NONAME [ + hType sc_rvd_out [ + hType sc_uint [ + hLiteral 11 NOLIST + ] + ] + ] + ] + hSigdecl c_sync_scclang_global_0 [ + hTypeinfo NONAME [ + hType sc_signal [ + hType _Bool NOLIST + ] + ] + ] + hSigdecl count_scclang_global_1 [ + hTypeinfo NONAME [ + hType sc_signal [ + hType sc_uint [ + hLiteral 4 NOLIST + ] + ] + ] + ] + hSigdecl emax_scclang_global_2 [ + hTypeinfo NONAME [ + hType sc_signal [ + hType sc_uint [ + hLiteral 11 NOLIST + ] + ] + ] + ] + hSigdecl emax_v_scclang_global_3 [ + hTypeinfo NONAME [ + hType sc_signal [ + hType _Bool NOLIST + ] + ] + ] + hVardecl c_fp_scclang_global_4 [ + hTypeinfo NONAME [ + hType sc_rvd [ + hType fp_t_11_52_ NOLIST + ] + ] + ] + hVardecl c_ex_scclang_global_5 [ + hTypeinfo NONAME [ + hType sc_rvd [ + hType sc_uint [ + hLiteral 11 NOLIST + ] + ] + ] + ] + hModdecl u_reg_ex [ + hTypeinfo NONAME [ + hType sreg_sc_module_16 NOLIST + ] + ] + hModdecl u_que_fp [ + hTypeinfo NONAME [ + hType rvfifo_cc_sc_module_17 NOLIST + ] + ] + hVardecl _actual_scclang_global_6 [ + hTypeinfo NONAME [ + hType fp_t_11_52_ NOLIST + ] + ] + ] + hProcesses NONAME [ + hProcess mc_proc [ + hMethod mc_proc [ + hCStmt NONAME [ + hSigAssignL write [ + hVarref s_fp##ready NOLIST + hVarref c_sync_scclang_global_0 NOLIST + ] + hSigAssignL write [ + hVarref c_fp_scclang_global_4##data NOLIST + hSigAssignR read [ + hVarref s_fp##data NOLIST + ] + ] + hSigAssignL write [ + hVarref c_fp_scclang_global_4##valid NOLIST + hVarref c_sync_scclang_global_0 NOLIST + ] + hSigAssignL write [ + hVarref c_ex_scclang_global_5##data NOLIST + hSigAssignR read [ + hVarref emax_scclang_global_2 NOLIST + ] + ] + hSigAssignL write [ + hVarref c_ex_scclang_global_5##valid NOLIST + hVarref emax_v_scclang_global_3 NOLIST + ] + hBinop = [ + hVarref c_sync_scclang_global_0 NOLIST + hBinop && [ + hBinop && [ + hSigAssignR read [ + hVarref s_fp##valid NOLIST + ] + hSigAssignR read [ + hVarref c_fp_scclang_global_4##ready NOLIST + ] + ] + hBinop || [ + hUnop ! [ + hVarref emax_v_scclang_global_3 NOLIST + ] + hSigAssignR read [ + hVarref c_ex_scclang_global_5##ready NOLIST + ] + ] + ] + ] + ] + ] + ] + hProcess ms_proc [ + hMethod ms_proc [ + hVardecl last_ms_proc_local_2 [ + hTypeinfo NONAME [ + hType bool NOLIST + ] + ] + hVardecl fp_ms_proc_local_3 [ + hTypeinfo NONAME [ + hType fp_t_11_52_ NOLIST + ] + ] + hVardecl expo_ms_proc_local_4 [ + hTypeinfo NONAME [ + hType sc_uint [ + hLiteral 11 NOLIST + ] + ] + ] + hCStmt NONAME [ + hIfStmt NONAME [ + hBinop == [ + hVarref reset NOLIST + hLiteral 0 NOLIST + ] + hCStmt NONAME [ + hBinop = [ + hVarref count_scclang_global_1 NOLIST + hBinop - [ + hLiteral 16 NOLIST + hLiteral 1 NOLIST + ] + ] + hBinop = [ + hVarref emax_scclang_global_2 NOLIST + hLiteral 0 [ + hTypeinfo NONAME [ + hType sc_uint [ + hLiteral 11 NOLIST ] ] - hIfStmt NONAME [ - hBinop < [ - hVarref first_after_bc_ms_proc_local_15 NOLIST - hLiteral 33 NOLIST - ] - hCStmt NONAME [ - hBinop = [ - hVarref tmp_ms_proc_local_11 NOLIST - hBinop & [ - hVarref tmp_ms_proc_local_11 NOLIST - hUnop ~ [ - hBinop << [ - hVarref shiftmask_ms_proc_local_18 NOLIST - hVarref first_after_bc_ms_proc_local_15 NOLIST - ] - ] - ] - ] - ] + ] + ] + hBinop = [ + hVarref emax_v_scclang_global_3 NOLIST + hLiteral 0 NOLIST + ] + ] + hCStmt NONAME [ + hVarAssign NONAME [ + hVarref last_ms_proc_local_2 NOLIST + hBinop == [ + hSigAssignR read [ + hVarref count_scclang_global_1 NOLIST ] - hVarAssign NONAME [ - hVarref delta_ms_proc_local_19 NOLIST + hLiteral 0 NOLIST + ] + ] + hMethodCall fp_t11_52__fp_t_func_0 [ + hVarref fp_ms_proc_local_3 NOLIST + hSigAssignR read [ + hVarref s_fp##data NOLIST + ] + ] + hIfStmt NONAME [ + hBinop && [ + hBinop == [ + hVarref fp_ms_proc_local_3##expo NOLIST hLiteral 0 NOLIST ] - hIfStmt NONAME [ - hBinop != [ - hVarref last_n_ms_proc_local_16 NOLIST - hLiteral 16 NOLIST - ] - hBinop = [ - hBinop ARRAYSUBSCRIPT [ - hVarref tmp_ms_proc_local_11 NOLIST - hVarref first_after_bc_ms_proc_local_15 NOLIST - ] - hLiteral 0 NOLIST - ] - ] - hIfStmt NONAME [ - hBinop >= [ - hSigAssignR read [ - hVarref n1_scclang_global_7 NOLIST - ] - hSigAssignR read [ - hVarref bc1_scclang_global_0 NOLIST - ] - ] - hCStmt NONAME [ - hBinop = [ - hVarref tmp_ms_proc_local_11 NOLIST - hLiteral 0 NOLIST - ] - ] - hCStmt NONAME [ - hIfStmt NONAME [ - hBinop == [ - hSigAssignR read [ - hVarref n1_scclang_global_7 NOLIST - ] - hLiteral 0 NOLIST - ] - hCStmt NONAME NOLIST - hCStmt NONAME [ - hIfStmt NONAME [ - hBinop || [ - hBinop && [ - hUnop ! [ - hBinop ARRAYSUBSCRIPT [ - hSigAssignR read [ - hVarref bp1_scclang_global_1 NOLIST - ] - hSigAssignR read [ - hVarref n1_scclang_global_7 NOLIST - ] - ] - ] - hUnop ! [ - hBinop ARRAYSUBSCRIPT [ - hSigAssignR read [ - hVarref bp1_scclang_global_1 NOLIST - ] - hBinop - [ - hSigAssignR read [ - hVarref n1_scclang_global_7 NOLIST - ] - hLiteral 1 NOLIST - ] - ] - ] - ] - hBinop && [ - hBinop ARRAYSUBSCRIPT [ - hSigAssignR read [ - hVarref bp1_scclang_global_1 NOLIST - ] - hSigAssignR read [ - hVarref n1_scclang_global_7 NOLIST - ] - ] - hUnop ! [ - hBinop ARRAYSUBSCRIPT [ - hSigAssignR read [ - hVarref bp1_scclang_global_1 NOLIST - ] - hBinop - [ - hSigAssignR read [ - hVarref n1_scclang_global_7 NOLIST - ] - hLiteral 1 NOLIST - ] - ] - ] - ] - ] - hCStmt NONAME [ - hBinop = [ - hVarref tmp_ms_proc_local_11 NOLIST - hBinop << [ - hBinop | [ - hBinop << [ - hBinop >> [ - hVarref tmp_ms_proc_local_11 NOLIST - hVarref n1_shiftamt_ms_proc_local_14 NOLIST - ] - hLiteral 1 NOLIST - ] - hLiteral 1 NOLIST - ] - hSigAssignR read [ - hVarref n1_scclang_global_7 NOLIST - ] - ] - ] - hBinop = [ - hVarref delta_ms_proc_local_19 NOLIST - hLiteral 1 NOLIST - ] - ] - hCStmt NONAME [ - hBinop = [ - hVarref tmp_ms_proc_local_11 NOLIST - hBinop << [ - hBinop >> [ - hVarref tmp_ms_proc_local_11 NOLIST - hVarref n1_shiftamt_ms_proc_local_14 NOLIST - ] - hSigAssignR read [ - hVarref n1_scclang_global_7 NOLIST - ] - ] - ] - ] - ] - ] - ] - ] - ] - hVarAssign NONAME [ - hVarref shiftmask_2_ms_proc_local_20 NOLIST - hUnop - [ - hLiteral 1 NOLIST - ] + hBinop == [ + hVarref fp_ms_proc_local_3##frac NOLIST + hLiteral 0 NOLIST ] + ] + hCStmt NONAME [ hBinop = [ - hVarref tmp_ms_proc_local_11 NOLIST - hBinop | [ - hBinop & [ - hVarref tmp_ms_proc_local_11 NOLIST - hBinop << [ - hVarref shiftmask_2_ms_proc_local_20 NOLIST - hSigAssignR read [ - hVarref n1_scclang_global_7 NOLIST - ] - ] - ] - hBinop & [ - hSigAssignR read [ - hVarref bp1_scclang_global_1 NOLIST - ] - hUnop ~ [ - hBinop << [ - hVarref shiftmask_2_ms_proc_local_20 NOLIST - hSigAssignR read [ - hVarref n1_scclang_global_7 NOLIST - ] + hVarref expo_ms_proc_local_4 NOLIST + hVarref fp_ms_proc_local_3##expo NOLIST + ] + ] + hCStmt NONAME [ + hBinop = [ + hVarref expo_ms_proc_local_4 NOLIST + hBinop + [ + hVarref fp_ms_proc_local_3##expo NOLIST + hLiteral 1 [ + hTypeinfo NONAME [ + hType sc_uint [ + hLiteral 11 NOLIST ] ] ] ] ] - hVarAssign NONAME [ - hVarref j_ms_proc_local_21 NOLIST - hLiteral 0 NOLIST - ] + ] + ] + hIfStmt NONAME [ + hVarref c_sync_scclang_global_0 NOLIST + hCStmt NONAME [ hIfStmt NONAME [ - hBinop >= [ - hSigAssignR read [ - hVarref n1_scclang_global_7 NOLIST - ] - hSigAssignR read [ - hVarref bc1_scclang_global_0 NOLIST - ] - ] + hVarref last_ms_proc_local_2 NOLIST hCStmt NONAME [ hBinop = [ - hVarref j_ms_proc_local_21 NOLIST - hSigAssignR read [ - hVarref n1_scclang_global_7 NOLIST - ] - ] - hIfStmt NONAME [ - hBinop != [ - hSigAssignR read [ - hVarref n1_scclang_global_7 NOLIST - ] + hVarref count_scclang_global_1 NOLIST + hBinop - [ hLiteral 16 NOLIST - ] - hCStmt NONAME [ - hBinop = [ - hVarref j_ms_proc_local_21 NOLIST - hBinop + [ - hVarref j_ms_proc_local_21 NOLIST - hLiteral 1 NOLIST - ] - ] + hLiteral 1 NOLIST ] ] ] hCStmt NONAME [ hBinop = [ - hVarref j_ms_proc_local_21 NOLIST - hBinop + [ - hBinop - [ - hBinop + [ - hVarref first_after_bc_ms_proc_local_15 NOLIST - hVarref delta_ms_proc_local_19 NOLIST - ] - hVarref n1_shiftamt_ms_proc_local_14 NOLIST - ] + hVarref count_scclang_global_1 NOLIST + hBinop - [ hSigAssignR read [ - hVarref n1_scclang_global_7 NOLIST + hVarref count_scclang_global_1 NOLIST ] + hLiteral 1 NOLIST ] ] - hIfStmt NONAME [ - hBinop != [ - hVarref last_n_ms_proc_local_16 NOLIST - hLiteral 16 NOLIST - ] - hCStmt NONAME [ - hBinop = [ - hVarref j_ms_proc_local_21 NOLIST - hBinop + [ - hVarref j_ms_proc_local_21 NOLIST - hLiteral 1 NOLIST - ] + ] + ] + ] + ] + hIfStmt NONAME [ + hBinop && [ + hVarref emax_v_scclang_global_3 NOLIST + hSigAssignR read [ + hVarref c_ex_scclang_global_5##ready NOLIST + ] + ] + hCStmt NONAME [ + hIfStmt NONAME [ + hSigAssignR read [ + hVarref s_fp##valid NOLIST + ] + hBinop = [ + hVarref emax_scclang_global_2 NOLIST + hVarref expo_ms_proc_local_4 NOLIST + ] + hBinop = [ + hVarref emax_scclang_global_2 NOLIST + hLiteral 0 [ + hTypeinfo NONAME [ + hType sc_uint [ + hLiteral 11 NOLIST ] ] ] ] ] - hSigAssignL write [ - hVarref m_bc NOLIST - hVarref j_ms_proc_local_21 NOLIST - ] - hSigAssignL write [ - hVarref m_bp NOLIST - hVarref tmp_ms_proc_local_11 NOLIST - ] - hSigAssignL write [ - hVarref m_last NOLIST + ] + hIfStmt NONAME [ + hBinop && [ hSigAssignR read [ - hVarref last1_scclang_global_5 NOLIST + hVarref s_fp##valid NOLIST + ] + hBinop > [ + hVarref expo_ms_proc_local_4 NOLIST + hVarref emax_scclang_global_2 NOLIST ] ] - hSigAssignL write [ - hVarref m_valid NOLIST - hSigAssignR read [ - hVarref valid1_scclang_global_8 NOLIST + hCStmt NONAME [ + hBinop = [ + hVarref emax_scclang_global_2 NOLIST + hVarref expo_ms_proc_local_4 NOLIST ] ] ] - hCStmt NONAME [ - hIfStmt NONAME [ - hUnop ! [ - hSigAssignR read [ - hVarref s_flush NOLIST - ] - ] - hSigAssignL write [ - hVarref flush1_scclang_global_3 NOLIST - hLiteral 0 NOLIST - ] + ] + hIfStmt NONAME [ + hBinop && [ + hVarref emax_v_scclang_global_3 NOLIST + hSigAssignR read [ + hVarref c_ex_scclang_global_5##ready NOLIST + ] + ] + hBinop = [ + hVarref emax_v_scclang_global_3 NOLIST + hLiteral 0 NOLIST + ] + hIfStmt NONAME [ + hBinop && [ + hVarref c_sync_scclang_global_0 NOLIST + hVarref last_ms_proc_local_2 NOLIST + ] + hBinop = [ + hVarref emax_v_scclang_global_3 NOLIST + hLiteral 1 NOLIST ] ] ] @@ -8421,55 +8520,94 @@ ] ] ] - ] - hModinitblock u_encode_ints [ - hVardeclrn i_u_encode_ints_local_1 [ - hTypeinfo NONAME [ - hType int NOLIST - ] - hLiteral i NOLIST - ] - hCStmt NONAME [ - hForStmt NONAME [ - hVarAssign NONAME [ - hVarref i_u_encode_ints_local_1 NOLIST - hLiteral 0 NOLIST - ] - hBinop < [ - hVarref i_u_encode_ints_local_1 NOLIST - hLiteral 16 NOLIST + hFunction fp_t11_52__fp_t_func_0 [ + hFunctionRetType NONAME [ + hTypeinfo NONAME [ + hType void NOLIST ] - hPostfix ++ [ - hVarref i_u_encode_ints_local_1 NOLIST + ] + hFunctionParams NONAME [ + hFunctionParamIO hthis [ + hTypeinfo NONAME [ + hType fp_t_11_52_ NOLIST + ] ] - hSensvar mc_proc [ - hBinop ARRAYSUBSCRIPT [ - hVarref s_block NOLIST - hVarref i_u_encode_ints_local_1 NOLIST + hFunctionParamI NONAME [ + hTypeinfo NONAME [ + hType fp_t_11_52_ NOLIST ] - hNoop always NOLIST ] ] + hCStmt NONAME [ + hBinop = [ + hVarref _actual_scclang_global_6 NOLIST + hVarref NONAME NOLIST + ] + ] + ] + ] + hModinitblock u_find_emax [ + hCStmt NONAME [ + hPortbinding u_que_fp [ + hVarref clk NOLIST + hVarref clk NOLIST + ] + hPortbinding u_que_fp [ + hVarref reset NOLIST + hVarref reset NOLIST + ] + hPortbinding u_que_fp [ + hVarref s_port NOLIST + hVarref c_fp_scclang_global_4 NOLIST + ] + hPortbinding u_que_fp [ + hVarref m_port NOLIST + hVarref m_fp NOLIST + ] + hPortbinding u_reg_ex [ + hVarref clk NOLIST + hVarref clk NOLIST + ] + hPortbinding u_reg_ex [ + hVarref reset NOLIST + hVarref reset NOLIST + ] + hPortbinding u_reg_ex [ + hVarref s_port NOLIST + hVarref c_ex_scclang_global_5 NOLIST + ] + hPortbinding u_reg_ex [ + hVarref m_port NOLIST + hVarref m_ex NOLIST + ] ] hSenslist mc_proc [ hSensvar NONAME [ - hVarref k0_scclang_global_4 NOLIST + hVarref s_fp##valid NOLIST hNoop always NOLIST ] hSensvar NONAME [ - hVarref flush1_scclang_global_3 NOLIST + hVarref s_fp##data NOLIST hNoop always NOLIST ] hSensvar NONAME [ - hVarref m_ready NOLIST + hVarref c_fp_scclang_global_4##ready NOLIST hNoop always NOLIST ] hSensvar NONAME [ - hVarref s_valid NOLIST + hVarref c_ex_scclang_global_5##ready NOLIST hNoop always NOLIST ] hSensvar NONAME [ - hVarref s_flush NOLIST + hVarref emax_scclang_global_2 NOLIST + hNoop always NOLIST + ] + hSensvar NONAME [ + hVarref emax_v_scclang_global_3 NOLIST + hNoop always NOLIST + ] + hSensvar NONAME [ + hVarref c_sync_scclang_global_0 NOLIST hNoop always NOLIST ] ] @@ -8481,7 +8619,7 @@ ] ] ] - hModule encode_stream_sc_module_8 [ + hModule sreg_sc_module_16 [ hPortsigvarlist NONAME [ hPortin clk [ hTypeinfo NONAME [ @@ -8497,1023 +8635,901 @@ ] ] ] - hPortin minbits [ - hTypeinfo NONAME [ - hType sc_in [ - hType unsigned_short NOLIST - ] - ] - ] - hPortin maxbits [ - hTypeinfo NONAME [ - hType sc_in [ - hType unsigned_short NOLIST - ] - ] - ] - hPortin maxprec [ - hTypeinfo NONAME [ - hType sc_in [ - hType unsigned_short NOLIST - ] - ] - ] - hPortin minexp [ - hTypeinfo NONAME [ - hType sc_in [ - hType short NOLIST - ] - ] - ] - hPortin s_bc [ + hPortin s_port [ hTypeinfo NONAME [ - hType sc_in [ + hType sc_rvd_in [ hType sc_uint [ - hLiteral 6 NOLIST + hLiteral 11 NOLIST ] ] ] ] - hPortin s_bp [ + hPortout m_port [ hTypeinfo NONAME [ - hType sc_in [ - hType sc_bv [ - hLiteral 33 NOLIST + hType sc_rvd_out [ + hType sc_uint [ + hLiteral 11 NOLIST ] ] ] ] - hPortin s_last [ + hSigdecl data_scclang_global_0 [ hTypeinfo NONAME [ - hType sc_in [ - hType _Bool NOLIST + hType array##2 [ + hType sc_signal [ + hType sc_uint [ + hLiteral 11 NOLIST + ] + ] ] ] ] - hPortin s_valid [ + hSigdecl empty_i_scclang_global_1 [ hTypeinfo NONAME [ - hType sc_in [ + hType sc_signal [ hType _Bool NOLIST ] ] ] - hPortin s_ex [ - hTypeinfo NONAME [ - hType sc_rvd_in [ - hType sc_uint [ - hLiteral 11 NOLIST - ] - ] - ] - ] - hPortout s_ready [ + hSigdecl full_i_scclang_global_2 [ hTypeinfo NONAME [ - hType sc_out [ + hType sc_signal [ hType _Bool NOLIST ] ] ] - hPortout m_flush [ + hSigdecl rd_en_i_scclang_global_3 [ hTypeinfo NONAME [ - hType sc_out [ + hType sc_signal [ hType _Bool NOLIST ] ] ] - hPortout m_bits [ + hSigdecl rd_idx_scclang_global_4 [ hTypeinfo NONAME [ - hType sc_rvd_out [ - hType bits_t_64_ NOLIST + hType sc_signal [ + hType sc_uint [ + hLiteral 1 NOLIST + ] ] ] ] - hSigdecl cs_scclang_global_0 [ + hSigdecl wr_en_i_scclang_global_5 [ hTypeinfo NONAME [ hType sc_signal [ - hType state_t_ NOLIST + hType _Bool NOLIST ] ] ] - hSigdecl ns_scclang_global_1 [ + hSigdecl wr_idx_scclang_global_6 [ hTypeinfo NONAME [ hType sc_signal [ - hType state_t_ NOLIST + hType sc_uint [ + hLiteral 1 NOLIST + ] ] ] ] - hVardecl pre_w_scclang_global_2 [ - hTypeinfo NONAME [ - hType int NOLIST - ] - hVarInit NONAME [ - hLiteral 7 NOLIST - ] - ] - hVardecl tbc_w_scclang_global_3 [ - hTypeinfo NONAME [ - hType int NOLIST - ] - hVarInit NONAME [ - hLiteral 12 NOLIST - ] - ] - hVardecl buf_w_scclang_global_4 [ + hVardecl IW_scclang_global_7 [ hTypeinfo NONAME [ hType int NOLIST ] hVarInit NONAME [ - hLiteral 128 NOLIST + hLiteral 1 NOLIST ] ] - hVardecl pos_w_scclang_global_5 [ + hVardecl depth_scclang_global_8 [ hTypeinfo NONAME [ - hType int NOLIST + hType unsigned_int NOLIST ] hVarInit NONAME [ - hLiteral 8 NOLIST - ] - ] - hVardecl bc_actual_scclang_global_6 [ - hTypeinfo NONAME [ - hType sc_uint [ - hLiteral 12 NOLIST - ] - ] - ] - hVardecl bp_actual_scclang_global_7 [ - hTypeinfo NONAME [ - hType sc_bv [ - hLiteral 128 NOLIST - ] - ] - ] - hVardecl done_actual_scclang_global_8 [ - hTypeinfo NONAME [ - hType bool NOLIST + hLiteral 2 NOLIST ] ] ] hProcesses NONAME [ hProcess mc_proc [ hMethod mc_proc [ - hVardecl ts_mc_proc_local_2 [ - hTypeinfo NONAME [ - hType state_t_ NOLIST - ] - ] - hVardecl dis_done_mc_proc_local_3 [ - hTypeinfo NONAME [ - hType bool NOLIST - ] - ] - hVardecl add_done_mc_proc_local_4 [ - hTypeinfo NONAME [ - hType bool NOLIST + hCStmt NONAME [ + hSigAssignL write [ + hVarref m_port##data NOLIST + hBinop ARRAYSUBSCRIPT [ + hVarref data_scclang_global_0 NOLIST + hSigAssignR read [ + hVarref rd_idx_scclang_global_4 NOLIST + ] + ] ] - ] - hVardecl pad_done_mc_proc_local_5 [ - hTypeinfo NONAME [ - hType bool NOLIST + hBinop = [ + hVarref wr_en_i_scclang_global_5 NOLIST + hBinop && [ + hSigAssignR read [ + hVarref s_port##valid NOLIST + ] + hUnop ! [ + hVarref full_i_scclang_global_2 NOLIST + ] + ] ] - ] - hVardecl fls_done_mc_proc_local_6 [ - hTypeinfo NONAME [ - hType bool NOLIST + hBinop = [ + hVarref rd_en_i_scclang_global_3 NOLIST + hBinop && [ + hSigAssignR read [ + hVarref m_port##ready NOLIST + ] + hUnop ! [ + hVarref empty_i_scclang_global_1 NOLIST + ] + ] ] - ] - hVardecl pbits_mc_proc_local_7 [ - hTypeinfo NONAME [ - hType sc_uint [ - hLiteral 12 NOLIST + hSigAssignL write [ + hVarref s_port##ready NOLIST + hUnop ! [ + hVarref full_i_scclang_global_2 NOLIST ] ] - ] - hVardecl abits_mc_proc_local_8 [ - hTypeinfo NONAME [ - hType sc_uint [ - hLiteral 12 NOLIST + hSigAssignL write [ + hVarref m_port##valid NOLIST + hUnop ! [ + hVarref empty_i_scclang_global_1 NOLIST ] ] ] - hVardecl n_mc_proc_local_9 [ + ] + ] + hProcess ms_proc [ + hMethod ms_proc [ + hVardecl wr_inc_ms_proc_local_3 [ hTypeinfo NONAME [ hType sc_uint [ - hLiteral 12 NOLIST + hLiteral 1 NOLIST ] ] - ] - hCStmt NONAME [ - hMethodCall zhw__encode_streamfp_t11_52_2_bits_t64__state_t__state_t_func_0 [ - hVarref ts_mc_proc_local_2 NOLIST - ] - hSigAssignL write [ - hVarref s_ex##ready NOLIST - hLiteral 0 NOLIST - ] - hSigAssignL write [ - hVarref s_ready NOLIST - hLiteral 0 NOLIST - ] - hSigAssignL write [ - hVarref m_flush NOLIST - hLiteral 0 NOLIST - ] - hSigAssignL write [ - hVarref m_bits##valid NOLIST - hLiteral 0 NOLIST + ] + hVardecl rd_inc_ms_proc_local_4 [ + hTypeinfo NONAME [ + hType sc_uint [ + hLiteral 1 NOLIST + ] ] - hBinop = [ - hVarref ts_mc_proc_local_2 NOLIST - hVarref cs_scclang_global_0 NOLIST + ] + hVardecl i_ms_proc_local_5 [ + hTypeinfo NONAME [ + hType unsigned_int NOLIST ] - hSwitchStmt NONAME [ - hVarref ts_mc_proc_local_2##s NOLIST - hCStmt NONAME [ - hSwitchCase NONAME [ - hLiteral 0 NOLIST - hCStmt NONAME [ - hBinop = [ - hVarref ts_mc_proc_local_2##prec NOLIST - hBuiltinFunction sc_min [ - hSigAssignR read [ - hVarref maxprec NOLIST - ] - hBuiltinFunction sc_max [ - hLiteral 0 NOLIST - hBinop + [ - hBinop - [ - hSigAssignR read [ - hVarref s_ex##data NOLIST - ] - hSigAssignR read [ - hVarref minexp NOLIST - ] - ] - hBinop * [ - hLiteral 2 NOLIST - hBinop + [ - hLiteral 2 NOLIST - hLiteral 1 NOLIST - ] - ] - ] - ] - ] - ] - hBinop = [ - hVarref ts_mc_proc_local_2##bits NOLIST - hLiteral 0 NOLIST - ] - hBinop = [ - hVarref ts_mc_proc_local_2##planes NOLIST - hLiteral 0 NOLIST - ] - hBinop = [ - hVarref ts_mc_proc_local_2##buf NOLIST - hLiteral 0 NOLIST - ] - hBinop = [ - hVarref ts_mc_proc_local_2##posr NOLIST - hLiteral 0 NOLIST - ] - hBinop = [ - hVarref ts_mc_proc_local_2##posw NOLIST - hLiteral 0 NOLIST - ] - hIfStmt NONAME [ - hSigAssignR read [ - hVarref s_ex##valid NOLIST - ] - hCStmt NONAME [ - hIfStmt NONAME [ - hBinop && [ - hBinop != [ - hSigAssignR read [ - hVarref s_ex##data NOLIST - ] - hLiteral 0 NOLIST - ] - hBinop != [ - hVarref ts_mc_proc_local_2##prec NOLIST - hLiteral 0 NOLIST - ] - ] - hCStmt NONAME [ - hBinop = [ - hVarref ts_mc_proc_local_2##s NOLIST - hLiteral 2 NOLIST - ] - ] - hCStmt NONAME [ - hBinop = [ - hVarref ts_mc_proc_local_2##s NOLIST - hLiteral 1 NOLIST - ] - ] - ] - ] - ] - hBreak NONAME NOLIST + ] + hCStmt NONAME [ + hBinop = [ + hVarref wr_inc_ms_proc_local_3 NOLIST + hBinop % [ + hBinop + [ + hSigAssignR read [ + hVarref wr_idx_scclang_global_6 NOLIST ] - ] - hSwitchCase NONAME [ hLiteral 1 NOLIST - hCStmt NONAME [ - hBinop = [ - hBinop ARRAYSUBSCRIPT [ - hVarref ts_mc_proc_local_2##buf NOLIST - hLiteral 0 NOLIST - ] - hLiteral 0 NOLIST - ] - hBinop = [ - hVarref ts_mc_proc_local_2##bits NOLIST - hLiteral 1 NOLIST - ] - hBinop = [ - hVarref ts_mc_proc_local_2##posw NOLIST - hLiteral 1 NOLIST - ] - hSigAssignL write [ - hVarref s_ex##ready NOLIST - hLiteral 1 NOLIST - ] - hBinop = [ - hVarref ts_mc_proc_local_2##s NOLIST - hLiteral 4 NOLIST - ] - hBreak NONAME NOLIST - ] ] - hSwitchCase NONAME [ - hLiteral 2 NOLIST - hCStmt NONAME [ - hBinop = [ - hBinop ARRAYSUBSCRIPT [ - hVarref ts_mc_proc_local_2##buf NOLIST - hLiteral 0 NOLIST - ] - hLiteral 1 NOLIST - ] - hBinop = [ - hBinop SLICE [ - hVarref ts_mc_proc_local_2##buf NOLIST - hLiteral 11 NOLIST - hLiteral 1 NOLIST - ] - hSigAssignR read [ - hVarref s_ex##data NOLIST - ] - ] - hBinop = [ - hVarref ts_mc_proc_local_2##bits NOLIST - hBinop + [ - hLiteral 11 NOLIST - hLiteral 1 NOLIST - ] - ] - hBinop = [ - hVarref ts_mc_proc_local_2##posw NOLIST - hBinop + [ - hLiteral 11 NOLIST - hLiteral 1 NOLIST - ] - ] - hSigAssignL write [ - hVarref s_ex##ready NOLIST - hLiteral 1 NOLIST - ] - hIfStmt NONAME [ - hBinop < [ - hVarref ts_mc_proc_local_2##planes NOLIST - hVarref ts_mc_proc_local_2##prec NOLIST - ] - hBinop = [ - hVarref ts_mc_proc_local_2##s NOLIST - hLiteral 3 NOLIST - ] - hBinop = [ - hVarref ts_mc_proc_local_2##s NOLIST - hLiteral 4 NOLIST - ] - ] - hBreak NONAME NOLIST + hLiteral 2 NOLIST + ] + ] + hBinop = [ + hVarref rd_inc_ms_proc_local_4 NOLIST + hBinop % [ + hBinop + [ + hSigAssignR read [ + hVarref rd_idx_scclang_global_4 NOLIST ] + hLiteral 1 NOLIST ] - hSwitchCase NONAME [ - hLiteral 3 NOLIST - hCStmt NONAME [ - hIfStmt NONAME [ - hSigAssignR read [ - hVarref s_valid NOLIST - ] - hCStmt NONAME [ - hIfStmt NONAME [ - hMethodCall zhw__encode_streamfp_t11_52_2_bits_t64__pack_bits_func_1 [ - hVarref ts_mc_proc_local_2 NOLIST - hSigAssignR read [ - hVarref s_bc NOLIST - ] - hSigAssignR read [ - hVarref s_bp NOLIST - ] - ] - hCStmt NONAME [ - hSigAssignL write [ - hVarref s_ready NOLIST - hLiteral 1 NOLIST - ] - hIfStmt NONAME [ - hSigAssignR read [ - hVarref s_last NOLIST - ] - hBinop = [ - hVarref ts_mc_proc_local_2##planes NOLIST - hLiteral 64 NOLIST - ] - hBinop = [ - hVarref ts_mc_proc_local_2##planes NOLIST - hBinop + [ - hVarref ts_mc_proc_local_2##planes NOLIST - hLiteral 1 NOLIST - ] - ] - ] - ] - ] - ] - hSigAssignL write [ - hVarref s_ready NOLIST - hLiteral 1 NOLIST - ] + hLiteral 2 NOLIST + ] + ] + hIfStmt NONAME [ + hBinop == [ + hVarref reset NOLIST + hLiteral 0 NOLIST + ] + hCStmt NONAME [ + hForStmt NONAME [ + hVarAssign NONAME [ + hVarref i_ms_proc_local_5 NOLIST + hLiteral 0 NOLIST + ] + hBinop < [ + hVarref i_ms_proc_local_5 NOLIST + hLiteral 2 NOLIST + ] + hPostfix ++ [ + hVarref i_ms_proc_local_5 NOLIST + ] + hBinop = [ + hBinop ARRAYSUBSCRIPT [ + hVarref data_scclang_global_0 NOLIST + hVarref i_ms_proc_local_5 NOLIST ] - hBinop = [ - hVarref dis_done_mc_proc_local_3 NOLIST - hBinop == [ - hVarref ts_mc_proc_local_2##planes NOLIST - hLiteral 64 NOLIST + hLiteral 0 NOLIST + ] + ] + hBinop = [ + hVarref rd_idx_scclang_global_4 NOLIST + hLiteral 0 [ + hTypeinfo NONAME [ + hType sc_uint [ + hLiteral 1 NOLIST ] ] - hBinop = [ - hVarref add_done_mc_proc_local_4 NOLIST - hBinop || [ - hBinop >= [ - hVarref ts_mc_proc_local_2##planes NOLIST - hVarref ts_mc_proc_local_2##prec NOLIST - ] - hBinop >= [ - hVarref ts_mc_proc_local_2##bits NOLIST - hSigAssignR read [ - hVarref maxbits NOLIST - ] - ] + ] + ] + hBinop = [ + hVarref wr_idx_scclang_global_6 NOLIST + hLiteral 0 [ + hTypeinfo NONAME [ + hType sc_uint [ + hLiteral 1 NOLIST ] ] + ] + ] + hBinop = [ + hVarref full_i_scclang_global_2 NOLIST + hLiteral 0 NOLIST + ] + hBinop = [ + hVarref empty_i_scclang_global_1 NOLIST + hLiteral 1 NOLIST + ] + ] + hCStmt NONAME [ + hIfStmt NONAME [ + hVarref wr_en_i_scclang_global_5 NOLIST + hCStmt NONAME [ hBinop = [ - hVarref pad_done_mc_proc_local_5 NOLIST - hBinop >= [ - hVarref ts_mc_proc_local_2##bits NOLIST + hBinop ARRAYSUBSCRIPT [ + hVarref data_scclang_global_0 NOLIST hSigAssignR read [ - hVarref minbits NOLIST + hVarref wr_idx_scclang_global_6 NOLIST ] ] + hSigAssignR read [ + hVarref s_port##data NOLIST + ] ] hBinop = [ - hVarref fls_done_mc_proc_local_6 NOLIST - hMethodCall zhw__encode_streamfp_t11_52_2_bits_t64__out_bits_func_2 [ - hVarref ts_mc_proc_local_2 NOLIST - hBinop && [ - hVarref add_done_mc_proc_local_4 NOLIST - hVarref pad_done_mc_proc_local_5 NOLIST - ] - ] + hVarref wr_idx_scclang_global_6 NOLIST + hVarref wr_inc_ms_proc_local_3 NOLIST ] hIfStmt NONAME [ - hVarref add_done_mc_proc_local_4 NOLIST + hUnop ! [ + hVarref rd_en_i_scclang_global_3 NOLIST + ] hCStmt NONAME [ hIfStmt NONAME [ - hBinop && [ - hBinop && [ - hVarref dis_done_mc_proc_local_3 NOLIST - hVarref pad_done_mc_proc_local_5 NOLIST - ] - hVarref fls_done_mc_proc_local_6 NOLIST - ] - hBinop = [ - hVarref ts_mc_proc_local_2##s NOLIST - hLiteral 0 NOLIST + hBinop == [ + hVarref wr_inc_ms_proc_local_3 NOLIST + hVarref rd_idx_scclang_global_4 NOLIST ] hBinop = [ - hVarref ts_mc_proc_local_2##s NOLIST - hLiteral 4 NOLIST + hVarref full_i_scclang_global_2 NOLIST + hLiteral 1 NOLIST ] ] + hBinop = [ + hVarref empty_i_scclang_global_1 NOLIST + hLiteral 0 NOLIST + ] ] ] - hBreak NONAME NOLIST ] ] - hSwitchCase NONAME [ - hLiteral 4 NOLIST + hIfStmt NONAME [ + hVarref rd_en_i_scclang_global_3 NOLIST hCStmt NONAME [ - hIfStmt NONAME [ - hSigAssignR read [ - hVarref s_valid NOLIST - ] - hCStmt NONAME [ - hIfStmt NONAME [ - hBinop < [ - hVarref ts_mc_proc_local_2##planes NOLIST - hLiteral 64 NOLIST - ] - hCStmt NONAME [ - hIfStmt NONAME [ - hBinop < [ - hVarref ts_mc_proc_local_2##planes NOLIST - hBinop - [ - hLiteral 64 NOLIST - hLiteral 2 NOLIST - ] - ] - hSigAssignL write [ - hVarref m_flush NOLIST - hLiteral 1 NOLIST - ] - ] - hSigAssignL write [ - hVarref s_ready NOLIST - hLiteral 1 NOLIST - ] - hIfStmt NONAME [ - hSigAssignR read [ - hVarref s_last NOLIST - ] - hBinop = [ - hVarref ts_mc_proc_local_2##planes NOLIST - hLiteral 64 NOLIST - ] - hBinop = [ - hVarref ts_mc_proc_local_2##planes NOLIST - hBinop + [ - hVarref ts_mc_proc_local_2##planes NOLIST - hLiteral 1 NOLIST - ] - ] - ] - ] - ] - ] - hSigAssignL write [ - hVarref s_ready NOLIST - hLiteral 1 NOLIST - ] + hBinop = [ + hVarref rd_idx_scclang_global_4 NOLIST + hVarref rd_inc_ms_proc_local_4 NOLIST ] hIfStmt NONAME [ - hBinop < [ - hVarref ts_mc_proc_local_2##bits NOLIST - hSigAssignR read [ - hVarref minbits NOLIST - ] + hUnop ! [ + hVarref wr_en_i_scclang_global_5 NOLIST ] hCStmt NONAME [ - hVarAssign NONAME [ - hVarref pbits_mc_proc_local_7 NOLIST - hBinop - [ - hSigAssignR read [ - hVarref minbits NOLIST - ] - hVarref ts_mc_proc_local_2##bits NOLIST - ] - ] - hVarAssign NONAME [ - hVarref abits_mc_proc_local_8 NOLIST - hBinop - [ - hLiteral 64 NOLIST - hBinop & [ - hVarref ts_mc_proc_local_2##bits NOLIST - hBinop - [ - hLiteral 64 NOLIST - hLiteral 1 NOLIST - ] - ] - ] - ] - hVarAssign NONAME [ - hVarref n_mc_proc_local_9 NOLIST - hBuiltinFunction sc_min [ - hVarref pbits_mc_proc_local_7 NOLIST - hVarref abits_mc_proc_local_8 NOLIST - ] + hBinop = [ + hVarref full_i_scclang_global_2 NOLIST + hLiteral 0 NOLIST ] - hMethodCall zhw__encode_streamfp_t11_52_2_bits_t64__pack_bits_func_1 [ - hVarref ts_mc_proc_local_2 NOLIST - hVarref n_mc_proc_local_9 NOLIST - hLiteral 0 [ - hTypeinfo NONAME [ - hType sc_bv [ - hLiteral 64 NOLIST - ] - ] + hIfStmt NONAME [ + hBinop == [ + hVarref rd_inc_ms_proc_local_4 NOLIST + hVarref wr_idx_scclang_global_6 NOLIST + ] + hBinop = [ + hVarref empty_i_scclang_global_1 NOLIST + hLiteral 1 NOLIST ] ] ] ] - hBinop = [ - hVarref dis_done_mc_proc_local_3 NOLIST - hBinop == [ - hVarref ts_mc_proc_local_2##planes NOLIST - hLiteral 64 NOLIST - ] - ] - hBinop = [ - hVarref pad_done_mc_proc_local_5 NOLIST - hBinop >= [ - hVarref ts_mc_proc_local_2##bits NOLIST - hSigAssignR read [ - hVarref minbits NOLIST - ] - ] - ] - hBinop = [ - hVarref fls_done_mc_proc_local_6 NOLIST - hMethodCall zhw__encode_streamfp_t11_52_2_bits_t64__out_bits_func_2 [ - hVarref ts_mc_proc_local_2 NOLIST - hVarref pad_done_mc_proc_local_5 NOLIST - ] - ] - hIfStmt NONAME [ - hBinop && [ - hBinop && [ - hVarref dis_done_mc_proc_local_3 NOLIST - hVarref pad_done_mc_proc_local_5 NOLIST - ] - hVarref fls_done_mc_proc_local_6 NOLIST - ] - hBinop = [ - hVarref ts_mc_proc_local_2##s NOLIST - hLiteral 0 NOLIST - ] - ] - hBreak NONAME NOLIST ] ] ] ] - hBinop = [ - hVarref ns_scclang_global_1 NOLIST - hVarref ts_mc_proc_local_2 NOLIST - ] ] ] ] - hProcess ms_proc [ - hMethod ms_proc [ - hCStmt NONAME [ - hIfStmt NONAME [ - hBinop == [ - hVarref reset NOLIST - hLiteral 0 NOLIST - ] - hCStmt NONAME [ - hBinop = [ - hVarref cs_scclang_global_0 NOLIST - hLiteral 0 NOLIST - ] - ] - hCStmt NONAME [ - hBinop = [ - hVarref cs_scclang_global_0 NOLIST - hVarref ns_scclang_global_1 NOLIST - ] - ] + ] + hModinitblock u_reg_ex [ + hVardeclrn i_u_reg_ex_local_1 [ + hTypeinfo NONAME [ + hType unsigned_int NOLIST + ] + hLiteral i NOLIST + ] + hCStmt NONAME [ + hForStmt NONAME [ + hVarAssign NONAME [ + hVarref i_u_reg_ex_local_1 NOLIST + hLiteral 0 NOLIST + ] + hBinop < [ + hVarref i_u_reg_ex_local_1 NOLIST + hLiteral 2 NOLIST + ] + hPostfix ++ [ + hVarref i_u_reg_ex_local_1 NOLIST + ] + hSensvar mc_proc [ + hBinop ARRAYSUBSCRIPT [ + hVarref data_scclang_global_0 NOLIST + hVarref i_u_reg_ex_local_1 NOLIST ] + hNoop always NOLIST ] ] ] - hFunction zhw__encode_streamfp_t11_52_2_bits_t64__pack_bits_func_1 [ - hFunctionRetType NONAME [ - hTypeinfo NONAME [ - hType bool NOLIST + hSenslist mc_proc [ + hSensvar NONAME [ + hVarref s_port##valid NOLIST + hNoop always NOLIST + ] + hSensvar NONAME [ + hVarref m_port##ready NOLIST + hNoop always NOLIST + ] + hSensvar NONAME [ + hVarref full_i_scclang_global_2 NOLIST + hNoop always NOLIST + ] + hSensvar NONAME [ + hVarref empty_i_scclang_global_1 NOLIST + hNoop always NOLIST + ] + hSensvar NONAME [ + hVarref rd_idx_scclang_global_4 NOLIST + hNoop always NOLIST + ] + ] + hSenslist ms_proc [ + hSensvar NONAME [ + hVarref clk NOLIST + hBuiltinFunction pos NOLIST + ] + ] + ] + ] + hModule rvfifo_cc_sc_module_17 [ + hPortsigvarlist NONAME [ + hPortin clk [ + hTypeinfo NONAME [ + hType sc_in [ + hType _Bool NOLIST ] ] - hFunctionParams NONAME [ - hFunctionParamRef ts [ - hTypeinfo NONAME [ - hType state_t_ NOLIST - ] + ] + hPortin reset [ + hTypeinfo NONAME [ + hType sc_in [ + hType _Bool NOLIST ] - hFunctionParamI bc [ - hTypeinfo NONAME [ - hType sc_uint [ - hLiteral 12 NOLIST - ] + ] + ] + hPortin s_port [ + hTypeinfo NONAME [ + hType sc_rvd_in [ + hType fp_t_11_52_ NOLIST + ] + ] + ] + hPortout m_port [ + hTypeinfo NONAME [ + hType sc_rvd_out [ + hType fp_t_11_52_ NOLIST + ] + ] + ] + hVardecl MAX_DEPTH_scclang_global_0 [ + hTypeinfo NONAME [ + hType int NOLIST + ] + hVarInit NONAME [ + hLiteral 32 NOLIST + ] + ] + hModdecl u_fifo [ + hTypeinfo NONAME [ + hType fifo_cc_sc_module_18 NOLIST + ] + ] + ] + hModinitblock u_que_fp [ + hCStmt NONAME [ + hPortbinding u_fifo [ + hVarref clk NOLIST + hVarref clk NOLIST + ] + hPortbinding u_fifo [ + hVarref reset NOLIST + hVarref reset NOLIST + ] + hPortbinding u_fifo [ + hVarref din NOLIST + hVarref s_port##data NOLIST + ] + hPortbinding u_fifo [ + hVarref wr_en NOLIST + hVarref s_port##valid NOLIST + ] + hPortbinding u_fifo [ + hVarref full NOLIST + hVarref s_port##ready NOLIST + ] + hPortbinding u_fifo [ + hVarref dout NOLIST + hVarref m_port##data NOLIST + ] + hPortbinding u_fifo [ + hVarref rd_en NOLIST + hVarref m_port##ready NOLIST + ] + hPortbinding u_fifo [ + hVarref empty NOLIST + hVarref m_port##valid NOLIST + ] + ] + ] + ] + hModule fifo_cc_sc_module_18 [ + hPortsigvarlist NONAME [ + hPortin clk [ + hTypeinfo NONAME [ + hType sc_in [ + hType _Bool NOLIST + ] + ] + ] + hPortin reset [ + hTypeinfo NONAME [ + hType sc_in [ + hType _Bool NOLIST + ] + ] + ] + hPortin din [ + hTypeinfo NONAME [ + hType sc_in [ + hType fp_t_11_52_ NOLIST + ] + ] + ] + hPortin wr_en [ + hTypeinfo NONAME [ + hType sc_in [ + hType _Bool NOLIST + ] + ] + ] + hPortin rd_en [ + hTypeinfo NONAME [ + hType sc_in [ + hType _Bool NOLIST + ] + ] + ] + hPortout full [ + hTypeinfo NONAME [ + hType sc_out [ + hType _Bool NOLIST + ] + ] + ] + hPortout dout [ + hTypeinfo NONAME [ + hType sc_out [ + hType fp_t_11_52_ NOLIST + ] + ] + ] + hPortout empty [ + hTypeinfo NONAME [ + hType sc_out [ + hType _Bool NOLIST + ] + ] + ] + hSigdecl data_scclang_global_0 [ + hTypeinfo NONAME [ + hType array##32 [ + hType sc_signal [ + hType fp_t_11_52_ NOLIST ] ] - hFunctionParamI bp [ - hTypeinfo NONAME [ - hType sc_bv [ - hLiteral 128 NOLIST - ] - ] + ] + ] + hSigdecl empty_i_scclang_global_1 [ + hTypeinfo NONAME [ + hType sc_signal [ + hType _Bool NOLIST + ] + ] + ] + hSigdecl full_i_scclang_global_2 [ + hTypeinfo NONAME [ + hType sc_signal [ + hType _Bool NOLIST + ] + ] + ] + hSigdecl rd_en_i_scclang_global_3 [ + hTypeinfo NONAME [ + hType sc_signal [ + hType _Bool NOLIST ] ] - hVardecl n__local_10 [ - hTypeinfo NONAME [ + ] + hSigdecl rd_idx_scclang_global_4 [ + hTypeinfo NONAME [ + hType sc_signal [ hType sc_uint [ - hLiteral 12 NOLIST + hLiteral 5 NOLIST ] ] ] - hCStmt NONAME [ - hBinop = [ - hVarref bc_actual_scclang_global_6 NOLIST - hVarref bc NOLIST - ] - hBinop = [ - hVarref bp_actual_scclang_global_7 NOLIST - hVarref bp NOLIST + ] + hSigdecl wr_en_i_scclang_global_5 [ + hTypeinfo NONAME [ + hType sc_signal [ + hType _Bool NOLIST ] - hBinop = [ - hVarref n__local_10 NOLIST - hBuiltinFunction sc_min [ - hVarref bc_actual_scclang_global_6 NOLIST - hBinop - [ - hSigAssignR read [ - hVarref maxbits NOLIST - ] - hVarref ts##bits NOLIST - ] + ] + ] + hSigdecl wr_idx_scclang_global_6 [ + hTypeinfo NONAME [ + hType sc_signal [ + hType sc_uint [ + hLiteral 5 NOLIST ] ] - hIfStmt NONAME [ - hBinop >= [ - hBinop - [ - hLiteral 128 NOLIST - hVarref ts##posw NOLIST - ] - hVarref n__local_10 NOLIST - ] - hCStmt NONAME [ - hBinop = [ - hBinop SLICE [ - hVarref ts##buf NOLIST - hBinop - [ - hBinop + [ - hVarref ts##posw NOLIST - hVarref n__local_10 NOLIST + ] + ] + hVardecl MAX_DEPTH_scclang_global_7 [ + hTypeinfo NONAME [ + hType int NOLIST + ] + hVarInit NONAME [ + hLiteral 32 NOLIST + ] + ] + ] + hProcesses NONAME [ + hProcess mc_proc [ + hMethod mc_proc [ + hCStmt NONAME [ + hIfStmt NONAME [ + hLiteral 1 NOLIST + hCStmt NONAME [ + hBinop = [ + hVarref dout NOLIST + hBinop ARRAYSUBSCRIPT [ + hVarref data_scclang_global_0 NOLIST + hSigAssignR read [ + hVarref rd_idx_scclang_global_4 NOLIST ] - hLiteral 1 NOLIST - ] - hVarref ts##posw NOLIST - ] - hBinop SLICE [ - hVarref bp_actual_scclang_global_7 NOLIST - hBinop - [ - hVarref n__local_10 NOLIST - hLiteral 1 NOLIST ] - hLiteral 0 NOLIST ] ] - hBinop = [ - hVarref ts##bits NOLIST - hBinop + [ - hVarref ts##bits NOLIST - hVarref n__local_10 NOLIST + ] + hBinop = [ + hVarref wr_en_i_scclang_global_5 NOLIST + hBinop && [ + hVarref wr_en NOLIST + hUnop ! [ + hVarref full_i_scclang_global_2 NOLIST ] ] - hBinop = [ - hVarref ts##posw NOLIST - hBinop + [ - hVarref ts##posw NOLIST - hVarref n__local_10 NOLIST + ] + hBinop = [ + hVarref rd_en_i_scclang_global_3 NOLIST + hBinop && [ + hVarref rd_en NOLIST + hUnop ! [ + hVarref empty_i_scclang_global_1 NOLIST ] ] - hReturnStmt NONAME [ - hLiteral 1 NOLIST + ] + hBinop = [ + hVarref full NOLIST + hBinop == [ + hVarref full_i_scclang_global_2 NOLIST + hLiteral 0 NOLIST + ] + ] + hBinop = [ + hVarref empty NOLIST + hBinop == [ + hVarref empty_i_scclang_global_1 NOLIST + hLiteral 0 NOLIST ] ] - ] - hReturnStmt NONAME [ - hLiteral 0 NOLIST ] ] ] - hFunction zhw__encode_streamfp_t11_52_2_bits_t64__out_bits_func_2 [ - hFunctionRetType NONAME [ - hTypeinfo NONAME [ - hType bool NOLIST - ] - ] - hFunctionParams NONAME [ - hFunctionParamRef ts [ + hProcess ms_proc [ + hMethod ms_proc [ + hVardecl wr_inc_ms_proc_local_3 [ hTypeinfo NONAME [ - hType state_t_ NOLIST + hType sc_uint [ + hLiteral 5 NOLIST + ] ] ] - hFunctionParamI done [ + hVardecl rd_inc_ms_proc_local_4 [ hTypeinfo NONAME [ - hType bool NOLIST - ] - ] - ] - hVardecl bbits__local_11 [ - hTypeinfo NONAME [ - hType sc_uint [ - hLiteral 8 NOLIST + hType sc_uint [ + hLiteral 5 NOLIST + ] ] ] - ] - hVardecl flit__local_12 [ - hTypeinfo NONAME [ - hType bits_t_64_ NOLIST - ] - ] - hCStmt NONAME [ - hBinop = [ - hVarref done_actual_scclang_global_8 NOLIST - hVarref done NOLIST - ] - hBinop = [ - hVarref bbits__local_11 NOLIST - hBinop - [ - hVarref ts##posw NOLIST - hVarref ts##posr NOLIST + hVardecl i_ms_proc_local_5 [ + hTypeinfo NONAME [ + hType unsigned_int NOLIST ] ] - hIfStmt NONAME [ - hBinop && [ - hBinop >= [ - hVarref bbits__local_11 NOLIST - hLiteral 64 NOLIST + hCStmt NONAME [ + hBinop = [ + hVarref wr_inc_ms_proc_local_3 NOLIST + hBinop % [ + hBinop + [ + hSigAssignR read [ + hVarref wr_idx_scclang_global_6 NOLIST + ] + hLiteral 1 NOLIST + ] + hLiteral 32 NOLIST ] - hSigAssignR read [ - hVarref m_bits##ready NOLIST + ] + hBinop = [ + hVarref rd_inc_ms_proc_local_4 NOLIST + hBinop % [ + hBinop + [ + hSigAssignR read [ + hVarref rd_idx_scclang_global_4 NOLIST + ] + hLiteral 1 NOLIST + ] + hLiteral 32 NOLIST ] ] - hCStmt NONAME [ - hMethodCall bits_t64__bits_t_func_3 [ - hVarref flit__local_12 NOLIST + hIfStmt NONAME [ + hBinop == [ + hVarref reset NOLIST + hLiteral 0 NOLIST ] - hBinop = [ - hVarref flit__local_12##tdata NOLIST - hBinop SLICE [ - hVarref ts##buf NOLIST - hBinop - [ - hBinop + [ - hVarref ts##posr NOLIST - hLiteral 64 NOLIST + hCStmt NONAME [ + hIfStmt NONAME [ + hUnop ! [ + hLiteral 1 NOLIST + ] + hBinop = [ + hVarref dout NOLIST + hLiteral 0 NOLIST + ] + ] + hForStmt NONAME [ + hVarAssign NONAME [ + hVarref i_ms_proc_local_5 NOLIST + hLiteral 0 NOLIST + ] + hBinop < [ + hVarref i_ms_proc_local_5 NOLIST + hLiteral 32 NOLIST + ] + hPostfix ++ [ + hVarref i_ms_proc_local_5 NOLIST + ] + hBinop = [ + hBinop ARRAYSUBSCRIPT [ + hVarref data_scclang_global_0 NOLIST + hVarref i_ms_proc_local_5 NOLIST ] - hLiteral 1 NOLIST + hLiteral 0 NOLIST ] - hVarref ts##posr NOLIST ] - ] - hBinop = [ - hVarref flit__local_12##tlast NOLIST - hBinop && [ - hVarref done_actual_scclang_global_8 NOLIST - hBinop == [ - hVarref bbits__local_11 NOLIST - hLiteral 64 NOLIST + hBinop = [ + hVarref rd_idx_scclang_global_4 NOLIST + hLiteral 0 [ + hTypeinfo NONAME [ + hType sc_uint [ + hLiteral 5 NOLIST + ] + ] ] ] - ] - hSigAssignL write [ - hVarref m_bits##data NOLIST - hVarref flit__local_12 NOLIST - ] - hSigAssignL write [ - hVarref m_bits##valid NOLIST - hLiteral 1 NOLIST - ] - hBinop = [ - hBinop SLICE [ - hVarref ts##buf NOLIST - hBinop - [ - hVarref ts##posw NOLIST - hLiteral 64 NOLIST + hBinop = [ + hVarref wr_idx_scclang_global_6 NOLIST + hLiteral 0 [ + hTypeinfo NONAME [ + hType sc_uint [ + hLiteral 5 NOLIST + ] + ] ] + ] + hBinop = [ + hVarref full_i_scclang_global_2 NOLIST hLiteral 0 NOLIST ] - hBinop SLICE [ - hVarref ts##buf NOLIST - hBinop - [ - hVarref ts##posw NOLIST + hBinop = [ + hVarref empty_i_scclang_global_1 NOLIST + hLiteral 1 NOLIST + ] + ] + hCStmt NONAME [ + hIfStmt NONAME [ + hUnop ! [ hLiteral 1 NOLIST ] - hBinop + [ - hVarref ts##posr NOLIST - hLiteral 64 NOLIST + hCStmt NONAME [ + hIfStmt NONAME [ + hVarref rd_en_i_scclang_global_3 NOLIST + hBinop = [ + hVarref dout NOLIST + hBinop ARRAYSUBSCRIPT [ + hVarref data_scclang_global_0 NOLIST + hSigAssignR read [ + hVarref rd_idx_scclang_global_4 NOLIST + ] + ] + ] + ] ] ] - ] - hBinop = [ - hVarref ts##posr NOLIST - hLiteral 0 NOLIST - ] - hBinop = [ - hVarref ts##posw NOLIST - hBinop - [ - hVarref bbits__local_11 NOLIST - hLiteral 64 NOLIST + hIfStmt NONAME [ + hVarref wr_en_i_scclang_global_5 NOLIST + hCStmt NONAME [ + hBinop = [ + hBinop ARRAYSUBSCRIPT [ + hVarref data_scclang_global_0 NOLIST + hSigAssignR read [ + hVarref wr_idx_scclang_global_6 NOLIST + ] + ] + hVarref din NOLIST + ] + hBinop = [ + hVarref wr_idx_scclang_global_6 NOLIST + hVarref wr_inc_ms_proc_local_3 NOLIST + ] + hIfStmt NONAME [ + hUnop ! [ + hVarref rd_en_i_scclang_global_3 NOLIST + ] + hCStmt NONAME [ + hIfStmt NONAME [ + hBinop == [ + hVarref wr_inc_ms_proc_local_3 NOLIST + hVarref rd_idx_scclang_global_4 NOLIST + ] + hBinop = [ + hVarref full_i_scclang_global_2 NOLIST + hLiteral 1 NOLIST + ] + ] + hBinop = [ + hVarref empty_i_scclang_global_1 NOLIST + hLiteral 0 NOLIST + ] + ] + ] + ] + ] + hIfStmt NONAME [ + hVarref rd_en_i_scclang_global_3 NOLIST + hCStmt NONAME [ + hBinop = [ + hVarref rd_idx_scclang_global_4 NOLIST + hVarref rd_inc_ms_proc_local_4 NOLIST + ] + hIfStmt NONAME [ + hUnop ! [ + hVarref wr_en_i_scclang_global_5 NOLIST + ] + hCStmt NONAME [ + hBinop = [ + hVarref full_i_scclang_global_2 NOLIST + hLiteral 0 NOLIST + ] + hIfStmt NONAME [ + hBinop == [ + hVarref rd_inc_ms_proc_local_4 NOLIST + hVarref wr_idx_scclang_global_6 NOLIST + ] + hBinop = [ + hVarref empty_i_scclang_global_1 NOLIST + hLiteral 1 NOLIST + ] + ] + ] + ] + ] ] - ] - hReturnStmt NONAME [ - hVarref flit__local_12##tlast NOLIST - ] - ] - ] - hReturnStmt NONAME [ - hBinop && [ - hVarref done_actual_scclang_global_8 NOLIST - hBinop == [ - hVarref bbits__local_11 NOLIST - hLiteral 0 NOLIST ] ] ] ] ] - hFunction zhw__encode_streamfp_t11_52_2_bits_t64__state_t__state_t_func_0 [ - hFunctionRetType NONAME [ - hTypeinfo NONAME [ - hType void NOLIST - ] - ] - hFunctionParams NONAME [ - hFunctionParamIO hthis [ - hTypeinfo NONAME [ - hType state_t_ NOLIST - ] - ] + ] + hModinitblock u_fifo [ + hVardeclrn i_u_fifo_local_1 [ + hTypeinfo NONAME [ + hType int NOLIST ] - hCStmt NONAME NOLIST + hLiteral i NOLIST ] - hFunction bits_t64__bits_t_func_3 [ - hFunctionRetType NONAME [ - hTypeinfo NONAME [ - hType void NOLIST + hCStmt NONAME [ + hIfStmt NONAME [ + hBinop <= [ + hLiteral 32 NOLIST + hLiteral 0 NOLIST ] ] - hFunctionParams NONAME [ - hFunctionParamIO hthis [ - hTypeinfo NONAME [ - hType bits_t_64_ NOLIST + hForStmt NONAME [ + hVarAssign NONAME [ + hVarref i_u_fifo_local_1 NOLIST + hLiteral 0 NOLIST + ] + hBinop < [ + hVarref i_u_fifo_local_1 NOLIST + hLiteral 32 NOLIST + ] + hPostfix ++ [ + hVarref i_u_fifo_local_1 NOLIST + ] + hSensvar mc_proc [ + hBinop ARRAYSUBSCRIPT [ + hVarref data_scclang_global_0 NOLIST + hVarref i_u_fifo_local_1 NOLIST ] + hNoop always NOLIST ] ] - hCStmt NONAME NOLIST ] - ] - hModinitblock u_encode_stream [ hSenslist mc_proc [ hSensvar NONAME [ - hVarref s_ex##valid NOLIST - hNoop always NOLIST - ] - hSensvar NONAME [ - hVarref s_ex##data NOLIST - hNoop always NOLIST - ] - hSensvar NONAME [ - hVarref m_bits##ready NOLIST - hNoop always NOLIST - ] - hSensvar NONAME [ - hVarref minbits NOLIST - hNoop always NOLIST - ] - hSensvar NONAME [ - hVarref maxbits NOLIST - hNoop always NOLIST - ] - hSensvar NONAME [ - hVarref maxprec NOLIST - hNoop always NOLIST - ] - hSensvar NONAME [ - hVarref minexp NOLIST - hNoop always NOLIST - ] - hSensvar NONAME [ - hVarref s_bc NOLIST + hVarref wr_en NOLIST hNoop always NOLIST ] hSensvar NONAME [ - hVarref s_bp NOLIST + hVarref rd_en NOLIST hNoop always NOLIST ] hSensvar NONAME [ - hVarref s_last NOLIST + hVarref full_i_scclang_global_2 NOLIST hNoop always NOLIST ] hSensvar NONAME [ - hVarref s_valid NOLIST + hVarref empty_i_scclang_global_1 NOLIST hNoop always NOLIST ] hSensvar NONAME [ - hVarref cs_scclang_global_0 NOLIST + hVarref rd_idx_scclang_global_4 NOLIST hNoop always NOLIST ] ] diff --git a/plugins/hdl/HDLHnode.cpp b/plugins/hdl/HDLHnode.cpp index f69e3b62..8ca2012e 100644 --- a/plugins/hdl/HDLHnode.cpp +++ b/plugins/hdl/HDLHnode.cpp @@ -163,6 +163,8 @@ namespace systemc_hdl { void HDLConstructorHcode::PushRange(hNodep &hp, std::vector &for_info) { for_info_t tmp{"FORNAME", 0, 1, 1, 0}; + for_info.push_back(tmp); + return; // using generate, no need to symbolically traverse for loop to unroll bindings hNodep hlo = hp->child_list[0]; hNodep hi = hp->child_list[1]; @@ -237,8 +239,208 @@ namespace systemc_hdl { return ""; } + + void HDLConstructorHcode::UnrollBinding(hNodep &hp_orig, std::vector &for_info) { + + assert ((hp_orig->h_op == hNode::hdlopsEnum::hBinop) && (hp_orig->h_name == pbstring)); + hp_orig->set(hNode::hdlopsEnum::hPortbinding, ExtractModuleName(hp_orig->child_list[0])); + hnewpb->append(hp_orig); + return; + } + + + bool HDLConstructorHcode::SetupSenslist(hNodep hp) { + + // hMethodCall sc_coresc_simcontextcreate_method_process:create_method_process [ + // hMethodCall sc_coresc_get_curr_simcontext:sc_get_curr_simcontext NOLIST + // hUnimpl StringLiteral NOLIST + // hLiteral 0 NOLIST + // hUnop & [ + // hMethodCall zhwencode_blockfp_t11_52_2mc_proc:mc_proc NOLIST + // ] + // hUnimpl CXXThisExpr NOLIST + // hLiteral 0 NOLIST + // ] + + if (isMorF(hp->h_op)) { + for (hNodep hpi: hp->child_list) { + if (hpi->h_op == hNode::hdlopsEnum::hUnop) { + std::size_t found = (hpi->child_list[0]->h_name).find(qualnamedelim); + if ( found != std::string::npos) { // should be SC_METHOD name + hnewsens.push_back(new hNode(hpi->child_list[0]->h_name.substr(found+1), + hNode::hdlopsEnum::hSenslist)); + return true; // got the name + } + else { // couldn't find the ":" + hnewsens.push_back(new hNode(hpi->child_list[0]->h_name, hNode::hdlopsEnum::hSenslist)); + return true; + } + } + } + } + return false; + } + + void HDLConstructorHcode::UnrollSensitem(hNodep &hp_orig, std::vector &for_info) { + + // hBinop << [ + // hVarref sensitive NOLIST + // hNoop pos [ + // hVarref clk NOLIST + // ] + // ] + + // check for list of sens items + if (isInitSensitem(hp_orig->child_list[0])) { + UnrollSensitem(hp_orig->child_list[0], for_info); + } + + // at a primitive sens item + hNodep hp = HnodeDeepCopy(hp_orig); // need to keep the subtrees when the original tree gets released + + hp->h_op = hNode::hdlopsEnum::hSensvar; + hp->h_name = noname; + + delete hp->child_list[0]; // release that hnode + hp->child_list.erase(hp->child_list.begin()); // remove the first item + // if (!for_info.empty()) { + // SubstituteIndex(hp, for_info); + //} + + // check for edge sensitivity + // eg + // hSensvar pos [ <-- hp + // hNoop pos [ <-- hedge + // hVarref clk NOLIST <-- hedge->child_list[0] + // ] + // ] + + if (isEdge(hp->child_list[0]->h_name)) { + hNodep hedge = hp->child_list[0]; + hp->child_list[0] = hedge->child_list[0]; + hedge->child_list.pop_back(); + hp->child_list.push_back(hedge); + } + else { + + if (isSimEvent(hp->child_list[0]->h_name)) { + + // hSensvar NONAME [ + // hNoop value_changed_event [ + // hVarref c_fp##ready NOLIST + // ] + // hNoop always NOLIST + // ] + + hNodep htmp = hp->child_list[0]->child_list[0]; + hp->child_list.erase(hp->child_list.begin()); + hp->child_list.push_back(htmp); + } + + hp->child_list.push_back(new hNode("always", hNode::hdlopsEnum::hNoop)); + }; + + if (!for_info.empty()) { + if (hnewsens.size() >0) hp->set(hnewsens.back()->getname()); + hp_orig = hp; // this caused the array sens item to be generated in the for loop. + } + + else hnewsens.back()->child_list.push_back(hp); + + } - // Generate a port binding + void HDLConstructorHcode::HDLLoop(hNodep &hp, std::vector &for_info ) { + // check in order of expected frequency + if (isInitPB(hp)) { + UnrollBinding(hp, for_info); + } + else if (isInitSensitem(hp)) { + UnrollSensitem(hp, for_info); + } + + else if ((hp->h_op == hNode::hdlopsEnum::hForStmt) && (hp->child_list.size() > 3)) { + PushRange(hp, for_info); // fill in name, lo, hi, step + for (int forloopix = for_info.back().lo; forloopix < for_info.back().hi; forloopix+=for_info.back().step) { + for_info.back().curix = forloopix; + for (int i=3; ichild_list.size(); i++) { + if (isInitPB(hp->child_list[i])) {// hcode indicating port binding + UnrollBinding(hp->child_list[i], for_info); // unroll all bindings in this range + } + else if (isInitSensitem(hp->child_list[i])) { // hcode indicating sensitivity item + UnrollSensitem(hp->child_list[i], for_info); // unroll all sensitems in this range + } + else if ((hp->child_list[i]->h_op == hNode::hdlopsEnum::hForStmt) || + (hp->child_list[i]->h_op == hNode::hdlopsEnum::hCStmt)) + HDLLoop(hp->child_list[i], for_info); + } + } + for_info.pop_back(); + } + else if (hp->h_op == hNode::hdlopsEnum::hCStmt) { + for (hNodep hpc:hp->child_list) { + HDLLoop(hpc, for_info); + } + } + else if (isMethodCall(hp)) { // hVarAssign child[1] is a method call; + if (!SetupSenslist(hp->child_list[1])) { // points to first hMethodCall, push SC_METHOD name onto hnewsens + // oops couldn't parse it + hnewsens.push_back(new hNode( "METHOD ???", hNode::hdlopsEnum::hSenslist)); + } + } + else { + // check for thread sensitivity declarations + int threadsensitem = isThreadSensitem(hp); + if (threadsensitem >0 ) { + // e.g. hMethodCall sc_core__sc_module__async_reset_signal_is:async_reset_signal_is [ + // hVarref reset NOLIST + // hLiteral 0 NOLIST + // ] + LLVM_DEBUG(llvm::dbgs() << "HDLHNode: found thread sens item " << "\n"); + hNodep hpsens = HnodeDeepCopy(hp); // need to keep the subtrees when the original tree gets released + + hpsens->set(hNode::hdlopsEnum::hSensvar, threadsensitem == reset_async? "ASYNC": "SYNC"); + if (hnewsens.size()==0) // this shouldn't be the case, but whatever + hnewsens.push_back(new hNode( "METHOD ???", hNode::hdlopsEnum::hSenslist)); + hnewsens.back()->append(hpsens); + } + } + } + + + hNodep HDLConstructorHcode::ProcessCXXConstructorHcode(hNodep xconstructor) { + + std::vector for_info; + + if (xconstructor==nullptr) return xconstructor; + + // this is a workaround to make lldb find dumphcode + // since lldb doesn't pick up default parameters in print + // and doesn't recognize llvm::outs() + { int junk =2; if (junk!=2) xconstructor->dumphcode();} + + RemoveSCMethod(xconstructor); + hnewpb = new hNode(xconstructor->h_name, hNode::hdlopsEnum::hPortbindings); + // FIXME name should be the SC_METHOD name + //hnewsens = new hNode(xconstructor->h_name, hNode::hdlopsEnum::hSenslist); + for (hNodep hp : xconstructor->child_list) + HDLLoop(hp, for_info); + // if (!hnewpb->child_list.empty()) { + // xconstructor->child_list.push_back(hnewpb); + // } + if (!hnewsens.empty()) { + if ( (xconstructor->size() == 1) && (xconstructor->child_list[0]->getopc()==hNode::hdlopsEnum::hCStmt)) { + hNodep hcstmtp = xconstructor->child_list[0]; + hcstmtp->child_list.insert(hcstmtp->child_list.end(), hnewsens.begin(), hnewsens.end()); + } + else xconstructor->child_list.insert( xconstructor->child_list.end(), hnewsens.begin(), hnewsens.end()); + } + CleanupInitHcode(xconstructor); + return xconstructor; + } + + // legacy code to manyally unroll for loop bindings + #if 0 + // Generate a port binding // need to dismantle modname##field: // modname is the h_name for the portbinding // and field is the varref, e.g. @@ -289,7 +491,7 @@ namespace systemc_hdl { // hVarref _local_1 NOLIST // ] // ] - void HDLConstructorHcode::UnrollBinding(hNodep &hp_orig, std::vector &for_info) { + void HDLConstructorHcode::UnrollBindingNotUsed(hNodep &hp_orig, std::vector &for_info) { assert ((hp_orig->h_op == hNode::hdlopsEnum::hBinop) && (hp_orig->h_name == pbstring)); hp_orig->set(hNode::hdlopsEnum::hPortbinding, ExtractModuleName(hp_orig->child_list[0])); @@ -464,193 +666,6 @@ namespace systemc_hdl { SubstituteIndex(hpb, for_info); hnewpb->child_list.push_back(hpb); } - bool HDLConstructorHcode::SetupSenslist(hNodep hp) { - - // hMethodCall sc_coresc_simcontextcreate_method_process:create_method_process [ - // hMethodCall sc_coresc_get_curr_simcontext:sc_get_curr_simcontext NOLIST - // hUnimpl StringLiteral NOLIST - // hLiteral 0 NOLIST - // hUnop & [ - // hMethodCall zhwencode_blockfp_t11_52_2mc_proc:mc_proc NOLIST - // ] - // hUnimpl CXXThisExpr NOLIST - // hLiteral 0 NOLIST - // ] - - if (isMorF(hp->h_op)) { - for (hNodep hpi: hp->child_list) { - if (hpi->h_op == hNode::hdlopsEnum::hUnop) { - std::size_t found = (hpi->child_list[0]->h_name).find(qualnamedelim); - if ( found != std::string::npos) { // should be SC_METHOD name - hnewsens.push_back(new hNode(hpi->child_list[0]->h_name.substr(found+1), - hNode::hdlopsEnum::hSenslist)); - return true; // got the name - } - else { // couldn't find the ":" - hnewsens.push_back(new hNode(hpi->child_list[0]->h_name, hNode::hdlopsEnum::hSenslist)); - return true; - } - } - } - } - return false; - } - - void HDLConstructorHcode::UnrollSensitem(hNodep &hp_orig, std::vector &for_info) { - - // hBinop << [ - // hVarref sensitive NOLIST - // hNoop pos [ - // hVarref clk NOLIST - // ] - // ] - - // check for list of sens items - if (isInitSensitem(hp_orig->child_list[0])) { - UnrollSensitem(hp_orig->child_list[0], for_info); - } - - // at a primitive sens item - hNodep hp = HnodeDeepCopy(hp_orig); // need to keep the subtrees when the original tree gets released - - hp->h_op = hNode::hdlopsEnum::hSensvar; - hp->h_name = noname; - - delete hp->child_list[0]; // release that hnode - hp->child_list.erase(hp->child_list.begin()); // remove the first item - // if (!for_info.empty()) { - // SubstituteIndex(hp, for_info); - //} - - // check for edge sensitivity - // eg - // hSensvar pos [ <-- hp - // hNoop pos [ <-- hedge - // hVarref clk NOLIST <-- hedge->child_list[0] - // ] - // ] - - if (isEdge(hp->child_list[0]->h_name)) { - hNodep hedge = hp->child_list[0]; - hp->child_list[0] = hedge->child_list[0]; - hedge->child_list.pop_back(); - hp->child_list.push_back(hedge); - } - else { - - if (isSimEvent(hp->child_list[0]->h_name)) { - - // hSensvar NONAME [ - // hNoop value_changed_event [ - // hVarref c_fp##ready NOLIST - // ] - // hNoop always NOLIST - // ] - - hNodep htmp = hp->child_list[0]->child_list[0]; - hp->child_list.erase(hp->child_list.begin()); - hp->child_list.push_back(htmp); - } - - hp->child_list.push_back(new hNode("always", hNode::hdlopsEnum::hNoop)); - }; - - if (!for_info.empty()) { - if (hnewsens.size() >0) hp->set(hnewsens.back()->getname()); - hp_orig = hp; // this caused the array sens item to be generated in the for loop. - } - - else hnewsens.back()->child_list.push_back(hp); - - } - - void HDLConstructorHcode::HDLLoop(hNodep &hp, std::vector &for_info ) { - // check in order of expected frequency - if (isInitPB(hp)) { - UnrollBinding(hp, for_info); - } - else if (isInitSensitem(hp)) { - UnrollSensitem(hp, for_info); - } - - else if ((hp->h_op == hNode::hdlopsEnum::hForStmt) && (hp->child_list.size() > 3)) { - PushRange(hp, for_info); // fill in name, lo, hi, step - for (int forloopix = for_info.back().lo; forloopix < for_info.back().hi; forloopix+=for_info.back().step) { - for_info.back().curix = forloopix; - for (int i=3; ichild_list.size(); i++) { - if (isInitPB(hp->child_list[i])) {// hcode indicating port binding - UnrollBinding(hp->child_list[i], for_info); // unroll all bindings in this range - } - else if (isInitSensitem(hp->child_list[i])) { // hcode indicating sensitivity item - UnrollSensitem(hp->child_list[i], for_info); // unroll all sensitems in this range - } - else if ((hp->child_list[i]->h_op == hNode::hdlopsEnum::hForStmt) || - (hp->child_list[i]->h_op == hNode::hdlopsEnum::hCStmt)) - HDLLoop(hp->child_list[i], for_info); - } - } - for_info.pop_back(); - } - else if (hp->h_op == hNode::hdlopsEnum::hCStmt) { - for (hNodep hpc:hp->child_list) { - HDLLoop(hpc, for_info); - } - } - else if (isMethodCall(hp)) { // hVarAssign child[1] is a method call; - if (!SetupSenslist(hp->child_list[1])) { // points to first hMethodCall, push SC_METHOD name onto hnewsens - // oops couldn't parse it - hnewsens.push_back(new hNode( "METHOD ???", hNode::hdlopsEnum::hSenslist)); - } - } - else { - // check for thread sensitivity declarations - int threadsensitem = isThreadSensitem(hp); - if (threadsensitem >0 ) { - // e.g. hMethodCall sc_core__sc_module__async_reset_signal_is:async_reset_signal_is [ - // hVarref reset NOLIST - // hLiteral 0 NOLIST - // ] - LLVM_DEBUG(llvm::dbgs() << "HDLHNode: found thread sens item " << "\n"); - hNodep hpsens = HnodeDeepCopy(hp); // need to keep the subtrees when the original tree gets released - - hpsens->set(hNode::hdlopsEnum::hSensvar, threadsensitem == reset_async? "ASYNC": "SYNC"); - if (hnewsens.size()==0) // this shouldn't be the case, but whatever - hnewsens.push_back(new hNode( "METHOD ???", hNode::hdlopsEnum::hSenslist)); - hnewsens.back()->append(hpsens); - } - } - } - - - hNodep HDLConstructorHcode::ProcessCXXConstructorHcode(hNodep xconstructor) { - - std::vector for_info; - - if (xconstructor==nullptr) return xconstructor; - - // this is a workaround to make lldb find dumphcode - // since lldb doesn't pick up default parameters in print - // and doesn't recognize llvm::outs() - { int junk =2; if (junk!=2) xconstructor->dumphcode();} - - RemoveSCMethod(xconstructor); - hnewpb = new hNode(xconstructor->h_name, hNode::hdlopsEnum::hPortbindings); - // FIXME name should be the SC_METHOD name - //hnewsens = new hNode(xconstructor->h_name, hNode::hdlopsEnum::hSenslist); - for (hNodep hp : xconstructor->child_list) - HDLLoop(hp, for_info); - // if (!hnewpb->child_list.empty()) { - // xconstructor->child_list.push_back(hnewpb); - // } - if (!hnewsens.empty()) { - if ( (xconstructor->size() == 1) && (xconstructor->child_list[0]->getopc()==hNode::hdlopsEnum::hCStmt)) { - hNodep hcstmtp = xconstructor->child_list[0]; - hcstmtp->child_list.insert(hcstmtp->child_list.end(), hnewsens.begin(), hnewsens.end()); - } - else xconstructor->child_list.insert( xconstructor->child_list.end(), hnewsens.begin(), hnewsens.end()); - } - CleanupInitHcode(xconstructor); - return xconstructor; - } +#endif }