diff --git a/apps/coreir_examples/blur_1_4/design_top_golden.json b/apps/coreir_examples/blur_1_4/design_top_golden.json index ac0923728..31b239ec4 100644 --- a/apps/coreir_examples/blur_1_4/design_top_golden.json +++ b/apps/coreir_examples/blur_1_4/design_top_golden.json @@ -70,7 +70,11 @@ }, "lb_p3_clamped_stencil_update_stream":{ "genref":"commonlib.linebuffer", - "genargs":{"has_valid":["Bool",false], "image_type":["CoreIRType",["Array",16,["Array",16,["Array",16,"Bit"]]]], "input_type":["CoreIRType",["Array",1,["Array",1,["Array",16,"BitIn"]]]], "is_last_lb":["Bool",true], "output_type":["CoreIRType",["Array",1,["Array",4,["Array",16,"Bit"]]]]} + "genargs":{"has_valid":["Bool",false], "image_type":["CoreIRType",["Array",16,["Array",16,["Array",16,"Bit"]]]], "input_type":["CoreIRType",["Array",1,["Array",1,["Array",16,"BitIn"]]]], "output_type":["CoreIRType",["Array",1,["Array",4,["Array",16,"Bit"]]]]} + }, + "lb_p3_clamped_stencil_update_stream_reset":{ + "modref":"corebit.const", + "modargs":{"value":["Bool",false]} }, "lb_p3_clamped_stencil_update_stream_wen":{ "modref":"corebit.const", @@ -125,6 +129,7 @@ ["mul_3805_381.in0","lb_p3_clamped_stencil_update_stream.out.0.1"], ["mul_3855_386.in0","lb_p3_clamped_stencil_update_stream.out.0.2"], ["mul_3903_391.in0","lb_p3_clamped_stencil_update_stream.out.0.3"], + ["lb_p3_clamped_stencil_update_stream_reset.out","lb_p3_clamped_stencil_update_stream.reset"], ["lb_p3_clamped_stencil_update_stream_wen.out","lb_p3_clamped_stencil_update_stream.wen"], ["self.out.0.0","mux_3949_396.out"], ["slt159_393_394.out","mux_3949_396.sel"] @@ -133,4 +138,4 @@ } } } -} \ No newline at end of file +} diff --git a/apps/coreir_examples/blur_1_4/passed.md5 b/apps/coreir_examples/blur_1_4/passed.md5 index 987ffbb94..706908526 100644 --- a/apps/coreir_examples/blur_1_4/passed.md5 +++ b/apps/coreir_examples/blur_1_4/passed.md5 @@ -1,2 +1,2 @@ -b7ab8f8f7ba711862fc3025063111e75 run -312db18365da363db4144c9f883b9072 design_top.json +4b69ce85769fefe05c7dce25fee38ee0 run +32189d7e94c106558e69eb310f9b6d4d design_top.json diff --git a/apps/coreir_examples/cascade/design_top_golden.json b/apps/coreir_examples/cascade/design_top_golden.json index 60110c6cf..52798287c 100644 --- a/apps/coreir_examples/cascade/design_top_golden.json +++ b/apps/coreir_examples/cascade/design_top_golden.json @@ -5,6 +5,7 @@ "DesignTop":{ "type":["Record",[ ["in",["Record",[["arg_1",["Array",1,["Array",1,["Array",16,"BitIn"]]]]]]], + ["reset","BitIn"], ["out",["Array",1,["Array",1,["Array",16,"Bit"]]]], ["valid","Bit"] ]], @@ -233,11 +234,11 @@ }, "lb_conv1_2_stencil_update_stream":{ "genref":"commonlib.linebuffer", - "genargs":{"has_valid":["Bool",true], "image_type":["CoreIRType",["Array",62,["Array",62,["Array",16,"Bit"]]]], "input_type":["CoreIRType",["Array",1,["Array",1,["Array",16,"BitIn"]]]], "is_last_lb":["Bool",true], "output_type":["CoreIRType",["Array",3,["Array",3,["Array",16,"Bit"]]]]} + "genargs":{"has_valid":["Bool",true], "image_type":["CoreIRType",["Array",62,["Array",62,["Array",16,"Bit"]]]], "input_type":["CoreIRType",["Array",1,["Array",1,["Array",16,"BitIn"]]]], "output_type":["CoreIRType",["Array",3,["Array",3,["Array",16,"Bit"]]]]} }, "lb_p4_clamped_stencil_update_stream":{ "genref":"commonlib.linebuffer", - "genargs":{"has_valid":["Bool",true], "image_type":["CoreIRType",["Array",64,["Array",64,["Array",16,"Bit"]]]], "input_type":["CoreIRType",["Array",1,["Array",1,["Array",16,"BitIn"]]]], "is_last_lb":["Bool",true], "output_type":["CoreIRType",["Array",3,["Array",3,["Array",16,"Bit"]]]]} + "genargs":{"has_valid":["Bool",true], "image_type":["CoreIRType",["Array",64,["Array",64,["Array",16,"Bit"]]]], "input_type":["CoreIRType",["Array",1,["Array",1,["Array",16,"BitIn"]]]], "output_type":["CoreIRType",["Array",3,["Array",3,["Array",16,"Bit"]]]]} }, "lb_p4_clamped_stencil_update_stream_wen":{ "modref":"corebit.const", @@ -358,6 +359,7 @@ ["mul_5032_504.in1","const2_2.out"], ["mul_5554_556.in1","const4_4$1.out"], ["mul_5174_518.in1","const4_4.out"], + ["self.reset","lb_conv1_2_stencil_update_stream.reset"], ["self.valid","lb_conv1_2_stencil_update_stream.valid"], ["lb_p4_clamped_stencil_update_stream.valid","lb_conv1_2_stencil_update_stream.wen"], ["self.in.arg_1","lb_p4_clamped_stencil_update_stream.in"], @@ -366,10 +368,11 @@ ["mul_5174_518.in0","lb_p4_clamped_stencil_update_stream.out.1.1"], ["mul_5222_523.in0","lb_p4_clamped_stencil_update_stream.out.1.2"], ["mul_5312_532.in0","lb_p4_clamped_stencil_update_stream.out.2.1"], + ["self.reset","lb_p4_clamped_stencil_update_stream.reset"], ["lb_p4_clamped_stencil_update_stream_wen.out","lb_p4_clamped_stencil_update_stream.wen"] ] } } } } -} \ No newline at end of file +} diff --git a/apps/coreir_examples/cascade/passed.md5 b/apps/coreir_examples/cascade/passed.md5 index 9f664d905..18676f844 100644 --- a/apps/coreir_examples/cascade/passed.md5 +++ b/apps/coreir_examples/cascade/passed.md5 @@ -1,2 +1,2 @@ -dcbf9addbaefb9f158b0b544f3ae5f61 run -11eeb66a99cc6098f18eb4b9617d655e design_top.json +1bfa18b8a7ebf1a69a4d83309969803a run +19e5dc48bb9d55c51000e1b79b01b94f design_top.json diff --git a/apps/coreir_examples/conv_1_1/design_top_golden.json b/apps/coreir_examples/conv_1_1/design_top_golden.json index f2b954a47..3dff23f7a 100644 --- a/apps/coreir_examples/conv_1_1/design_top_golden.json +++ b/apps/coreir_examples/conv_1_1/design_top_golden.json @@ -38,4 +38,4 @@ } } } -} \ No newline at end of file +} diff --git a/apps/coreir_examples/conv_1_1/passed.md5 b/apps/coreir_examples/conv_1_1/passed.md5 index df64b0805..8d741fc4c 100644 --- a/apps/coreir_examples/conv_1_1/passed.md5 +++ b/apps/coreir_examples/conv_1_1/passed.md5 @@ -1,2 +1,2 @@ -8f6ee373ebb0b5046233b8c6560b1bef run -9e013647ba7014b6ead24f69fa197d31 design_top.json +0b83bbe11f7c1ff23ccfe75b66ea6aa9 run +b2b16f748143707930d26903217e545b design_top.json diff --git a/apps/coreir_examples/conv_1_2/design_top_golden.json b/apps/coreir_examples/conv_1_2/design_top_golden.json index 246210ec6..48050a378 100644 --- a/apps/coreir_examples/conv_1_2/design_top_golden.json +++ b/apps/coreir_examples/conv_1_2/design_top_golden.json @@ -33,7 +33,11 @@ }, "lb_p4_clamped_stencil_update_stream":{ "genref":"commonlib.linebuffer", - "genargs":{"has_valid":["Bool",false], "image_type":["CoreIRType",["Array",8,["Array",9,["Array",16,"Bit"]]]], "input_type":["CoreIRType",["Array",1,["Array",1,["Array",16,"BitIn"]]]], "is_last_lb":["Bool",true], "output_type":["CoreIRType",["Array",1,["Array",2,["Array",16,"Bit"]]]]} + "genargs":{"has_valid":["Bool",false], "image_type":["CoreIRType",["Array",8,["Array",9,["Array",16,"Bit"]]]], "input_type":["CoreIRType",["Array",1,["Array",1,["Array",16,"BitIn"]]]], "output_type":["CoreIRType",["Array",1,["Array",2,["Array",16,"Bit"]]]]} + }, + "lb_p4_clamped_stencil_update_stream_reset":{ + "modref":"corebit.const", + "modargs":{"value":["Bool",false]} }, "lb_p4_clamped_stencil_update_stream_wen":{ "modref":"corebit.const", @@ -59,10 +63,11 @@ ["self.in.arg_1","lb_p4_clamped_stencil_update_stream.in"], ["mul_307_308_309.in0","lb_p4_clamped_stencil_update_stream.out.0.0"], ["mul_313_314_315.in0","lb_p4_clamped_stencil_update_stream.out.0.1"], + ["lb_p4_clamped_stencil_update_stream_reset.out","lb_p4_clamped_stencil_update_stream.reset"], ["lb_p4_clamped_stencil_update_stream_wen.out","lb_p4_clamped_stencil_update_stream.wen"] ] } } } } -} \ No newline at end of file +} diff --git a/apps/coreir_examples/conv_1_2/passed.md5 b/apps/coreir_examples/conv_1_2/passed.md5 index da0f57200..064fda374 100644 --- a/apps/coreir_examples/conv_1_2/passed.md5 +++ b/apps/coreir_examples/conv_1_2/passed.md5 @@ -1,2 +1,2 @@ -c006d64bd2c64d5cef4d010212a138ea run -7993c7eaee54549455fcd00dc41bc5ec design_top.json +847d7779ace652678591b6d54ba49061 run +9830891078d1a2ac2c2908f9a54d6351 design_top.json diff --git a/apps/coreir_examples/conv_1_2_valid/design_flat.json b/apps/coreir_examples/conv_1_2_valid/design_flat.json index 79b9a4987..a539f931c 100644 --- a/apps/coreir_examples/conv_1_2_valid/design_flat.json +++ b/apps/coreir_examples/conv_1_2_valid/design_flat.json @@ -7,6 +7,7 @@ ["clk",["Named","coreir.clkIn"]], ["in_arg_1_0_0",["Array",16,"BitIn"]], ["out_0_0",["Array",16,"Bit"]], + ["reset","BitIn"], ["valid","Bit"] ]], "instances":{ @@ -33,121 +34,63 @@ "genargs":{"width":["Int",16]}, "modargs":{"value":[["BitVector",16],"16'h0005"]} }, - "lb_p4_clamped_stencil_update_stream$const_stencil0":{ + "lb_p4_clamped_stencil_update_stream$lb_recurse$const_stencil0":{ "genref":"coreir.const", "genargs":{"width":["Int",16]}, "modargs":{"value":[["BitVector",16],"16'h0001"]} }, - "lb_p4_clamped_stencil_update_stream$const_stencil1":{ - "genref":"coreir.const", - "genargs":{"width":["Int",16]}, - "modargs":{"value":[["BitVector",16],"16'h0000"]} - }, - "lb_p4_clamped_stencil_update_stream$lb1d_0$reg_1":{ + "lb_p4_clamped_stencil_update_stream$lb_recurse$lb1d_0$reg_1":{ "genref":"coreir.reg", "genargs":{"width":["Int",16]}, "modargs":{"clk_posedge":["Bool",true], "init":[["BitVector",16],"16'hxxxx"]} }, - "lb_p4_clamped_stencil_update_stream$valcompare_0":{ - "genref":"coreir.ule", - "genargs":{"width":["Int",16]} + "lb_p4_clamped_stencil_update_stream$lb_recurse$lb1d_0$reset_term":{ + "modref":"corebit.term" }, - "lb_p4_clamped_stencil_update_stream$valcompare_1":{ + "lb_p4_clamped_stencil_update_stream$lb_recurse$valcompare_0":{ "genref":"coreir.ule", "genargs":{"width":["Int",16]} }, - "lb_p4_clamped_stencil_update_stream$valcounter_0$add":{ - "genref":"coreir.add", - "genargs":{"width":["Int",16]} - }, - "lb_p4_clamped_stencil_update_stream$valcounter_0$count$c0":{ - "genref":"coreir.const", - "genargs":{"width":["Int",16]}, - "modargs":{"value":[["BitVector",16],"16'h0000"]} - }, - "lb_p4_clamped_stencil_update_stream$valcounter_0$count$clrMux":{ - "genref":"coreir.mux", - "genargs":{"width":["Int",16]} - }, - "lb_p4_clamped_stencil_update_stream$valcounter_0$count$enMux":{ - "genref":"coreir.mux", - "genargs":{"width":["Int",16]} - }, - "lb_p4_clamped_stencil_update_stream$valcounter_0$count$reg0":{ - "genref":"coreir.reg", - "genargs":{"width":["Int",16]}, - "modargs":{"clk_posedge":["Bool",true], "init":[["BitVector",16],"16'h0000"]} - }, - "lb_p4_clamped_stencil_update_stream$valcounter_0$inc":{ - "genref":"coreir.const", - "genargs":{"width":["Int",16]}, - "modargs":{"value":[["BitVector",16],"16'h0001"]} - }, - "lb_p4_clamped_stencil_update_stream$valcounter_0$max":{ - "genref":"coreir.const", - "genargs":{"width":["Int",16]}, - "modargs":{"value":[["BitVector",16],"16'h0009"]} - }, - "lb_p4_clamped_stencil_update_stream$valcounter_0$resetOr":{ - "genref":"coreir.or", - "genargs":{"width":["Int",1]} - }, - "lb_p4_clamped_stencil_update_stream$valcounter_0$ult":{ - "genref":"coreir.ult", - "genargs":{"width":["Int",16]} - }, - "lb_p4_clamped_stencil_update_stream$valcounter_0_reset":{ - "modref":"corebit.const", - "modargs":{"value":["Bool",false]} - }, - "lb_p4_clamped_stencil_update_stream$valcounter_1$add":{ + "lb_p4_clamped_stencil_update_stream$lb_recurse$valcounter_0$add":{ "genref":"coreir.add", "genargs":{"width":["Int",16]} }, - "lb_p4_clamped_stencil_update_stream$valcounter_1$count$c0":{ + "lb_p4_clamped_stencil_update_stream$lb_recurse$valcounter_0$count$c0":{ "genref":"coreir.const", "genargs":{"width":["Int",16]}, "modargs":{"value":[["BitVector",16],"16'h0000"]} }, - "lb_p4_clamped_stencil_update_stream$valcounter_1$count$clrMux":{ + "lb_p4_clamped_stencil_update_stream$lb_recurse$valcounter_0$count$clrMux":{ "genref":"coreir.mux", "genargs":{"width":["Int",16]} }, - "lb_p4_clamped_stencil_update_stream$valcounter_1$count$enMux":{ + "lb_p4_clamped_stencil_update_stream$lb_recurse$valcounter_0$count$enMux":{ "genref":"coreir.mux", "genargs":{"width":["Int",16]} }, - "lb_p4_clamped_stencil_update_stream$valcounter_1$count$reg0":{ + "lb_p4_clamped_stencil_update_stream$lb_recurse$valcounter_0$count$reg0":{ "genref":"coreir.reg", "genargs":{"width":["Int",16]}, "modargs":{"clk_posedge":["Bool",true], "init":[["BitVector",16],"16'h0000"]} }, - "lb_p4_clamped_stencil_update_stream$valcounter_1$inc":{ + "lb_p4_clamped_stencil_update_stream$lb_recurse$valcounter_0$inc":{ "genref":"coreir.const", "genargs":{"width":["Int",16]}, "modargs":{"value":[["BitVector",16],"16'h0001"]} }, - "lb_p4_clamped_stencil_update_stream$valcounter_1$max":{ + "lb_p4_clamped_stencil_update_stream$lb_recurse$valcounter_0$max":{ "genref":"coreir.const", "genargs":{"width":["Int",16]}, "modargs":{"value":[["BitVector",16],"16'h0009"]} }, - "lb_p4_clamped_stencil_update_stream$valcounter_1$resetOr":{ - "genref":"coreir.or", - "genargs":{"width":["Int",1]} + "lb_p4_clamped_stencil_update_stream$lb_recurse$valcounter_0$resetOr":{ + "modref":"corebit.or" }, - "lb_p4_clamped_stencil_update_stream$valcounter_1$ult":{ + "lb_p4_clamped_stencil_update_stream$lb_recurse$valcounter_0$ult":{ "genref":"coreir.ult", "genargs":{"width":["Int",16]} }, - "lb_p4_clamped_stencil_update_stream$valcounter_1_reset":{ - "modref":"corebit.const", - "modargs":{"value":["Bool",false]} - }, - "lb_p4_clamped_stencil_update_stream$valid_andr$_join":{ - "modref":"corebit.and" - }, - "lb_p4_clamped_stencil_update_stream$valid_andr$opN_0$_join":{ + "lb_p4_clamped_stencil_update_stream$lb_recurse$valid_andr$_join":{ "modref":"corebit.and" }, "lb_p4_clamped_stencil_update_stream_wen":{ @@ -171,50 +114,33 @@ ["self.out_0_0","add_329_333_334.out"], ["mul_325_326_327.in1","const5__326.out"], ["mul_331_332_333.in1","const5__332.out"], - ["lb_p4_clamped_stencil_update_stream$valcompare_0.in0","lb_p4_clamped_stencil_update_stream$const_stencil0.out"], - ["lb_p4_clamped_stencil_update_stream$valcompare_1.in0","lb_p4_clamped_stencil_update_stream$const_stencil1.out"], - ["self.clk","lb_p4_clamped_stencil_update_stream$lb1d_0$reg_1.clk"], - ["self.in_arg_1_0_0","lb_p4_clamped_stencil_update_stream$lb1d_0$reg_1.in"], - ["mul_325_326_327.in0","lb_p4_clamped_stencil_update_stream$lb1d_0$reg_1.out"], - ["lb_p4_clamped_stencil_update_stream$valcounter_0$count$reg0.out","lb_p4_clamped_stencil_update_stream$valcompare_0.in1"], - ["lb_p4_clamped_stencil_update_stream$valid_andr$opN_0$_join.in1","lb_p4_clamped_stencil_update_stream$valcompare_0.out"], - ["lb_p4_clamped_stencil_update_stream$valcounter_1$count$reg0.out","lb_p4_clamped_stencil_update_stream$valcompare_1.in1"], - ["lb_p4_clamped_stencil_update_stream$valid_andr$_join.in1","lb_p4_clamped_stencil_update_stream$valcompare_1.out"], - ["lb_p4_clamped_stencil_update_stream$valcounter_0$count$reg0.out","lb_p4_clamped_stencil_update_stream$valcounter_0$add.in0"], - ["lb_p4_clamped_stencil_update_stream$valcounter_0$inc.out","lb_p4_clamped_stencil_update_stream$valcounter_0$add.in1"], - ["lb_p4_clamped_stencil_update_stream$valcounter_0$count$clrMux.in0","lb_p4_clamped_stencil_update_stream$valcounter_0$add.out"], - ["lb_p4_clamped_stencil_update_stream$valcounter_0$ult.in1","lb_p4_clamped_stencil_update_stream$valcounter_0$add.out"], - ["lb_p4_clamped_stencil_update_stream$valcounter_0$count$clrMux.in1","lb_p4_clamped_stencil_update_stream$valcounter_0$count$c0.out"], - ["lb_p4_clamped_stencil_update_stream$valcounter_0$count$enMux.in1","lb_p4_clamped_stencil_update_stream$valcounter_0$count$clrMux.out"], - ["lb_p4_clamped_stencil_update_stream$valcounter_0$resetOr.out.0","lb_p4_clamped_stencil_update_stream$valcounter_0$count$clrMux.sel"], - ["lb_p4_clamped_stencil_update_stream$valcounter_0$count$reg0.out","lb_p4_clamped_stencil_update_stream$valcounter_0$count$enMux.in0"], - ["lb_p4_clamped_stencil_update_stream$valcounter_0$count$reg0.in","lb_p4_clamped_stencil_update_stream$valcounter_0$count$enMux.out"], - ["lb_p4_clamped_stencil_update_stream_wen.out","lb_p4_clamped_stencil_update_stream$valcounter_0$count$enMux.sel"], - ["self.clk","lb_p4_clamped_stencil_update_stream$valcounter_0$count$reg0.clk"], - ["lb_p4_clamped_stencil_update_stream$valcounter_0$ult.in0","lb_p4_clamped_stencil_update_stream$valcounter_0$max.out"], - ["lb_p4_clamped_stencil_update_stream$valcounter_0$ult.out","lb_p4_clamped_stencil_update_stream$valcounter_0$resetOr.in0.0"], - ["lb_p4_clamped_stencil_update_stream$valcounter_0_reset.out","lb_p4_clamped_stencil_update_stream$valcounter_0$resetOr.in1.0"], - ["lb_p4_clamped_stencil_update_stream$valcounter_1$count$enMux.sel","lb_p4_clamped_stencil_update_stream$valcounter_0$ult.out"], - ["lb_p4_clamped_stencil_update_stream$valcounter_1$count$reg0.out","lb_p4_clamped_stencil_update_stream$valcounter_1$add.in0"], - ["lb_p4_clamped_stencil_update_stream$valcounter_1$inc.out","lb_p4_clamped_stencil_update_stream$valcounter_1$add.in1"], - ["lb_p4_clamped_stencil_update_stream$valcounter_1$count$clrMux.in0","lb_p4_clamped_stencil_update_stream$valcounter_1$add.out"], - ["lb_p4_clamped_stencil_update_stream$valcounter_1$ult.in1","lb_p4_clamped_stencil_update_stream$valcounter_1$add.out"], - ["lb_p4_clamped_stencil_update_stream$valcounter_1$count$clrMux.in1","lb_p4_clamped_stencil_update_stream$valcounter_1$count$c0.out"], - ["lb_p4_clamped_stencil_update_stream$valcounter_1$count$enMux.in1","lb_p4_clamped_stencil_update_stream$valcounter_1$count$clrMux.out"], - ["lb_p4_clamped_stencil_update_stream$valcounter_1$resetOr.out.0","lb_p4_clamped_stencil_update_stream$valcounter_1$count$clrMux.sel"], - ["lb_p4_clamped_stencil_update_stream$valcounter_1$count$reg0.out","lb_p4_clamped_stencil_update_stream$valcounter_1$count$enMux.in0"], - ["lb_p4_clamped_stencil_update_stream$valcounter_1$count$reg0.in","lb_p4_clamped_stencil_update_stream$valcounter_1$count$enMux.out"], - ["self.clk","lb_p4_clamped_stencil_update_stream$valcounter_1$count$reg0.clk"], - ["lb_p4_clamped_stencil_update_stream$valcounter_1$ult.in0","lb_p4_clamped_stencil_update_stream$valcounter_1$max.out"], - ["lb_p4_clamped_stencil_update_stream$valcounter_1$ult.out","lb_p4_clamped_stencil_update_stream$valcounter_1$resetOr.in0.0"], - ["lb_p4_clamped_stencil_update_stream$valcounter_1_reset.out","lb_p4_clamped_stencil_update_stream$valcounter_1$resetOr.in1.0"], - ["lb_p4_clamped_stencil_update_stream$valid_andr$opN_0$_join.out","lb_p4_clamped_stencil_update_stream$valid_andr$_join.in0"], - ["self.valid","lb_p4_clamped_stencil_update_stream$valid_andr$_join.out"], - ["lb_p4_clamped_stencil_update_stream_wen.out","lb_p4_clamped_stencil_update_stream$valid_andr$opN_0$_join.in0"], + ["lb_p4_clamped_stencil_update_stream$lb_recurse$valcompare_0.in0","lb_p4_clamped_stencil_update_stream$lb_recurse$const_stencil0.out"], + ["self.clk","lb_p4_clamped_stencil_update_stream$lb_recurse$lb1d_0$reg_1.clk"], + ["self.in_arg_1_0_0","lb_p4_clamped_stencil_update_stream$lb_recurse$lb1d_0$reg_1.in"], + ["mul_325_326_327.in0","lb_p4_clamped_stencil_update_stream$lb_recurse$lb1d_0$reg_1.out"], + ["self.reset","lb_p4_clamped_stencil_update_stream$lb_recurse$lb1d_0$reset_term.in"], + ["lb_p4_clamped_stencil_update_stream$lb_recurse$valcounter_0$count$reg0.out","lb_p4_clamped_stencil_update_stream$lb_recurse$valcompare_0.in1"], + ["lb_p4_clamped_stencil_update_stream$lb_recurse$valid_andr$_join.in1","lb_p4_clamped_stencil_update_stream$lb_recurse$valcompare_0.out"], + ["lb_p4_clamped_stencil_update_stream$lb_recurse$valcounter_0$count$reg0.out","lb_p4_clamped_stencil_update_stream$lb_recurse$valcounter_0$add.in0"], + ["lb_p4_clamped_stencil_update_stream$lb_recurse$valcounter_0$inc.out","lb_p4_clamped_stencil_update_stream$lb_recurse$valcounter_0$add.in1"], + ["lb_p4_clamped_stencil_update_stream$lb_recurse$valcounter_0$count$clrMux.in0","lb_p4_clamped_stencil_update_stream$lb_recurse$valcounter_0$add.out"], + ["lb_p4_clamped_stencil_update_stream$lb_recurse$valcounter_0$ult.in1","lb_p4_clamped_stencil_update_stream$lb_recurse$valcounter_0$add.out"], + ["lb_p4_clamped_stencil_update_stream$lb_recurse$valcounter_0$count$clrMux.in1","lb_p4_clamped_stencil_update_stream$lb_recurse$valcounter_0$count$c0.out"], + ["lb_p4_clamped_stencil_update_stream$lb_recurse$valcounter_0$count$enMux.in1","lb_p4_clamped_stencil_update_stream$lb_recurse$valcounter_0$count$clrMux.out"], + ["lb_p4_clamped_stencil_update_stream$lb_recurse$valcounter_0$resetOr.out","lb_p4_clamped_stencil_update_stream$lb_recurse$valcounter_0$count$clrMux.sel"], + ["lb_p4_clamped_stencil_update_stream$lb_recurse$valcounter_0$count$reg0.out","lb_p4_clamped_stencil_update_stream$lb_recurse$valcounter_0$count$enMux.in0"], + ["lb_p4_clamped_stencil_update_stream$lb_recurse$valcounter_0$count$reg0.in","lb_p4_clamped_stencil_update_stream$lb_recurse$valcounter_0$count$enMux.out"], + ["lb_p4_clamped_stencil_update_stream_wen.out","lb_p4_clamped_stencil_update_stream$lb_recurse$valcounter_0$count$enMux.sel"], + ["self.clk","lb_p4_clamped_stencil_update_stream$lb_recurse$valcounter_0$count$reg0.clk"], + ["lb_p4_clamped_stencil_update_stream$lb_recurse$valcounter_0$ult.in0","lb_p4_clamped_stencil_update_stream$lb_recurse$valcounter_0$max.out"], + ["lb_p4_clamped_stencil_update_stream$lb_recurse$valcounter_0$ult.out","lb_p4_clamped_stencil_update_stream$lb_recurse$valcounter_0$resetOr.in0"], + ["self.reset","lb_p4_clamped_stencil_update_stream$lb_recurse$valcounter_0$resetOr.in1"], + ["lb_p4_clamped_stencil_update_stream_wen.out","lb_p4_clamped_stencil_update_stream$lb_recurse$valid_andr$_join.in0"], + ["self.valid","lb_p4_clamped_stencil_update_stream$lb_recurse$valid_andr$_join.out"], ["self.in_arg_1_0_0","mul_331_332_333.in0"] ] } } } } -} \ No newline at end of file +} diff --git a/apps/coreir_examples/conv_1_2_valid/design_top_golden.json b/apps/coreir_examples/conv_1_2_valid/design_top_golden.json index 1a2c84f22..8250d55c8 100644 --- a/apps/coreir_examples/conv_1_2_valid/design_top_golden.json +++ b/apps/coreir_examples/conv_1_2_valid/design_top_golden.json @@ -5,6 +5,7 @@ "DesignTop":{ "type":["Record",[ ["in",["Record",[["arg_1",["Array",1,["Array",1,["Array",16,"BitIn"]]]]]]], + ["reset","BitIn"], ["out",["Array",1,["Array",1,["Array",16,"Bit"]]]], ["valid","Bit"] ]], @@ -34,7 +35,7 @@ }, "lb_p4_clamped_stencil_update_stream":{ "genref":"commonlib.linebuffer", - "genargs":{"has_valid":["Bool",true], "image_type":["CoreIRType",["Array",10,["Array",10,["Array",16,"Bit"]]]], "input_type":["CoreIRType",["Array",1,["Array",1,["Array",16,"BitIn"]]]], "is_last_lb":["Bool",true], "output_type":["CoreIRType",["Array",1,["Array",2,["Array",16,"Bit"]]]]} + "genargs":{"has_valid":["Bool",true], "image_type":["CoreIRType",["Array",10,["Array",10,["Array",16,"Bit"]]]], "input_type":["CoreIRType",["Array",1,["Array",1,["Array",16,"BitIn"]]]], "output_type":["CoreIRType",["Array",1,["Array",2,["Array",16,"Bit"]]]]} }, "lb_p4_clamped_stencil_update_stream_wen":{ "modref":"corebit.const", @@ -60,6 +61,7 @@ ["self.in.arg_1","lb_p4_clamped_stencil_update_stream.in"], ["mul_325_326_327.in0","lb_p4_clamped_stencil_update_stream.out.0.0"], ["mul_331_332_333.in0","lb_p4_clamped_stencil_update_stream.out.0.1"], + ["self.reset","lb_p4_clamped_stencil_update_stream.reset"], ["self.valid","lb_p4_clamped_stencil_update_stream.valid"], ["lb_p4_clamped_stencil_update_stream_wen.out","lb_p4_clamped_stencil_update_stream.wen"] ] @@ -67,4 +69,4 @@ } } } -} \ No newline at end of file +} diff --git a/apps/coreir_examples/conv_1_2_valid/passed.md5 b/apps/coreir_examples/conv_1_2_valid/passed.md5 index 016c21bd1..d94a95586 100644 --- a/apps/coreir_examples/conv_1_2_valid/passed.md5 +++ b/apps/coreir_examples/conv_1_2_valid/passed.md5 @@ -1,2 +1,2 @@ -cb13ed238894322a924047827e064226 run -d79af225fe73648de388fa62b15530ae design_top.json +964aa57722cfd350279c5463ca16ccf4 run +c12950d21829e244effddce43e05cc17 design_top.json diff --git a/apps/coreir_examples/conv_2_1/design_top_golden.json b/apps/coreir_examples/conv_2_1/design_top_golden.json index 2df278a14..4280358ff 100644 --- a/apps/coreir_examples/conv_2_1/design_top_golden.json +++ b/apps/coreir_examples/conv_2_1/design_top_golden.json @@ -33,7 +33,11 @@ }, "lb_p4_clamped_stencil_update_stream":{ "genref":"commonlib.linebuffer", - "genargs":{"has_valid":["Bool",false], "image_type":["CoreIRType",["Array",10,["Array",10,["Array",16,"Bit"]]]], "input_type":["CoreIRType",["Array",1,["Array",1,["Array",16,"BitIn"]]]], "is_last_lb":["Bool",true], "output_type":["CoreIRType",["Array",2,["Array",1,["Array",16,"Bit"]]]]} + "genargs":{"has_valid":["Bool",false], "image_type":["CoreIRType",["Array",10,["Array",10,["Array",16,"Bit"]]]], "input_type":["CoreIRType",["Array",1,["Array",1,["Array",16,"BitIn"]]]], "output_type":["CoreIRType",["Array",2,["Array",1,["Array",16,"Bit"]]]]} + }, + "lb_p4_clamped_stencil_update_stream_reset":{ + "modref":"corebit.const", + "modargs":{"value":["Bool",false]} }, "lb_p4_clamped_stencil_update_stream_wen":{ "modref":"corebit.const", @@ -59,10 +63,11 @@ ["self.in.arg_1","lb_p4_clamped_stencil_update_stream.in"], ["mul_337_338_339.in0","lb_p4_clamped_stencil_update_stream.out.0.0"], ["mul_343_344_345.in0","lb_p4_clamped_stencil_update_stream.out.1.0"], + ["lb_p4_clamped_stencil_update_stream_reset.out","lb_p4_clamped_stencil_update_stream.reset"], ["lb_p4_clamped_stencil_update_stream_wen.out","lb_p4_clamped_stencil_update_stream.wen"] ] } } } } -} \ No newline at end of file +} diff --git a/apps/coreir_examples/conv_2_1/passed.md5 b/apps/coreir_examples/conv_2_1/passed.md5 index 6d4d99a6b..23548e502 100644 --- a/apps/coreir_examples/conv_2_1/passed.md5 +++ b/apps/coreir_examples/conv_2_1/passed.md5 @@ -1,2 +1,2 @@ -e4b56f77a856292da0e084568742c123 run -dae66f25ff384bd062e7627ccc7cda92 design_top.json +346f8d19f57db4748b7446a468b799fd run +f131200998ebbfaa012c0a32581855dc design_top.json diff --git a/apps/coreir_examples/conv_2_1_valid/design_top_golden.json b/apps/coreir_examples/conv_2_1_valid/design_top_golden.json index 73989554a..b28fbf373 100644 --- a/apps/coreir_examples/conv_2_1_valid/design_top_golden.json +++ b/apps/coreir_examples/conv_2_1_valid/design_top_golden.json @@ -5,6 +5,7 @@ "DesignTop":{ "type":["Record",[ ["in",["Record",[["arg_1",["Array",1,["Array",1,["Array",16,"BitIn"]]]]]]], + ["reset","BitIn"], ["out",["Array",1,["Array",1,["Array",16,"Bit"]]]], ["valid","Bit"] ]], @@ -34,7 +35,7 @@ }, "lb_p4_clamped_stencil_update_stream":{ "genref":"commonlib.linebuffer", - "genargs":{"has_valid":["Bool",true], "image_type":["CoreIRType",["Array",10,["Array",10,["Array",16,"Bit"]]]], "input_type":["CoreIRType",["Array",1,["Array",1,["Array",16,"BitIn"]]]], "is_last_lb":["Bool",true], "output_type":["CoreIRType",["Array",2,["Array",1,["Array",16,"Bit"]]]]} + "genargs":{"has_valid":["Bool",true], "image_type":["CoreIRType",["Array",10,["Array",10,["Array",16,"Bit"]]]], "input_type":["CoreIRType",["Array",1,["Array",1,["Array",16,"BitIn"]]]], "output_type":["CoreIRType",["Array",2,["Array",1,["Array",16,"Bit"]]]]} }, "lb_p4_clamped_stencil_update_stream_wen":{ "modref":"corebit.const", @@ -60,6 +61,7 @@ ["self.in.arg_1","lb_p4_clamped_stencil_update_stream.in"], ["mul_337_338_339.in0","lb_p4_clamped_stencil_update_stream.out.0.0"], ["mul_343_344_345.in0","lb_p4_clamped_stencil_update_stream.out.1.0"], + ["self.reset","lb_p4_clamped_stencil_update_stream.reset"], ["self.valid","lb_p4_clamped_stencil_update_stream.valid"], ["lb_p4_clamped_stencil_update_stream_wen.out","lb_p4_clamped_stencil_update_stream.wen"] ] @@ -67,4 +69,4 @@ } } } -} \ No newline at end of file +} diff --git a/apps/coreir_examples/conv_2_1_valid/passed.md5 b/apps/coreir_examples/conv_2_1_valid/passed.md5 index 1681e5ac0..f90d80a59 100644 --- a/apps/coreir_examples/conv_2_1_valid/passed.md5 +++ b/apps/coreir_examples/conv_2_1_valid/passed.md5 @@ -1,2 +1,2 @@ -57444a8c08ffdc97baa12e07ae1ac524 run -e77e67b3d8de4647031b0163404e1a16 design_top.json +a58bd5c895c9c3b7f93a474f7148a307 run +466ad7ca7f7ef955ccc50bd31c86015d design_top.json diff --git a/apps/coreir_examples/conv_3_1/design_top_golden.json b/apps/coreir_examples/conv_3_1/design_top_golden.json index 61bdd559a..8afda81c8 100644 --- a/apps/coreir_examples/conv_3_1/design_top_golden.json +++ b/apps/coreir_examples/conv_3_1/design_top_golden.json @@ -42,7 +42,11 @@ }, "lb_p4_clamped_stencil_update_stream":{ "genref":"commonlib.linebuffer", - "genargs":{"has_valid":["Bool",false], "image_type":["CoreIRType",["Array",10,["Array",10,["Array",16,"Bit"]]]], "input_type":["CoreIRType",["Array",1,["Array",1,["Array",16,"BitIn"]]]], "is_last_lb":["Bool",true], "output_type":["CoreIRType",["Array",3,["Array",1,["Array",16,"Bit"]]]]} + "genargs":{"has_valid":["Bool",false], "image_type":["CoreIRType",["Array",10,["Array",10,["Array",16,"Bit"]]]], "input_type":["CoreIRType",["Array",1,["Array",1,["Array",16,"BitIn"]]]], "output_type":["CoreIRType",["Array",3,["Array",1,["Array",16,"Bit"]]]]} + }, + "lb_p4_clamped_stencil_update_stream_reset":{ + "modref":"corebit.const", + "modargs":{"value":["Bool",false]} }, "lb_p4_clamped_stencil_update_stream_wen":{ "modref":"corebit.const", @@ -76,10 +80,11 @@ ["mul_3423_343.in0","lb_p4_clamped_stencil_update_stream.out.0.0"], ["mul_3475_348.in0","lb_p4_clamped_stencil_update_stream.out.1.0"], ["mul_3527_353.in0","lb_p4_clamped_stencil_update_stream.out.2.0"], + ["lb_p4_clamped_stencil_update_stream_reset.out","lb_p4_clamped_stencil_update_stream.reset"], ["lb_p4_clamped_stencil_update_stream_wen.out","lb_p4_clamped_stencil_update_stream.wen"] ] } } } } -} \ No newline at end of file +} diff --git a/apps/coreir_examples/conv_3_1/passed.md5 b/apps/coreir_examples/conv_3_1/passed.md5 index 10228904a..de0ede5f2 100644 --- a/apps/coreir_examples/conv_3_1/passed.md5 +++ b/apps/coreir_examples/conv_3_1/passed.md5 @@ -1,2 +1,2 @@ -95afc2e8809e05b4c1f1bb0791752d80 run -f9ffde97b93c849ec629410f2be0d787 design_top.json +3511f2758d35d1a0a03d8b702d1f4d1d run +623ec8b934000ec727343ef99d6404eb design_top.json diff --git a/apps/coreir_examples/conv_3_1_valid/design_top_golden.json b/apps/coreir_examples/conv_3_1_valid/design_top_golden.json index 27601686c..f2b43c01c 100644 --- a/apps/coreir_examples/conv_3_1_valid/design_top_golden.json +++ b/apps/coreir_examples/conv_3_1_valid/design_top_golden.json @@ -5,6 +5,7 @@ "DesignTop":{ "type":["Record",[ ["in",["Record",[["arg_1",["Array",1,["Array",1,["Array",16,"BitIn"]]]]]]], + ["reset","BitIn"], ["out",["Array",1,["Array",1,["Array",16,"Bit"]]]], ["valid","Bit"] ]], @@ -43,7 +44,7 @@ }, "lb_p4_clamped_stencil_update_stream":{ "genref":"commonlib.linebuffer", - "genargs":{"has_valid":["Bool",true], "image_type":["CoreIRType",["Array",10,["Array",10,["Array",16,"Bit"]]]], "input_type":["CoreIRType",["Array",1,["Array",1,["Array",16,"BitIn"]]]], "is_last_lb":["Bool",true], "output_type":["CoreIRType",["Array",3,["Array",1,["Array",16,"Bit"]]]]} + "genargs":{"has_valid":["Bool",true], "image_type":["CoreIRType",["Array",10,["Array",10,["Array",16,"Bit"]]]], "input_type":["CoreIRType",["Array",1,["Array",1,["Array",16,"BitIn"]]]], "output_type":["CoreIRType",["Array",3,["Array",1,["Array",16,"Bit"]]]]} }, "lb_p4_clamped_stencil_update_stream_wen":{ "modref":"corebit.const", @@ -77,6 +78,7 @@ ["mul_3423_343.in0","lb_p4_clamped_stencil_update_stream.out.0.0"], ["mul_3475_348.in0","lb_p4_clamped_stencil_update_stream.out.1.0"], ["mul_3527_353.in0","lb_p4_clamped_stencil_update_stream.out.2.0"], + ["self.reset","lb_p4_clamped_stencil_update_stream.reset"], ["self.valid","lb_p4_clamped_stencil_update_stream.valid"], ["lb_p4_clamped_stencil_update_stream_wen.out","lb_p4_clamped_stencil_update_stream.wen"] ] @@ -84,4 +86,4 @@ } } } -} \ No newline at end of file +} diff --git a/apps/coreir_examples/conv_3_1_valid/passed.md5 b/apps/coreir_examples/conv_3_1_valid/passed.md5 index be670a4e1..fcca7a088 100644 --- a/apps/coreir_examples/conv_3_1_valid/passed.md5 +++ b/apps/coreir_examples/conv_3_1_valid/passed.md5 @@ -1,2 +1,2 @@ -7106efa082b11bcca5ce7ac2118052eb run -6695a6469eaeabf5c631569021f0cc43 design_top.json +185846ec6f9b4f8f65655cc3e0412982 run +7f76c644eef82eb066b07a825afa97d7 design_top.json diff --git a/apps/coreir_examples/conv_bw/design_top_golden.json b/apps/coreir_examples/conv_bw/design_top_golden.json index 30c712bc4..6b80d2269 100644 --- a/apps/coreir_examples/conv_bw/design_top_golden.json +++ b/apps/coreir_examples/conv_bw/design_top_golden.json @@ -189,4 +189,4 @@ } } } -} \ No newline at end of file +} diff --git a/apps/coreir_examples/conv_bw/passed.md5 b/apps/coreir_examples/conv_bw/passed.md5 index a7e247178..d75979fbf 100644 --- a/apps/coreir_examples/conv_bw/passed.md5 +++ b/apps/coreir_examples/conv_bw/passed.md5 @@ -1,2 +1,2 @@ -4fc7d02cf86bac073eb44c35b8ea5f68 run -d4853ad6025622b984a47463ff7e72d3 design_top.json +6f8173f8e424a32ba673c80232ecec8a run +c47304b221b123ec2f4ac5cebe358487 design_top.json diff --git a/apps/coreir_examples/conv_bw_valid/design_top_golden.json b/apps/coreir_examples/conv_bw_valid/design_top_golden.json index 543a05579..5ad95530e 100644 --- a/apps/coreir_examples/conv_bw_valid/design_top_golden.json +++ b/apps/coreir_examples/conv_bw_valid/design_top_golden.json @@ -5,6 +5,7 @@ "DesignTop":{ "type":["Record",[ ["in",["Record",[["arg_1",["Array",1,["Array",1,["Array",16,"BitIn"]]]]]]], + ["reset","BitIn"], ["out",["Array",1,["Array",1,["Array",16,"Bit"]]]], ["valid","Bit"] ]], @@ -97,7 +98,7 @@ }, "lb_p4_clamped_stencil_update_stream":{ "genref":"commonlib.linebuffer", - "genargs":{"has_valid":["Bool",true], "image_type":["CoreIRType",["Array",64,["Array",64,["Array",16,"Bit"]]]], "input_type":["CoreIRType",["Array",1,["Array",1,["Array",16,"BitIn"]]]], "is_last_lb":["Bool",true], "output_type":["CoreIRType",["Array",3,["Array",3,["Array",16,"Bit"]]]]} + "genargs":{"has_valid":["Bool",true], "image_type":["CoreIRType",["Array",64,["Array",64,["Array",16,"Bit"]]]], "input_type":["CoreIRType",["Array",1,["Array",1,["Array",16,"BitIn"]]]], "output_type":["CoreIRType",["Array",3,["Array",3,["Array",16,"Bit"]]]]} }, "lb_p4_clamped_stencil_update_stream_wen":{ "modref":"corebit.const", @@ -179,6 +180,7 @@ ["mul_504_505_506.in0","lb_p4_clamped_stencil_update_stream.out.2.0"], ["mul_510_511_512.in0","lb_p4_clamped_stencil_update_stream.out.2.1"], ["mul_516_517_518.in0","lb_p4_clamped_stencil_update_stream.out.2.2"], + ["self.reset","lb_p4_clamped_stencil_update_stream.reset"], ["self.valid","lb_p4_clamped_stencil_update_stream.valid"], ["lb_p4_clamped_stencil_update_stream_wen.out","lb_p4_clamped_stencil_update_stream.wen"] ] @@ -186,4 +188,4 @@ } } } -} \ No newline at end of file +} diff --git a/apps/coreir_examples/conv_bw_valid/passed.md5 b/apps/coreir_examples/conv_bw_valid/passed.md5 index 8885af88c..870c1939b 100644 --- a/apps/coreir_examples/conv_bw_valid/passed.md5 +++ b/apps/coreir_examples/conv_bw_valid/passed.md5 @@ -1,2 +1,2 @@ -77b43420b4695ef977f102bdf21ac4da run -453b6449568d5de816a49ff7e8848d71 design_top.json +7820b077dd3615487b9151c56fdc0c0b run +867fa996a0d278f0308654c3c7607b73 design_top.json diff --git a/apps/coreir_examples/conv_chain/design_top_golden.json b/apps/coreir_examples/conv_chain/design_top_golden.json index a1d9f4da5..40e3a2222 100644 --- a/apps/coreir_examples/conv_chain/design_top_golden.json +++ b/apps/coreir_examples/conv_chain/design_top_golden.json @@ -340,7 +340,11 @@ }, "lb_p4_clamped_stencil_update_stream":{ "genref":"commonlib.linebuffer", - "genargs":{"has_valid":["Bool",false], "image_type":["CoreIRType",["Array",64,["Array",64,["Array",16,"Bit"]]]], "input_type":["CoreIRType",["Array",1,["Array",1,["Array",16,"BitIn"]]]], "is_last_lb":["Bool",true], "output_type":["CoreIRType",["Array",3,["Array",3,["Array",16,"Bit"]]]]} + "genargs":{"has_valid":["Bool",false], "image_type":["CoreIRType",["Array",64,["Array",64,["Array",16,"Bit"]]]], "input_type":["CoreIRType",["Array",1,["Array",1,["Array",16,"BitIn"]]]], "output_type":["CoreIRType",["Array",3,["Array",3,["Array",16,"Bit"]]]]} + }, + "lb_p4_clamped_stencil_update_stream_reset":{ + "modref":"corebit.const", + "modargs":{"value":["Bool",false]} }, "lb_p4_clamped_stencil_update_stream_wen":{ "modref":"corebit.const", @@ -348,7 +352,11 @@ }, "lb_p4_conv_0__stencil_update_stream":{ "genref":"commonlib.linebuffer", - "genargs":{"has_valid":["Bool",false], "image_type":["CoreIRType",["Array",62,["Array",62,["Array",16,"Bit"]]]], "input_type":["CoreIRType",["Array",1,["Array",1,["Array",16,"BitIn"]]]], "is_last_lb":["Bool",true], "output_type":["CoreIRType",["Array",3,["Array",3,["Array",16,"Bit"]]]]} + "genargs":{"has_valid":["Bool",false], "image_type":["CoreIRType",["Array",62,["Array",62,["Array",16,"Bit"]]]], "input_type":["CoreIRType",["Array",1,["Array",1,["Array",16,"BitIn"]]]], "output_type":["CoreIRType",["Array",3,["Array",3,["Array",16,"Bit"]]]]} + }, + "lb_p4_conv_0__stencil_update_stream_reset":{ + "modref":"corebit.const", + "modargs":{"value":["Bool",false]} }, "lb_p4_conv_0__stencil_update_stream_wen":{ "modref":"corebit.const", @@ -356,7 +364,11 @@ }, "lb_p4_conv_1__stencil_update_stream":{ "genref":"commonlib.linebuffer", - "genargs":{"has_valid":["Bool",false], "image_type":["CoreIRType",["Array",60,["Array",60,["Array",16,"Bit"]]]], "input_type":["CoreIRType",["Array",1,["Array",1,["Array",16,"BitIn"]]]], "is_last_lb":["Bool",true], "output_type":["CoreIRType",["Array",3,["Array",3,["Array",16,"Bit"]]]]} + "genargs":{"has_valid":["Bool",false], "image_type":["CoreIRType",["Array",60,["Array",60,["Array",16,"Bit"]]]], "input_type":["CoreIRType",["Array",1,["Array",1,["Array",16,"BitIn"]]]], "output_type":["CoreIRType",["Array",3,["Array",3,["Array",16,"Bit"]]]]} + }, + "lb_p4_conv_1__stencil_update_stream_reset":{ + "modref":"corebit.const", + "modargs":{"value":["Bool",false]} }, "lb_p4_conv_1__stencil_update_stream_wen":{ "modref":"corebit.const", @@ -364,7 +376,11 @@ }, "lb_p4_conv_2__stencil_update_stream":{ "genref":"commonlib.linebuffer", - "genargs":{"has_valid":["Bool",false], "image_type":["CoreIRType",["Array",58,["Array",58,["Array",16,"Bit"]]]], "input_type":["CoreIRType",["Array",1,["Array",1,["Array",16,"BitIn"]]]], "is_last_lb":["Bool",true], "output_type":["CoreIRType",["Array",3,["Array",3,["Array",16,"Bit"]]]]} + "genargs":{"has_valid":["Bool",false], "image_type":["CoreIRType",["Array",58,["Array",58,["Array",16,"Bit"]]]], "input_type":["CoreIRType",["Array",1,["Array",1,["Array",16,"BitIn"]]]], "output_type":["CoreIRType",["Array",3,["Array",3,["Array",16,"Bit"]]]]} + }, + "lb_p4_conv_2__stencil_update_stream_reset":{ + "modref":"corebit.const", + "modargs":{"value":["Bool",false]} }, "lb_p4_conv_2__stencil_update_stream_wen":{ "modref":"corebit.const", @@ -372,7 +388,11 @@ }, "lb_p4_conv_3__stencil_update_stream":{ "genref":"commonlib.linebuffer", - "genargs":{"has_valid":["Bool",false], "image_type":["CoreIRType",["Array",56,["Array",56,["Array",16,"Bit"]]]], "input_type":["CoreIRType",["Array",1,["Array",1,["Array",16,"BitIn"]]]], "is_last_lb":["Bool",true], "output_type":["CoreIRType",["Array",3,["Array",3,["Array",16,"Bit"]]]]} + "genargs":{"has_valid":["Bool",false], "image_type":["CoreIRType",["Array",56,["Array",56,["Array",16,"Bit"]]]], "input_type":["CoreIRType",["Array",1,["Array",1,["Array",16,"BitIn"]]]], "output_type":["CoreIRType",["Array",3,["Array",3,["Array",16,"Bit"]]]]} + }, + "lb_p4_conv_3__stencil_update_stream_reset":{ + "modref":"corebit.const", + "modargs":{"value":["Bool",false]} }, "lb_p4_conv_3__stencil_update_stream_wen":{ "modref":"corebit.const", @@ -606,34 +626,39 @@ ["mul_5954_596.in0","lb_p4_clamped_stencil_update_stream.out.1.1"], ["mul_6002_601.in0","lb_p4_clamped_stencil_update_stream.out.1.2"], ["mul_6092_610.in0","lb_p4_clamped_stencil_update_stream.out.2.1"], + ["lb_p4_clamped_stencil_update_stream_reset.out","lb_p4_clamped_stencil_update_stream.reset"], ["lb_p4_clamped_stencil_update_stream_wen.out","lb_p4_clamped_stencil_update_stream.wen"], ["mul_6202_621.in0","lb_p4_conv_0__stencil_update_stream.out.0.1"], ["mul_6272_628.in0","lb_p4_conv_0__stencil_update_stream.out.1.0"], ["mul_6314_632.in0","lb_p4_conv_0__stencil_update_stream.out.1.1"], ["mul_6352_636.in0","lb_p4_conv_0__stencil_update_stream.out.1.2"], ["mul_6422_643.in0","lb_p4_conv_0__stencil_update_stream.out.2.1"], + ["lb_p4_conv_0__stencil_update_stream_reset.out","lb_p4_conv_0__stencil_update_stream.reset"], ["lb_p4_conv_0__stencil_update_stream_wen.out","lb_p4_conv_0__stencil_update_stream.wen"], ["mul_6522_653.in0","lb_p4_conv_1__stencil_update_stream.out.0.1"], ["mul_6592_660.in0","lb_p4_conv_1__stencil_update_stream.out.1.0"], ["mul_6634_664.in0","lb_p4_conv_1__stencil_update_stream.out.1.1"], ["mul_6672_668.in0","lb_p4_conv_1__stencil_update_stream.out.1.2"], ["mul_6742_675.in0","lb_p4_conv_1__stencil_update_stream.out.2.1"], + ["lb_p4_conv_1__stencil_update_stream_reset.out","lb_p4_conv_1__stencil_update_stream.reset"], ["lb_p4_conv_1__stencil_update_stream_wen.out","lb_p4_conv_1__stencil_update_stream.wen"], ["mul_6842_685.in0","lb_p4_conv_2__stencil_update_stream.out.0.1"], ["mul_6912_692.in0","lb_p4_conv_2__stencil_update_stream.out.1.0"], ["mul_6954_696.in0","lb_p4_conv_2__stencil_update_stream.out.1.1"], ["mul_6992_700.in0","lb_p4_conv_2__stencil_update_stream.out.1.2"], ["mul_7062_707.in0","lb_p4_conv_2__stencil_update_stream.out.2.1"], + ["lb_p4_conv_2__stencil_update_stream_reset.out","lb_p4_conv_2__stencil_update_stream.reset"], ["lb_p4_conv_2__stencil_update_stream_wen.out","lb_p4_conv_2__stencil_update_stream.wen"], ["mul_7162_717.in0","lb_p4_conv_3__stencil_update_stream.out.0.1"], ["mul_7232_724.in0","lb_p4_conv_3__stencil_update_stream.out.1.0"], ["mul_7274_728.in0","lb_p4_conv_3__stencil_update_stream.out.1.1"], ["mul_7312_732.in0","lb_p4_conv_3__stencil_update_stream.out.1.2"], ["mul_7382_739.in0","lb_p4_conv_3__stencil_update_stream.out.2.1"], + ["lb_p4_conv_3__stencil_update_stream_reset.out","lb_p4_conv_3__stencil_update_stream.reset"], ["lb_p4_conv_3__stencil_update_stream_wen.out","lb_p4_conv_3__stencil_update_stream.wen"] ] } } } } -} \ No newline at end of file +} diff --git a/apps/coreir_examples/conv_chain/passed.md5 b/apps/coreir_examples/conv_chain/passed.md5 index 3f97d93ed..0d862b34c 100644 --- a/apps/coreir_examples/conv_chain/passed.md5 +++ b/apps/coreir_examples/conv_chain/passed.md5 @@ -1,2 +1,2 @@ -598cef8edf5e5f7a978dcca62e7e435d run -7149d65c6d69fa113952123cb57a53ff design_top.json +4e32b1de0b275efc3f59df9bf3ae8519 run +ea490591db1ef9a888be7713a88ef649 design_top.json diff --git a/apps/coreir_examples/conv_nest/design_top_golden.json b/apps/coreir_examples/conv_nest/design_top_golden.json index 37c4f5c51..17533748b 100644 --- a/apps/coreir_examples/conv_nest/design_top_golden.json +++ b/apps/coreir_examples/conv_nest/design_top_golden.json @@ -5,6 +5,7 @@ "DesignTop":{ "type":["Record",[ ["in",["Record",[["arg_1",["Array",1,["Array",1,["Array",16,"BitIn"]]]]]]], + ["reset","BitIn"], ["out",["Array",1,["Array",1,["Array",16,"Bit"]]]], ["valid","Bit"] ]], @@ -246,11 +247,11 @@ }, "lb_conv1_2_stencil_update_stream":{ "genref":"commonlib.linebuffer", - "genargs":{"has_valid":["Bool",true], "image_type":["CoreIRType",["Array",62,["Array",62,["Array",16,"Bit"]]]], "input_type":["CoreIRType",["Array",1,["Array",1,["Array",16,"BitIn"]]]], "is_last_lb":["Bool",true], "output_type":["CoreIRType",["Array",4,["Array",4,["Array",16,"Bit"]]]]} + "genargs":{"has_valid":["Bool",true], "image_type":["CoreIRType",["Array",62,["Array",62,["Array",16,"Bit"]]]], "input_type":["CoreIRType",["Array",1,["Array",1,["Array",16,"BitIn"]]]], "output_type":["CoreIRType",["Array",4,["Array",4,["Array",16,"Bit"]]]]} }, "lb_p4_clamped_stencil_update_stream":{ "genref":"commonlib.linebuffer", - "genargs":{"has_valid":["Bool",true], "image_type":["CoreIRType",["Array",64,["Array",64,["Array",16,"Bit"]]]], "input_type":["CoreIRType",["Array",1,["Array",1,["Array",16,"BitIn"]]]], "is_last_lb":["Bool",true], "output_type":["CoreIRType",["Array",3,["Array",3,["Array",16,"Bit"]]]]} + "genargs":{"has_valid":["Bool",true], "image_type":["CoreIRType",["Array",64,["Array",64,["Array",16,"Bit"]]]], "input_type":["CoreIRType",["Array",1,["Array",1,["Array",16,"BitIn"]]]], "output_type":["CoreIRType",["Array",3,["Array",3,["Array",16,"Bit"]]]]} }, "lb_p4_clamped_stencil_update_stream_wen":{ "modref":"corebit.const", @@ -451,6 +452,7 @@ ["mul_666_667_668.in0","lb_conv1_2_stencil_update_stream.out.3.1"], ["mul_671_672_673.in0","lb_conv1_2_stencil_update_stream.out.3.2"], ["mul_676_677_678.in0","lb_conv1_2_stencil_update_stream.out.3.3"], + ["self.reset","lb_conv1_2_stencil_update_stream.reset"], ["self.valid","lb_conv1_2_stencil_update_stream.valid"], ["lb_p4_clamped_stencil_update_stream.valid","lb_conv1_2_stencil_update_stream.wen"], ["self.in.arg_1","lb_p4_clamped_stencil_update_stream.in"], @@ -463,10 +465,11 @@ ["mul_584_585_586.in0","lb_p4_clamped_stencil_update_stream.out.2.0"], ["mul_590_591_592.in0","lb_p4_clamped_stencil_update_stream.out.2.1"], ["mul_596_597_598.in0","lb_p4_clamped_stencil_update_stream.out.2.2"], + ["self.reset","lb_p4_clamped_stencil_update_stream.reset"], ["lb_p4_clamped_stencil_update_stream_wen.out","lb_p4_clamped_stencil_update_stream.wen"] ] } } } } -} \ No newline at end of file +} diff --git a/apps/coreir_examples/conv_nest/passed.md5 b/apps/coreir_examples/conv_nest/passed.md5 index 6cf05a102..4d1f02b8f 100644 --- a/apps/coreir_examples/conv_nest/passed.md5 +++ b/apps/coreir_examples/conv_nest/passed.md5 @@ -1,2 +1,2 @@ -d029ce8a3bc7e2874642e8bef8389810 run -31099b316c82556e82cad2ec2e3cca41 design_top.json +684246eeff612e28a7a4c25bfe5728b0 run +7ce97197b8b66249f12d87cb56016497 design_top.json diff --git a/apps/coreir_examples/demosaic/input.png b/apps/coreir_examples/demosaic/input.png new file mode 100644 index 000000000..e6fe924c7 Binary files /dev/null and b/apps/coreir_examples/demosaic/input.png differ diff --git a/apps/coreir_examples/gaussian/design_top_golden.json b/apps/coreir_examples/gaussian/design_top_golden.json index bd918b892..a20d0d8a4 100644 --- a/apps/coreir_examples/gaussian/design_top_golden.json +++ b/apps/coreir_examples/gaussian/design_top_golden.json @@ -332,10 +332,6 @@ "genref":"coreir.add", "genargs":{"width":["Int",16]} }, - "ashr_1104_1439_1440":{ - "genref":"coreir.ashr", - "genargs":{"width":["Int",16]} - }, "const0__1103":{ "genref":"coreir.const", "genargs":{"width":["Int",16]}, @@ -733,12 +729,20 @@ }, "lb_p3_in_bounded_stencil_update_stream":{ "genref":"commonlib.linebuffer", - "genargs":{"has_valid":["Bool",false], "image_type":["CoreIRType",["Array",648,["Array",488,["Array",16,"Bit"]]]], "input_type":["CoreIRType",["Array",1,["Array",1,["Array",16,"BitIn"]]]], "is_last_lb":["Bool",true], "output_type":["CoreIRType",["Array",9,["Array",9,["Array",16,"Bit"]]]]} + "genargs":{"has_valid":["Bool",false], "image_type":["CoreIRType",["Array",648,["Array",488,["Array",16,"Bit"]]]], "input_type":["CoreIRType",["Array",1,["Array",1,["Array",16,"BitIn"]]]], "output_type":["CoreIRType",["Array",9,["Array",9,["Array",16,"Bit"]]]]} + }, + "lb_p3_in_bounded_stencil_update_stream_reset":{ + "modref":"corebit.const", + "modargs":{"value":["Bool",false]} }, "lb_p3_in_bounded_stencil_update_stream_wen":{ "modref":"corebit.const", "modargs":{"value":["Bool",true]} }, + "lshr_1104_1439_1440":{ + "genref":"coreir.lshr", + "genargs":{"width":["Int",16]} + }, "mul_1109_1110_1111":{ "genref":"coreir.mul", "genargs":{"width":["Int",16]} @@ -1211,9 +1215,7 @@ ["mul_1433_1110_1434.out","add_1104_1434_1435.in1"], ["add_1104_1437_1438.in0","add_1104_1434_1435.out"], ["lb_p3_in_bounded_stencil_update_stream.out.8.8","add_1104_1437_1438.in1"], - ["ashr_1104_1439_1440.in0","add_1104_1437_1438.out"], - ["const16__1439.out","ashr_1104_1439_1440.in1"], - ["self.out.0.0","ashr_1104_1439_1440.out"], + ["lshr_1104_1439_1440.in0","add_1104_1437_1438.out"], ["mul_1207_1198_1208.in1","const1458__1198$1.out"], ["mul_1231_1198_1232.in1","const1458__1198$2.out"], ["mul_1249_1198_1250.in1","const1458__1198$3.out"], @@ -1222,6 +1224,7 @@ ["mul_1346_1198_1347.in1","const1458__1198$6.out"], ["mul_1354_1198_1355.in1","const1458__1198$7.out"], ["mul_1197_1198_1199.in1","const1458__1198.out"], + ["lshr_1104_1439_1440.in1","const16__1439.out"], ["mul_1269_1203_1270.in1","const1809__1203$1.out"], ["mul_1286_1203_1287.in1","const1809__1203$2.out"], ["mul_1350_1203_1351.in1","const1809__1203$3.out"], @@ -1369,10 +1372,12 @@ ["mul_1425_1120_1426.in0","lb_p3_in_bounded_stencil_update_stream.out.8.5"], ["mul_1429_1115_1430.in0","lb_p3_in_bounded_stencil_update_stream.out.8.6"], ["mul_1433_1110_1434.in0","lb_p3_in_bounded_stencil_update_stream.out.8.7"], - ["lb_p3_in_bounded_stencil_update_stream_wen.out","lb_p3_in_bounded_stencil_update_stream.wen"] + ["lb_p3_in_bounded_stencil_update_stream_reset.out","lb_p3_in_bounded_stencil_update_stream.reset"], + ["lb_p3_in_bounded_stencil_update_stream_wen.out","lb_p3_in_bounded_stencil_update_stream.wen"], + ["self.out.0.0","lshr_1104_1439_1440.out"] ] } } } } -} \ No newline at end of file +} diff --git a/apps/coreir_examples/gaussian/passed.md5 b/apps/coreir_examples/gaussian/passed.md5 index 5a4ecadea..6da688ca1 100644 --- a/apps/coreir_examples/gaussian/passed.md5 +++ b/apps/coreir_examples/gaussian/passed.md5 @@ -1,2 +1,2 @@ -43e5b0666e667ec6c5d15a112ca7ea6e run -c0f0ed68f478385f97948491f57618ba design_top.json +fb0e93a35eacdb9873229feb59142376 run +4486b259b330e4336aa64156f7a950e2 design_top.json diff --git a/apps/coreir_examples/harris/design_top_golden.json b/apps/coreir_examples/harris/design_top_golden.json index 26ba38da9..3b900b8ea 100644 --- a/apps/coreir_examples/harris/design_top_golden.json +++ b/apps/coreir_examples/harris/design_top_golden.json @@ -227,7 +227,11 @@ }, "lb_grad_xx_2_stencil_update_stream":{ "genref":"commonlib.linebuffer", - "genargs":{"has_valid":["Bool",false], "image_type":["CoreIRType",["Array",644,["Array",484,["Array",16,"Bit"]]]], "input_type":["CoreIRType",["Array",1,["Array",1,["Array",16,"BitIn"]]]], "is_last_lb":["Bool",true], "output_type":["CoreIRType",["Array",3,["Array",3,["Array",16,"Bit"]]]]} + "genargs":{"has_valid":["Bool",false], "image_type":["CoreIRType",["Array",644,["Array",484,["Array",16,"Bit"]]]], "input_type":["CoreIRType",["Array",1,["Array",1,["Array",16,"BitIn"]]]], "output_type":["CoreIRType",["Array",3,["Array",3,["Array",16,"Bit"]]]]} + }, + "lb_grad_xx_2_stencil_update_stream_reset":{ + "modref":"corebit.const", + "modargs":{"value":["Bool",false]} }, "lb_grad_xx_2_stencil_update_stream_wen":{ "modref":"corebit.const", @@ -235,7 +239,11 @@ }, "lb_grad_xy_2_stencil_update_stream":{ "genref":"commonlib.linebuffer", - "genargs":{"has_valid":["Bool",false], "image_type":["CoreIRType",["Array",644,["Array",484,["Array",16,"Bit"]]]], "input_type":["CoreIRType",["Array",1,["Array",1,["Array",16,"BitIn"]]]], "is_last_lb":["Bool",true], "output_type":["CoreIRType",["Array",3,["Array",3,["Array",16,"Bit"]]]]} + "genargs":{"has_valid":["Bool",false], "image_type":["CoreIRType",["Array",644,["Array",484,["Array",16,"Bit"]]]], "input_type":["CoreIRType",["Array",1,["Array",1,["Array",16,"BitIn"]]]], "output_type":["CoreIRType",["Array",3,["Array",3,["Array",16,"Bit"]]]]} + }, + "lb_grad_xy_2_stencil_update_stream_reset":{ + "modref":"corebit.const", + "modargs":{"value":["Bool",false]} }, "lb_grad_xy_2_stencil_update_stream_wen":{ "modref":"corebit.const", @@ -243,7 +251,11 @@ }, "lb_grad_yy_2_stencil_update_stream":{ "genref":"commonlib.linebuffer", - "genargs":{"has_valid":["Bool",false], "image_type":["CoreIRType",["Array",644,["Array",484,["Array",16,"Bit"]]]], "input_type":["CoreIRType",["Array",1,["Array",1,["Array",16,"BitIn"]]]], "is_last_lb":["Bool",true], "output_type":["CoreIRType",["Array",3,["Array",3,["Array",16,"Bit"]]]]} + "genargs":{"has_valid":["Bool",false], "image_type":["CoreIRType",["Array",644,["Array",484,["Array",16,"Bit"]]]], "input_type":["CoreIRType",["Array",1,["Array",1,["Array",16,"BitIn"]]]], "output_type":["CoreIRType",["Array",3,["Array",3,["Array",16,"Bit"]]]]} + }, + "lb_grad_yy_2_stencil_update_stream_reset":{ + "modref":"corebit.const", + "modargs":{"value":["Bool",false]} }, "lb_grad_yy_2_stencil_update_stream_wen":{ "modref":"corebit.const", @@ -251,7 +263,11 @@ }, "lb_p3_cim_stencil_update_stream":{ "genref":"commonlib.linebuffer", - "genargs":{"has_valid":["Bool",false], "image_type":["CoreIRType",["Array",642,["Array",482,["Array",16,"Bit"]]]], "input_type":["CoreIRType",["Array",1,["Array",1,["Array",16,"BitIn"]]]], "is_last_lb":["Bool",true], "output_type":["CoreIRType",["Array",3,["Array",3,["Array",16,"Bit"]]]]} + "genargs":{"has_valid":["Bool",false], "image_type":["CoreIRType",["Array",642,["Array",482,["Array",16,"Bit"]]]], "input_type":["CoreIRType",["Array",1,["Array",1,["Array",16,"BitIn"]]]], "output_type":["CoreIRType",["Array",3,["Array",3,["Array",16,"Bit"]]]]} + }, + "lb_p3_cim_stencil_update_stream_reset":{ + "modref":"corebit.const", + "modargs":{"value":["Bool",false]} }, "lb_p3_cim_stencil_update_stream_wen":{ "modref":"corebit.const", @@ -259,7 +275,11 @@ }, "lb_padded_2_stencil_update_stream":{ "genref":"commonlib.linebuffer", - "genargs":{"has_valid":["Bool",false], "image_type":["CoreIRType",["Array",646,["Array",486,["Array",16,"Bit"]]]], "input_type":["CoreIRType",["Array",1,["Array",1,["Array",16,"BitIn"]]]], "is_last_lb":["Bool",true], "output_type":["CoreIRType",["Array",3,["Array",3,["Array",16,"Bit"]]]]} + "genargs":{"has_valid":["Bool",false], "image_type":["CoreIRType",["Array",646,["Array",486,["Array",16,"Bit"]]]], "input_type":["CoreIRType",["Array",1,["Array",1,["Array",16,"BitIn"]]]], "output_type":["CoreIRType",["Array",3,["Array",3,["Array",16,"Bit"]]]]} + }, + "lb_padded_2_stencil_update_stream_reset":{ + "modref":"corebit.const", + "modargs":{"value":["Bool",false]} }, "lb_padded_2_stencil_update_stream_wen":{ "modref":"corebit.const", @@ -475,10 +495,13 @@ ["mul_689_685_690.in1","const2__685$1.out"], ["mul_684_685_686.in1","const2__685.out"], ["mul_649_649_650.out","lb_grad_xx_2_stencil_update_stream.in.0.0"], + ["lb_grad_xx_2_stencil_update_stream_reset.out","lb_grad_xx_2_stencil_update_stream.reset"], ["lb_grad_xx_2_stencil_update_stream_wen.out","lb_grad_xx_2_stencil_update_stream.wen"], ["mul_699_701_702.out","lb_grad_xy_2_stencil_update_stream.in.0.0"], + ["lb_grad_xy_2_stencil_update_stream_reset.out","lb_grad_xy_2_stencil_update_stream.reset"], ["lb_grad_xy_2_stencil_update_stream_wen.out","lb_grad_xy_2_stencil_update_stream.wen"], ["mul_731_731_732.out","lb_grad_yy_2_stencil_update_stream.in.0.0"], + ["lb_grad_yy_2_stencil_update_stream_reset.out","lb_grad_yy_2_stencil_update_stream.reset"], ["lb_grad_yy_2_stencil_update_stream_wen.out","lb_grad_yy_2_stencil_update_stream.wen"], ["sub_770_773_774.out","lb_p3_cim_stencil_update_stream.in.0.0"], ["smax_776_777_778.in0","lb_p3_cim_stencil_update_stream.out.0.0"], @@ -491,6 +514,7 @@ ["smax_784_785_786.in1","lb_p3_cim_stencil_update_stream.out.2.0"], ["smax_786_787_788.in1","lb_p3_cim_stencil_update_stream.out.2.1"], ["smax_788_789_790.in1","lb_p3_cim_stencil_update_stream.out.2.2"], + ["lb_p3_cim_stencil_update_stream_reset.out","lb_p3_cim_stencil_update_stream.reset"], ["lb_p3_cim_stencil_update_stream_wen.out","lb_p3_cim_stencil_update_stream.wen"], ["self.in.arg_1","lb_padded_2_stencil_update_stream.in"], ["sub_629_631_632.in1","lb_padded_2_stencil_update_stream.out.0.0"], @@ -503,6 +527,7 @@ ["sub_641_643_644.in1","lb_padded_2_stencil_update_stream.out.2.0"], ["sub_679_681_682.in0","lb_padded_2_stencil_update_stream.out.2.0"], ["mul_684_685_686.in0","lb_padded_2_stencil_update_stream.out.2.1"], + ["lb_padded_2_stencil_update_stream_reset.out","lb_padded_2_stencil_update_stream.reset"], ["lb_padded_2_stencil_update_stream_wen.out","lb_padded_2_stencil_update_stream.wen"], ["sub_632_636_637.in1","mul_634_635_636.out"], ["sub_687_690_691.in1","mul_689_685_690.out"], @@ -526,4 +551,4 @@ } } } -} \ No newline at end of file +} diff --git a/apps/coreir_examples/harris/passed.md5 b/apps/coreir_examples/harris/passed.md5 index 259a1d6c8..a588ab3ff 100644 --- a/apps/coreir_examples/harris/passed.md5 +++ b/apps/coreir_examples/harris/passed.md5 @@ -1,2 +1,2 @@ b4abcf85363cd59ec9e5748fe6120ac3 run -453dbde197e721dad9b796b7ebbacee0 design_top.json +ad00e1891e6e376af8d2d21ae3c89595 design_top.json diff --git a/apps/coreir_examples/harris_valid/design_top_golden.json b/apps/coreir_examples/harris_valid/design_top_golden.json index 2fcf51ee4..dd1e0cd20 100644 --- a/apps/coreir_examples/harris_valid/design_top_golden.json +++ b/apps/coreir_examples/harris_valid/design_top_golden.json @@ -574,4 +574,4 @@ } } } -} \ No newline at end of file +} diff --git a/apps/coreir_examples/harris_valid/passed.md5 b/apps/coreir_examples/harris_valid/passed.md5 index 11d85ea53..692335cd7 100644 --- a/apps/coreir_examples/harris_valid/passed.md5 +++ b/apps/coreir_examples/harris_valid/passed.md5 @@ -1,2 +1,2 @@ -89bd07d313bf9e91b2dc674c44ed7f74 run -aa6e43b690c034b10321b1b2529e03ba design_top.json +5f12e93c12423b9cbcaf5563a82fd67b run +57359f4cd9d9422dba3fa4e442111bf7 design_top.json diff --git a/apps/coreir_examples/onebit_and/design_top_golden.json b/apps/coreir_examples/onebit_and/design_top_golden.json index 46bf27ca4..38c65f074 100644 --- a/apps/coreir_examples/onebit_and/design_top_golden.json +++ b/apps/coreir_examples/onebit_and/design_top_golden.json @@ -27,4 +27,4 @@ } } } -} \ No newline at end of file +} diff --git a/apps/coreir_examples/onebit_and/passed.md5 b/apps/coreir_examples/onebit_and/passed.md5 index bf65367a6..96337c91c 100644 --- a/apps/coreir_examples/onebit_and/passed.md5 +++ b/apps/coreir_examples/onebit_and/passed.md5 @@ -1,2 +1,2 @@ -532a409db6cf60783df565c035e06a34 run -bd87c7c688db961d54beebe16b6843a0 design_top.json +cd0c0e3cd4404a00f415f02178995556 run +209a9b6c96679e641c7ac34ab26faaf1 design_top.json diff --git a/apps/coreir_examples/onebit_bool/design_top_golden.json b/apps/coreir_examples/onebit_bool/design_top_golden.json index 27528431b..e57471a16 100644 --- a/apps/coreir_examples/onebit_bool/design_top_golden.json +++ b/apps/coreir_examples/onebit_bool/design_top_golden.json @@ -91,4 +91,4 @@ } } } -} \ No newline at end of file +} diff --git a/apps/coreir_examples/onebit_bool/passed.md5 b/apps/coreir_examples/onebit_bool/passed.md5 index 3d2885be5..0da543e11 100644 --- a/apps/coreir_examples/onebit_bool/passed.md5 +++ b/apps/coreir_examples/onebit_bool/passed.md5 @@ -1,2 +1,2 @@ -fa149e5ed5af41cb69aa47978a5b5981 run -d8d5576bf741c2a580e8efa64f4ff8f3 design_top.json +57b94998b2d87fe6d0b8caef4c1e1e56 run +5288b16b0eba85d92d04b6b31548ce27 design_top.json diff --git a/apps/coreir_examples/onebit_comp/design_top_golden.json b/apps/coreir_examples/onebit_comp/design_top_golden.json index 62780ea05..90ed28d6c 100644 --- a/apps/coreir_examples/onebit_comp/design_top_golden.json +++ b/apps/coreir_examples/onebit_comp/design_top_golden.json @@ -27,4 +27,4 @@ } } } -} \ No newline at end of file +} diff --git a/apps/coreir_examples/onebit_comp/passed.md5 b/apps/coreir_examples/onebit_comp/passed.md5 index 4dd7885a3..5cc9db257 100644 --- a/apps/coreir_examples/onebit_comp/passed.md5 +++ b/apps/coreir_examples/onebit_comp/passed.md5 @@ -1,2 +1,2 @@ -e5cc6cef43c1f3b80642cbca5406c870 run -a7f0f427acbd2f97307f51a4e113342a design_top.json +0c1e17c3efb9e7025d2550f6e975f9d4 run +3626a92fbdc62c4e4f281f3f339be250 design_top.json diff --git a/apps/coreir_examples/onebit_mux/design_top_golden.json b/apps/coreir_examples/onebit_mux/design_top_golden.json index 6e121b5f6..1abd945a0 100644 --- a/apps/coreir_examples/onebit_mux/design_top_golden.json +++ b/apps/coreir_examples/onebit_mux/design_top_golden.json @@ -44,4 +44,4 @@ } } } -} \ No newline at end of file +} diff --git a/apps/coreir_examples/onebit_mux/passed.md5 b/apps/coreir_examples/onebit_mux/passed.md5 index b21b61360..f9257c950 100644 --- a/apps/coreir_examples/onebit_mux/passed.md5 +++ b/apps/coreir_examples/onebit_mux/passed.md5 @@ -1,2 +1,2 @@ -ffd2497debf49061e3f23b4c9e23c26e run -7f346c6ea70980602f1a0f9fc7bd3bb3 design_top.json +f7b648694bafa6edf08d55b634b442ca run +b861630efb15a883338774e7457cdc50 design_top.json diff --git a/apps/coreir_examples/param/design_top_golden.json b/apps/coreir_examples/param/design_top_golden.json index 9a46bc44c..1115b9b3a 100644 --- a/apps/coreir_examples/param/design_top_golden.json +++ b/apps/coreir_examples/param/design_top_golden.json @@ -4,7 +4,7 @@ "modules":{ "DesignTop":{ "type":["Record",[ - ["in",["Record",[["arg_0",["Array",1,["Array",1,["Array",16,"BitIn"]]]],["arg_2",["Array",16,"BitIn"]]]]], + ["in",["Record",[["arg_0",["Array",1,["Array",1,["Array",16,"BitIn"]]]]]]], ["out",["Array",1,["Array",1,["Array",16,"Bit"]]]] ]], "instances":{ @@ -28,4 +28,4 @@ } } } -} \ No newline at end of file +} diff --git a/apps/coreir_examples/param/passed.md5 b/apps/coreir_examples/param/passed.md5 index 9ca47afff..b76a8c466 100644 --- a/apps/coreir_examples/param/passed.md5 +++ b/apps/coreir_examples/param/passed.md5 @@ -1,2 +1,2 @@ -25f89ec236843c96b190d4d539657aa6 run -bf36d2567eadb2bf3986cb08463fdf56 design_top.json +a983aecb7aa73eeb0d33eda5085c5c60 run +00e693a8cd50c670b01b4d7245edae97 design_top.json diff --git a/apps/coreir_examples/pointwise/design_top_golden.json b/apps/coreir_examples/pointwise/design_top_golden.json index 6f5ac2e3c..93eb4b5a1 100644 --- a/apps/coreir_examples/pointwise/design_top_golden.json +++ b/apps/coreir_examples/pointwise/design_top_golden.json @@ -27,4 +27,4 @@ } } } -} \ No newline at end of file +} diff --git a/apps/coreir_examples/pointwise/passed.md5 b/apps/coreir_examples/pointwise/passed.md5 index d17bf1c3d..319dcaf0c 100644 --- a/apps/coreir_examples/pointwise/passed.md5 +++ b/apps/coreir_examples/pointwise/passed.md5 @@ -1,2 +1,2 @@ -c0612acd2becc47140bd3bcd41c17256 run -fcdef9276f36b0e8d09d350bee8282bd design_top.json +cbef2c2469b9d16d7f946ae7a1e1602a run +0b27ad728959ebe2e43d398929c3497d design_top.json diff --git a/apps/coreir_examples/threshold_conv/design_top_golden.json b/apps/coreir_examples/threshold_conv/design_top_golden.json index 4a702257e..3a9e21a81 100644 --- a/apps/coreir_examples/threshold_conv/design_top_golden.json +++ b/apps/coreir_examples/threshold_conv/design_top_golden.json @@ -484,4 +484,4 @@ } } } -} \ No newline at end of file +} diff --git a/apps/coreir_examples/threshold_conv/passed.md5 b/apps/coreir_examples/threshold_conv/passed.md5 new file mode 100644 index 000000000..981cd3fea --- /dev/null +++ b/apps/coreir_examples/threshold_conv/passed.md5 @@ -0,0 +1,2 @@ +bd5457e0347425b03c0673a57f5f6a93 run +d1afe6f1798f71f26c2c3cc679d1fe7b design_top.json diff --git a/apps/coreir_tests/abs/passed.md5 b/apps/coreir_tests/abs/passed.md5 deleted file mode 100644 index e4fc66c1b..000000000 --- a/apps/coreir_tests/abs/passed.md5 +++ /dev/null @@ -1,2 +0,0 @@ -0f256bcf2e0d674601a521ece2f647f5 run -4144b0ed1de1d6414bb92da5ea4a5f86 design_top.json diff --git a/apps/coreir_tests/arith/passed.md5 b/apps/coreir_tests/arith/passed.md5 deleted file mode 100644 index 21c91a40c..000000000 --- a/apps/coreir_tests/arith/passed.md5 +++ /dev/null @@ -1,2 +0,0 @@ -c344ea3897daedc5990e84cbeaf88de4 run -6452404d1b6828746bd35c321e3bb9ae design_top.json diff --git a/apps/coreir_tests/bitwise/passed.md5 b/apps/coreir_tests/bitwise/passed.md5 deleted file mode 100644 index 38468d4ba..000000000 --- a/apps/coreir_tests/bitwise/passed.md5 +++ /dev/null @@ -1,2 +0,0 @@ -a6324b4ee6a247d06a3e539a9a1257c1 run -c136af9e37b6c231cd743baf6c4c9955 design_top.json diff --git a/apps/coreir_tests/bool/passed.md5 b/apps/coreir_tests/bool/passed.md5 deleted file mode 100644 index e1c351f12..000000000 --- a/apps/coreir_tests/bool/passed.md5 +++ /dev/null @@ -1,2 +0,0 @@ -25c22a44e9697d1a807a79f598bfa5f3 run -33c2daf836fa5d23433ece88d08e1d11 design_top.json diff --git a/apps/coreir_tests/counter/passed.md5 b/apps/coreir_tests/counter/passed.md5 deleted file mode 100644 index dcdc497ea..000000000 --- a/apps/coreir_tests/counter/passed.md5 +++ /dev/null @@ -1,2 +0,0 @@ -4f7e362165f593000b47e183fb59af76 run -33d5f72a57959c4932a02ab0c83931cc design_top.json diff --git a/apps/coreir_tests/eq/passed.md5 b/apps/coreir_tests/eq/passed.md5 deleted file mode 100644 index e58b805b8..000000000 --- a/apps/coreir_tests/eq/passed.md5 +++ /dev/null @@ -1,2 +0,0 @@ -6a5b0f9966faf80d089d2728aa49e065 run -b61a53daa5bf28afcf498d77ee9145e8 design_top.json diff --git a/apps/coreir_tests/scomp/passed.md5 b/apps/coreir_tests/scomp/passed.md5 deleted file mode 100644 index 1c501a881..000000000 --- a/apps/coreir_tests/scomp/passed.md5 +++ /dev/null @@ -1,2 +0,0 @@ -b0e29c58a28aedd7f309c2e0b7665b10 run -e2554de08e1c370ba99cfc67988ae9d5 design_top.json diff --git a/apps/coreir_tests/sminmax/passed.md5 b/apps/coreir_tests/sminmax/passed.md5 deleted file mode 100644 index 6687f2d7d..000000000 --- a/apps/coreir_tests/sminmax/passed.md5 +++ /dev/null @@ -1,2 +0,0 @@ -9deaea5d19c8c80354cef37c720cfd07 run -f702e6789edd67fbb281dea40be1f704 design_top.json diff --git a/apps/coreir_tests/sshift/passed.md5 b/apps/coreir_tests/sshift/passed.md5 deleted file mode 100644 index cd8b9524b..000000000 --- a/apps/coreir_tests/sshift/passed.md5 +++ /dev/null @@ -1,2 +0,0 @@ -6b4102e84f3ad1e477a90a1e86892427 run -eda71fa0deb95598259eb1373ec549f8 design_top.json diff --git a/apps/coreir_tests/ternary/passed.md5 b/apps/coreir_tests/ternary/passed.md5 deleted file mode 100644 index d273d54cb..000000000 --- a/apps/coreir_tests/ternary/passed.md5 +++ /dev/null @@ -1,2 +0,0 @@ -02a73fa303f6fc1f3ee0e6ee769b3f48 run -19a7f775502992a26a304ebb81a65741 design_top.json diff --git a/apps/coreir_tests/ucomp/passed.md5 b/apps/coreir_tests/ucomp/passed.md5 deleted file mode 100644 index c00ae65a7..000000000 --- a/apps/coreir_tests/ucomp/passed.md5 +++ /dev/null @@ -1,2 +0,0 @@ -1e8d284c6911c9d1b3f235cf08ea53d8 run -ac4470860938555256f33ac2623c4ac3 design_top.json diff --git a/apps/coreir_tests/uminmax/passed.md5 b/apps/coreir_tests/uminmax/passed.md5 deleted file mode 100644 index dd2892bb2..000000000 --- a/apps/coreir_tests/uminmax/passed.md5 +++ /dev/null @@ -1,2 +0,0 @@ -203ab0f3125f4eb6a4465c0c19ac70ef run -6f5e32f43a550e55aac492648492c0b0 design_top.json diff --git a/apps/coreir_tests/ushift/passed.md5 b/apps/coreir_tests/ushift/passed.md5 deleted file mode 100644 index 93c9fc757..000000000 --- a/apps/coreir_tests/ushift/passed.md5 +++ /dev/null @@ -1,2 +0,0 @@ -6bd8afc3aea334db3a2128a4d73ecee4 run -0e59ae19a0c3059c70ecd9bacf86655f design_top.json diff --git a/lib/libHalide.a b/lib/libHalide.a index ca23f194e..eadc9ce41 100644 Binary files a/lib/libHalide.a and b/lib/libHalide.a differ