private LogicModelModifiable logicModel;
private ModelComponent am2900;
private Timeline timeline;
+ private CoreModelParameters params;
private AssignableMainMemory mainMemory;
private AssignableMicroInstructionMemory instMemory;
private AssignableMPROM mprom;
paramsBuilder.gateProcessTime = 50;
paramsBuilder.hardcodedComponentProcessTime = paramsBuilder.gateProcessTime * 5;
paramsBuilder.wireTravelTime = 10;
- CoreModelParameters params = paramsBuilder.build();
+ params = paramsBuilder.build();
mainMemory = new AssignableMainMemory(new StandardMainMemory(am2900MachineDefinition.getMainMemoryDefinition()));
instMemory = new AssignableMicroInstructionMemory(
return timeline;
}
+ @Override
+ public CoreModelParameters getCoreModelParameters()
+ {
+ return params;
+ }
+
@Override
public CoreClock getClock()
{
import net.mograsim.logic.core.timeline.Timeline;
import net.mograsim.logic.core.types.BitVector;
import net.mograsim.logic.model.model.LogicModel;
+import net.mograsim.logic.model.modeladapter.CoreModelParameters;
import net.mograsim.machine.mi.AssignableMPROM;
import net.mograsim.machine.mi.AssignableMicroInstructionMemory;
import net.mograsim.machine.registers.Register;
Timeline getTimeline();
+ public CoreModelParameters getCoreModelParameters();
+
AssignableMainMemory getMainMemory();
AssignableMicroInstructionMemory getMicroInstructionMemory();