ext: dsent: adds a Python interface, drops C++ one
authorNilay Vaish <nilay@cs.wisc.edu>
Sat, 11 Oct 2014 21:16:00 +0000 (16:16 -0500)
committerNilay Vaish <nilay@cs.wisc.edu>
Sat, 11 Oct 2014 21:16:00 +0000 (16:16 -0500)
commitc1aecc05e6cad977423a15905f6bd4f5f33b53c8
treeb013259fe0a6ec5e4fca8c47f757b50e92871f4d
parente8ed7b1d1b5bef31e9874f679a5797c2e00d06f1
ext: dsent: adds a Python interface, drops C++ one
This patch extensively modifies DSENT so that it can be accessed using Python.
To access the Python interface, DSENT needs to compiled as a shared library.
For this purpose a CMakeLists.txt file has been added.  Some of the code that
is not required is being removed.
178 files changed:
ext/dsent/CMakeLists.txt [new file with mode: 0644]
ext/dsent/DSENT.cc
ext/dsent/DSENT.h
ext/dsent/Makefile [deleted file]
ext/dsent/configs/electrical-link.cfg
ext/dsent/configs/router.cfg
ext/dsent/interface.cc [new file with mode: 0644]
ext/dsent/libutil/Assert.h
ext/dsent/libutil/Calculator.cc
ext/dsent/libutil/Calculator.h
ext/dsent/libutil/Config.cc
ext/dsent/libutil/Config.h
ext/dsent/libutil/Exception.cc
ext/dsent/libutil/Exception.h
ext/dsent/libutil/LibUtil.h
ext/dsent/libutil/Log.cc
ext/dsent/libutil/Log.h
ext/dsent/libutil/Makefile [deleted file]
ext/dsent/libutil/Map.h
ext/dsent/libutil/MathUtil.cc
ext/dsent/libutil/MathUtil.h
ext/dsent/libutil/OptionParser.cc [deleted file]
ext/dsent/libutil/OptionParser.h [deleted file]
ext/dsent/libutil/String.cc
ext/dsent/libutil/String.h
ext/dsent/main.cc [deleted file]
ext/dsent/model/ElectricalModel.cc
ext/dsent/model/ElectricalModel.h
ext/dsent/model/EventInfo.cc
ext/dsent/model/EventInfo.h
ext/dsent/model/Model.cc
ext/dsent/model/Model.h
ext/dsent/model/ModelGen.cc
ext/dsent/model/ModelGen.h
ext/dsent/model/OpticalModel.cc
ext/dsent/model/OpticalModel.h
ext/dsent/model/PortInfo.cc
ext/dsent/model/PortInfo.h
ext/dsent/model/TransitionInfo.cc
ext/dsent/model/TransitionInfo.h
ext/dsent/model/electrical/BarrelShifter.cc
ext/dsent/model/electrical/BarrelShifter.h
ext/dsent/model/electrical/BroadcastHTree.cc
ext/dsent/model/electrical/BroadcastHTree.h
ext/dsent/model/electrical/DFFRAM.cc
ext/dsent/model/electrical/DFFRAM.h
ext/dsent/model/electrical/Decoder.cc
ext/dsent/model/electrical/Decoder.h
ext/dsent/model/electrical/DemuxTreeDeserializer.cc
ext/dsent/model/electrical/DemuxTreeDeserializer.h
ext/dsent/model/electrical/MatrixArbiter.cc
ext/dsent/model/electrical/MatrixArbiter.h
ext/dsent/model/electrical/Multiplexer.cc
ext/dsent/model/electrical/Multiplexer.h
ext/dsent/model/electrical/MultiplexerCrossbar.cc
ext/dsent/model/electrical/MultiplexerCrossbar.h
ext/dsent/model/electrical/MuxTreeSerializer.cc
ext/dsent/model/electrical/MuxTreeSerializer.h
ext/dsent/model/electrical/OR.cc
ext/dsent/model/electrical/OR.h
ext/dsent/model/electrical/RepeatedLink.cc
ext/dsent/model/electrical/RepeatedLink.h
ext/dsent/model/electrical/RippleAdder.cc
ext/dsent/model/electrical/RippleAdder.h
ext/dsent/model/electrical/SeparableAllocator.cc
ext/dsent/model/electrical/SeparableAllocator.h
ext/dsent/model/electrical/TestModel.cc
ext/dsent/model/electrical/TestModel.h
ext/dsent/model/electrical/router/Router.cc
ext/dsent/model/electrical/router/Router.h
ext/dsent/model/electrical/router/RouterInputPort.cc
ext/dsent/model/electrical/router/RouterInputPort.h
ext/dsent/model/electrical/router/RouterSwitchAllocator.cc
ext/dsent/model/electrical/router/RouterSwitchAllocator.h
ext/dsent/model/network/ElectricalClos.cc
ext/dsent/model/network/ElectricalClos.h
ext/dsent/model/network/ElectricalMesh.cc
ext/dsent/model/network/ElectricalMesh.h
ext/dsent/model/network/PhotonicClos.cc
ext/dsent/model/network/PhotonicClos.h
ext/dsent/model/optical/GatedLaserSource.cc
ext/dsent/model/optical/GatedLaserSource.h
ext/dsent/model/optical/LaserSource.cc
ext/dsent/model/optical/LaserSource.h
ext/dsent/model/optical/OpticalLinkBackendRx.cc
ext/dsent/model/optical/OpticalLinkBackendRx.h
ext/dsent/model/optical/OpticalLinkBackendTx.cc
ext/dsent/model/optical/OpticalLinkBackendTx.h
ext/dsent/model/optical/OpticalTestModel.cc
ext/dsent/model/optical/OpticalTestModel.h
ext/dsent/model/optical/RingDetector.cc
ext/dsent/model/optical/RingDetector.h
ext/dsent/model/optical/RingFilter.cc
ext/dsent/model/optical/RingFilter.h
ext/dsent/model/optical/RingModulator.cc
ext/dsent/model/optical/RingModulator.h
ext/dsent/model/optical/SWMRLink.cc
ext/dsent/model/optical/SWMRLink.h
ext/dsent/model/optical/SWSRLink.cc
ext/dsent/model/optical/SWSRLink.h
ext/dsent/model/optical/ThrottledLaserSource.cc
ext/dsent/model/optical/ThrottledLaserSource.h
ext/dsent/model/optical_graph/OpticalDetector.cc
ext/dsent/model/optical_graph/OpticalDetector.h
ext/dsent/model/optical_graph/OpticalFilter.cc
ext/dsent/model/optical_graph/OpticalFilter.h
ext/dsent/model/optical_graph/OpticalGraph.cc
ext/dsent/model/optical_graph/OpticalGraph.h
ext/dsent/model/optical_graph/OpticalLaser.cc
ext/dsent/model/optical_graph/OpticalLaser.h
ext/dsent/model/optical_graph/OpticalModulator.cc
ext/dsent/model/optical_graph/OpticalModulator.h
ext/dsent/model/optical_graph/OpticalNode.cc
ext/dsent/model/optical_graph/OpticalNode.h
ext/dsent/model/optical_graph/OpticalReceiver.h
ext/dsent/model/optical_graph/OpticalTransmitter.h
ext/dsent/model/optical_graph/OpticalWaveguide.cc
ext/dsent/model/optical_graph/OpticalWaveguide.h
ext/dsent/model/optical_graph/OpticalWavelength.cc
ext/dsent/model/optical_graph/OpticalWavelength.h
ext/dsent/model/std_cells/ADDF.cc
ext/dsent/model/std_cells/ADDF.h
ext/dsent/model/std_cells/AND2.cc
ext/dsent/model/std_cells/AND2.h
ext/dsent/model/std_cells/BUF.cc
ext/dsent/model/std_cells/BUF.h
ext/dsent/model/std_cells/CellMacros.cc
ext/dsent/model/std_cells/CellMacros.h
ext/dsent/model/std_cells/DFFQ.cc
ext/dsent/model/std_cells/DFFQ.h
ext/dsent/model/std_cells/INV.cc
ext/dsent/model/std_cells/INV.h
ext/dsent/model/std_cells/LATQ.cc
ext/dsent/model/std_cells/LATQ.h
ext/dsent/model/std_cells/MUX2.cc
ext/dsent/model/std_cells/MUX2.h
ext/dsent/model/std_cells/NAND2.cc
ext/dsent/model/std_cells/NAND2.h
ext/dsent/model/std_cells/NOR2.cc
ext/dsent/model/std_cells/NOR2.h
ext/dsent/model/std_cells/OR2.cc
ext/dsent/model/std_cells/OR2.h
ext/dsent/model/std_cells/StdCell.cc
ext/dsent/model/std_cells/StdCell.h
ext/dsent/model/std_cells/StdCellLib.cc
ext/dsent/model/std_cells/StdCellLib.h
ext/dsent/model/std_cells/XOR2.cc
ext/dsent/model/std_cells/XOR2.h
ext/dsent/model/timing_graph/ElectricalDelay.cc
ext/dsent/model/timing_graph/ElectricalDelay.h
ext/dsent/model/timing_graph/ElectricalDriver.cc
ext/dsent/model/timing_graph/ElectricalDriver.h
ext/dsent/model/timing_graph/ElectricalDriverMultiplier.cc
ext/dsent/model/timing_graph/ElectricalDriverMultiplier.h
ext/dsent/model/timing_graph/ElectricalLoad.cc
ext/dsent/model/timing_graph/ElectricalLoad.h
ext/dsent/model/timing_graph/ElectricalNet.cc
ext/dsent/model/timing_graph/ElectricalNet.h
ext/dsent/model/timing_graph/ElectricalTimingNode.cc
ext/dsent/model/timing_graph/ElectricalTimingNode.h
ext/dsent/model/timing_graph/ElectricalTimingOptimizer.cc
ext/dsent/model/timing_graph/ElectricalTimingOptimizer.h
ext/dsent/model/timing_graph/ElectricalTimingTree.cc
ext/dsent/model/timing_graph/ElectricalTimingTree.h
ext/dsent/tech/TechModel.cc
ext/dsent/tech/TechModel.h
ext/dsent/tech/tech_models/Bulk22LVT.model
ext/dsent/tech/tech_models/Bulk32LVT.model
ext/dsent/tech/tech_models/Bulk45LVT.model
ext/dsent/tech/tech_models/Photonics.model
ext/dsent/tech/tech_models/TG11LVT.model
ext/dsent/util/CommonType.h
ext/dsent/util/Config.cc [deleted file]
ext/dsent/util/Config.h [deleted file]
ext/dsent/util/Constants.cc
ext/dsent/util/Constants.h
ext/dsent/util/Result.cc
ext/dsent/util/Result.h