X-Git-Url: https://mograsim.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=plugins%2Fnet.mograsim.logic.model.am2900%2Fsrc%2Fnet%2Fmograsim%2Flogic%2Fmodel%2Fexamples%2FCountGatesPerComponent.java;h=679f9d9a707d0136f7c741ccd6a5c22b75ee4df2;hb=5995c2c9f891ae852a40b4c4736b090d514e7c0a;hp=cac3aa7eb7c5075b4032cd5577925d1ca318336d;hpb=85135c0930920ee46588238f55105521a5edaff5;p=Mograsim.git diff --git a/plugins/net.mograsim.logic.model.am2900/src/net/mograsim/logic/model/examples/CountGatesPerComponent.java b/plugins/net.mograsim.logic.model.am2900/src/net/mograsim/logic/model/examples/CountGatesPerComponent.java index cac3aa7e..679f9d9a 100755 --- a/plugins/net.mograsim.logic.model.am2900/src/net/mograsim/logic/model/examples/CountGatesPerComponent.java +++ b/plugins/net.mograsim.logic.model.am2900/src/net/mograsim/logic/model/examples/CountGatesPerComponent.java @@ -29,7 +29,7 @@ public class CountGatesPerComponent IndirectModelComponentCreator.createComponent(model, componentID); LogicCoreAdapter.gateCountsPerComponentClass.clear(); - LogicCoreAdapter.convert(model, new CoreModelParameters()); + LogicCoreAdapter.convert(model, CoreModelParameters.builder().build()); System.out.println(componentID + ':'); for (Entry, Integer> e : LogicCoreAdapter.gateCountsPerComponentClass.entrySet())